Delen via


Id's voor SD-apparaten (Secure Digital)

Wanneer het SD-busstuurprogramma een SD-apparaat detecteert in de hostcontrollersocket, wordt de apparaatconfiguratie van de kaart onderzocht om een apparaat en hardware-id's voor het apparaat en de bijbehorende functies te maken. Voor SD-combinatiekaarten en multifunctionele SDIO-apparaten maakt het busstuurprogramma een PDO en een hardware-id voor elke respectieve functie.

Omdat de interne configuratie van een SD-geheugenapparaat aanzienlijk verschilt van die van een SDIO-apparaat, gebruikt het SD-busstuurprogramma twee verschillende hardware-id-indelingen, een voor SD-geheugenapparaten en een andere voor SDIO-apparaten.

SD-apparaat-id's

De apparaat-id van een SD-geheugenapparaat gebruikt de volgende indeling:

SD\VID_v(2)&OID_o(4)&PID_p(0-5)&REV_n(1).m(1)

Where:

  • v(2) is a two-digit hexadecimal ID assigned by the SD Card Association (SDA) that identifies the card's manufacturer.

  • o(4) is a four-digit hexadecimal ID, also assigned by the SDA, that identifies the card's original equipment manufacturer (OEM) and/or the card contents.

  • p(0-5) is a vendor-supplied ASCII string, of 0 to 5 five characters, that indicates the product name, and n(1).m(1) is a two digit, vendor-supplied, revision number, with a decimal between the two digits (for example, 6.2).

De apparaat-id van een SDIO-apparaat gebruikt de volgende indeling:

SD\VID_v(4)&PID_p(4)

Where:

  • v(4) is a four-digit hexadecimal vendor code assigned by PCMCIA and JEIDA.

  • p(4) is the four-digit hexadecimal product and/or revision number that the vendor assigns to the device.

De SD-buschauffeur extraheert de leverancier en productcodes uit de CISTPL_MANFID tuple in het gebied Card Information Structure (CIS) van het apparaat.

SD-hardware-id's

Voor SD-geheugenapparaten levert het busstuurprogramma twee hardware-id's: een id die identiek is aan de apparaat-id en een andere die hetzelfde is als de apparaat-id, maar zonder de revisiegegevens. De id met revisiegegevens gebruikt de volgende indeling:

SD\VID_v(2)&OID_o(4)&PID_p(0-5)

Waar, net als bij de apparaat-id:

  • v(2) is a two-digit hexadecimal ID assigned by the SD Card Association (SDA) that identifies the card's manufacturer.

  • o(4) is a four-digit hexadecimal ID, also assigned by the SDA, that identifies the card's original equipment manufacturer (OEM) and/or the card contents.

  • p(0-5) is a vendor-supplied ASCII string, of 0 to 5 five characters, that indicates the product name.

Voor SDIO-apparaten levert het SD-busstuurprogramma één hardware-id die identiek is aan de apparaat-id.

SD-compatibele id's

Naast apparaat- en hardware-id's genereert het SD-busstuurprogramma onder bepaalde omstandigheden een compatibele id.

Voor SD-geheugenapparaten genereert het busstuurprogramma altijd de volgende compatibele id:

SD\CLASS_STORAGE

Voor SDIO-apparaten genereert het SD-busstuurprogramma de volgende compatibele id, mits de waarde in het basisregister van de functie (FBR) niet nul is:

SD\CLASS_c(2)

where c(2) is the two-digit hexadecimal device interface code.