3. Device Database
The Device Configuration Assistant uses a device database to provide a mapping between device identifiers (determined from the bus enumerators)
and drivers. The device database also contains information about the Solaris device tree node name and a string describing the device. This database must be updated by the driver writer whenever a new device is supported under the Solaris operating environment. In addition to device support, the device database allows for a class of PCI devices to be mapped to a driver.
Device database entries are contained in the master file in the boot tree. During initialization, the Configuration Assistant reads
in this master file and parses it. A translation routine is provided to map an ID and bus type to a pointer to the internal master file entry structure. Another interface allows the Install-Time Update to add another entry into the table. Two indexes are built to quickly search the table by ID and by realmode driver (BEF name).
Device IDs have been gathered from the Microsoft device ID ftp file and from general experience. Several internal IDs had to be constructed. These were given the SUN prefix, although it is not known whether this EISA name is taken. These master file entries are:
SUN0005 chanmux vid all none "Sub-VGA Display Adapter"
SUN0006 chanmux vid all none "XGA Display Adapter"
SUN0030 asy com all boca.bef "Boca board serial port" $forceload=yes
SUN0010 p9000 vid all none "P9000 VLB VGA graphics adapter"
SUN0001 none oth all none "ISA Plug and play configuration ports"
SUNFFE1 bios oth all none "Used BIOS memory"
SUNFFE2 motherboard oth all none "Motherboard"
SUNFFE3 none oth isa none "Unsupported ISA device"
<<Previous | Contents | Next>>
|