Following are the preexisting conditions for using the device configuration library subroutines:
Following are the device configuration library subroutines:
attrval | Verifies that attributes are within range. |
genmajor | Generates the next available major number for a device driver instance. |
genminor | Generates the smallest unused minor number, a requested minor number for a device if it is available, or a set of unused minor numbers. |
genseq | Generates a unique sequence number for creating a device's logical name. |
getattr | Returns attribute objects from either the Predefined Attribute (PdAt) or Customized Attribute (CuAt) object class, or both. |
getminor | Gets from the CuDvDr object class the minor numbers for a given major number. |
loadext | Loads or unloads and binds or unbinds device drivers to or from the kernel. |
putattr | Updates attribute information in the CuAt object class or creates a new object for the attribute information. |
reldevno | Releases the minor number or major number, or both, for a device instance. |
relmajor | Releases the major number associated with a specific device driver instance. |