Redigera

Dela via


Identifiers for IDE Devices

Identifiers for integrated device electronics (IDE) devices resemble SCSI identifiers. The device ID format is as follows:

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

Where:

  • t* is a device-type code of variable length.

  • v(40) is a string that contains 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 the SCSI Port 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. The SCSI Port driver 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 the SCSI Port driver currently returns eighteen. In other respects, the generic names returned by the IDE bus driver are the same as those returned by the SCSI Port driver.

The compatible ID for an IDE tape drive is as follows:

GenSequential

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

GenSFloppy

The following shows the kind of identifiers that can be generated for an IDE hard disk drive:

IDE\DiskMaxtor_91000D8_____________________SASX1B18

IDE\Maxtor_91000D8___________________________SASX1B18

IDE\DiskMaxtor_91000D8________________________

Maxtor_91000D8__________________________SASX1B18

GenDisk