Previous Next

Identifiers for IDE Devices

Identifiers for integrated device electronics (IDE) devices are very similar to SCSI identifiers. The device ID format is:

IDE\t*v(40)r(8)

where t* is a device-type code of variable length, v(40) is a string containing the vendor name, an underscore, vendor's product name, and enough underscores to bring the total to 40 characters; r(8) is an 8-character revision number.

There are three hardware IDs, in addition to the device ID:

IDE\v(40)r(8)

IDE\t*v(40)

V(40)r(8)

As in the SCSI case, there is only one compatible ID, a generic type name similar to the standard SCSI type names supplied by ScsiPort driver, but having only eleven entries instead of eighteen. The generic device-type names for IDE devices are as follows:

IDE Type Code Device Type Generic Type Peripheral ID
DIRECT_ACCESS_DEVICE (0) Disk GenDisk DiskPeripheral
SEQUENTIAL_ACCESS_DEVICE (1) Sequential GenSequential TapePeripheral
PRINTER_DEVICE (2) Printer GenPrinter PrinterPeripheral
PROCESSOR_DEVICE (3) Processor GenProcessor OtherPeripheral
WRITE_ONCE_READ_MULTIPLE_DEVICE (4) Worm GenWorm WormPeripheral
READ_ONLY_DIRECT_ACCESS_DEVICE (5) CdRom GenCdRom CdRomPeripheral
SCANNER_DEVICE (6) Scanner GenScanner ScannerPeripheral
OPTICAL_DEVICE (7) Optical GenOptical OpticalDiskPeripheral
MEDIUM_CHANGER (8) Changer GenChanger MediumChangerPeripheral
COMMUNICATION_DEVICE (9) Net GenNet CommunicationsPeripheral
10 Other GenOther OtherPeripheral

For IDE changer devices, the generic type name is GenChanger instead of ScsiChanger and for communication devices the generic type name is GenNet instead of ScsiNet. ScsiPort returns no generic name at all for sequential access and “processor” devices, whereas the IDE bus driver returns GenSequential and GenProcessor. Also, the IDE bus driver returns only ten generic types, whereas ScsiPort currently returns eighteen. In other respects, the generic names returned by the IDE bus driver are the same as those returned by the ScsiPort driver.

The compatible ID for an IDE tape drive is:

GenSequential

In the special case of an LS-120 device, the IDE bus driver returns the following compatible ID:

GenSFloppy

The following illustrates the sort of identifiers that can be generated for an IDE hard drive:

IDE\DiskMaxtor_91000D8_____________________SASX1B18

IDE\Maxtor_91000D8___________________________SASX1B18

IDE\DiskMaxtor_91000D8________________________

Maxtor_91000D8__________________________SASX1B18

GenDisk