write a board's NVRAM extension information
int cm_write_devconfig(rm_key_t key, size_t offset, void *buf,
cm_write_devconfig is used to write
NVRAM extension information associated with a selected
The extension information is specific to the bus
type of the board and exactly what information is written is determined
by the bus driver (for example, the EISA bus driver).
Drivers should not use this routine to write standard board parameters
Rather, such parameters should be stored via
cm_write_devconfig is used
by MCA drivers to directly write
the POS registers.
Resource manager key selecting a particular board instance.
Offset from the beginning of the board's device configuration space
to start writing data.
Buffer containing data to be written.
Number of bytes of data to be written.
returns the number of bytes written.
It returns -1 if an error occurs.
The caller must not have
a resource manager transaction pending
when this function is called.
Context and synchronization
5, 5mp, 6, 6mp, 7, 7mp, 7.1, 7.1mp, 8, 8mp
Differences between versions
In DDI versions before version 8
that support this function,
the offset argument is cast
as size_t rather than an off_t.
When porting drivers from earlier DDI versions,
it is not necessary to modify the type
of the offset argument.
``Autoconfiguration'' in HDK Technical Reference
19 June 2005
© 2005 The SCO Group, Inc. All rights reserved.
OpenServer 6 and UnixWare (SVR5) HDK - June 2005