Each call to the I/O manager must provide a device's major and minor numbers as arguments. The major number is the index of the requested driver's entry points in the Device Driver Table, and is used to select a specific device driver. The exact usage of the minor number is driver specific, but is commonly used to distinguish between a number of devices controlled by the same driver.
The data types rtems.device_major_number
and
rtems.device_minor_number
are used to
manipulate device major and minor numbers, respectively.
Copyright © 1988-2004 OAR Corporation