md: register starcos cards
This commit is contained in:
parent
c3ffdecd0b
commit
d29bdf9da0
|
@ -44,7 +44,7 @@ static struct sc_card_operations starcos_ops;
|
|||
static struct sc_card_operations *iso_ops = NULL;
|
||||
|
||||
static struct sc_card_driver starcos_drv = {
|
||||
"STARCOS SPK 2.3/2.4/3.4",
|
||||
"STARCOS",
|
||||
"starcos",
|
||||
&starcos_ops,
|
||||
NULL, 0, NULL
|
||||
|
@ -113,7 +113,7 @@ static int starcos_init(sc_card_t *card)
|
|||
if (ex_data == NULL)
|
||||
return SC_ERROR_OUT_OF_MEMORY;
|
||||
|
||||
card->name = "STARCOS SPK 2.3";
|
||||
card->name = "STARCOS";
|
||||
card->cla = 0x00;
|
||||
card->drv_data = (void *)ex_data;
|
||||
|
||||
|
@ -129,7 +129,7 @@ static int starcos_init(sc_card_t *card)
|
|||
card->caps = SC_CARD_CAP_RNG;
|
||||
|
||||
if (card->type == SC_CARD_TYPE_STARCOS_V3_4) {
|
||||
card->name = "STARCOS SPK 3.4";
|
||||
card->name = "STARCOS 3.4";
|
||||
card->caps |= SC_CARD_CAP_ISO7816_PIN_INFO;
|
||||
|
||||
flags |= SC_CARD_FLAG_RNG
|
||||
|
|
|
@ -134,7 +134,17 @@ MD_REGISTRATION minidriver_registration[] = {
|
|||
{TEXT("CardOS v5.0"), {0x3b,0xd2,0x18,0x00,0x81,0x31,0xfe,0x58,0xc9,0x01,0x14},
|
||||
11, {0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff}},
|
||||
{TEXT("JPKI"), {0x3b,0xe0,0x00,0xff,0x81,0x31,0xfe,0x45,0x14},
|
||||
9, {0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff}},
|
||||
9, {0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff}},
|
||||
|
||||
/* from card-starcos.c */
|
||||
{TEXT("STARCOS (a)"), {0x3B,0xB7,0x94,0x00,0xc0,0x24,0x31,0xfe,0x65,0x53,0x50,0x4b,0x32,0x33,0x90,0x00,0xb4},
|
||||
17, {0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff}},
|
||||
{TEXT("STARCOS (b)"), {0x3B,0xB7,0x94,0x00,0x81,0x31,0xfe,0x65,0x53,0x50,0x4b,0x32,0x33,0x90,0x00,0xd1},
|
||||
16, {0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff}},
|
||||
{TEXT("STARCOS (c)"), {0x3b,0xb7,0x18,0x00,0xc0,0x3e,0x31,0xfe,0x65,0x53,0x50,0x4b,0x32,0x34,0x90,0x00,0x25},
|
||||
17, {0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff}},
|
||||
{TEXT("STARCOS 3.4"), {0x3b,0xd8,0x18,0xff,0x81,0xb1,0xfe,0x45,0x1f,0x03,0x80,0x64,0x04,0x1a,0xb4,0x03,0x81,0x05,0x61},
|
||||
19, {0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff}},
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue