对于个人计算机内存卡国际协会(PCMCIA)设备,设备 ID 可以采用多种不同的形式。 对于非多功能设备,设备标识符的格式如下:
PCMCIA\Manufacturer-Product-Crc(4)
Where:
Manufacturer is the name of the manufacturer.
Product is the name of the product.
PCMCIA 枚举器直接从卡上的元组检索这些字符串。 Both Manufacturer and Product are variable-length strings that do not exceed 64 characters. Crc(4) is the 4-digit hexadecimal CRC (cyclic redundancy check) checksum for the card. 长度小于 4 位的数字具有前导零填充。 例如,网络适配器的设备 ID 可能是:
PCMCIA\MEGAHERTZ-CC10BT/2-BF05
对于多功能卡,每个函数都有一个形式的标识符:
PCMCIA\Manufacturer-Product-DEVd(4)-Crc(4)
The child function number (d(4) in this example) is a decimal number without leading zeros.
如果卡片没有制造商的名称,则标识符具有以下三种形式之一:
PCMCIA\UNKNOWN_MANUFACTURER-Crc(4)
PCMCIA\UNKNOWN_MANUFACTURER-DEVd(4)-Crc(4)
PCMCIA\MTD-MemoryType(4)
这三种替代项中的最后一种是用于闪存卡,而卡上没有制造商标识符。 MemoryType(4) is one of two 4-digit hexadecimal numbers: 0000 for SRAM cards and 0002 for ROM cards.
In addition to the various forms of device ID just described, an INF file's Models section can also contain a hardware ID composed by replacing the 4-digit hexadecimal cyclic redundancy check (CRC) with a string that contains the 4-digit hexadecimal manufacturer code, a hyphen, and the 4-digit hexadecimal manufacturer information code (both from on-board tuples). For example:
PCMCIA\MEGAHERTZ-CC10BT/2-0128-0103
PCMCIA-compatible IDs correspond to the generic device IDs mentioned in the Generic Identifiers section. 目前,仅针对下表中所述的三种设备类型生成与 PCMCIA 兼容的 ID。
| PCMCIA-compatible ID | Device type |
|---|---|
PNP0600 |
AT 附件 (ATA) 磁盘驱动程序 |
PNP0D00 |
多功能 3.0 电脑卡 |
*PNPC200 |
调制解调器卡 |