[ Next Article | Previous Article | Book Contents | Library Home | Legal | Search ]
Kernel Extensions and Device Support Programming Concepts

List of Device Configuration Subroutines

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.
busresolve Allocates bus resources for Micro channel adapters.
genmajor Generates the next available major number for a device.
genminor Generates the smallest unused minor number or a requested minor number for a device.
genseq Generates a sequence number.
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.

Related Information

List of Device Configuration Commands .

Object Data Manager (ODM) Overview, List of ODM Commands and Subroutines in AIX Version 4.3 General Programming Concepts: Writing and Debugging Programs.

Writing a Device Method .

ODM Device Configuration Object Classes,Writing a Define Method, Writing an Undefine Method, Writing an Unconfigure Method, Writing a Configure Method, Writing a Change Method in AIX Version 4.3 Technical Reference: Kernel and Subsystems Volume 2.

Device Methods for Adapter Cards: Guidelines in AIX Version 4.3 Technical Reference: Kernel and Subsystems Volume 2.

Customized Attribute (CuAt) Object Class, Customized Dependency (CuDep) Object Class, Customized Devices (CuDv) Object Class in AIX Version 4.3 Technical Reference: Kernel and Subsystems Volume 2.

Predefined Attribute (PdAt) Object Class, Predefined Connection (PdCn) Object Class in AIX Version 4.3 Technical Reference: Kernel and Subsystems Volume 2.

Adapter-Specific Considerations For the Predefined Devices (PdDv) Object Class in AIX Version 4.3 Technical Reference: Kernel and Subsystems Volume 2.

Adapter-Specific Considerations For the Predefined Attributes (PdAt) Object Class in AIX Version 4.3 Technical Reference: Kernel and Subsystems Volume 2.

How Device Methods Return Errors in AIX Version 4.3 Technical Reference: Kernel and Subsystems Volume 2.

SCSI Subsystem Overview .

Initial Printer Configuration in AIX Version 4.3 Guide to Printers and Printing


[ Next Article | Previous Article | Book Contents | Library Home | Legal | Search ]