From c8c344c493f93829d4091f589993825b170187d2 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Fri, 6 May 2011 19:05:54 +0000 Subject: (pci_probe) all "O2 Micro" devices are know managed by yenta_socket --- mdk-stage1/pcmcia/probe.c | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) (limited to 'mdk-stage1/pcmcia') diff --git a/mdk-stage1/pcmcia/probe.c b/mdk-stage1/pcmcia/probe.c index 6e9997dfe..a3b20ab41 100644 --- a/mdk-stage1/pcmcia/probe.c +++ b/mdk-stage1/pcmcia/probe.c @@ -117,15 +117,6 @@ pci_id_t pci_id[] = { { 0x1180, 0x0477, "yenta_socket", "Ricoh RL5C477" }, { 0x1180, 0x0478, "yenta_socket", "Ricoh RL5C478" }, { 0x119b, 0x1221, "pd6729", "Omega Micro 82C092G" }, - { 0x1217, 0x6729, "pd6729", "O2 Micro 6729" }, - { 0x1217, 0x673a, "pd6729", "O2 Micro 6730" }, - { 0x1217, 0x6832, "yenta_socket", "O2 Micro 6832/6833" }, - { 0x1217, 0x6836, "yenta_socket", "O2 Micro 6836/6860" }, - { 0x1217, 0x6872, "yenta_socket", "O2 Micro 6812" }, - { 0x1217, 0x6925, "yenta_socket", "O2 Micro 6922" }, - { 0x1217, 0x6933, "yenta_socket", "O2 Micro 6933" }, - { 0x1217, 0x6972, "yenta_socket", "O2 Micro 6912" }, - { 0x1217, 0x7114, "yenta_socket", "O2 Micro 711M1" }, { 0x1524, 0x1211, "yenta_socket", "ENE 1211" }, { 0x1524, 0x1225, "yenta_socket", "ENE 1225" }, { 0x1524, 0x1410, "yenta_socket", "ENE 1410" }, @@ -154,6 +145,11 @@ static int pci_probe(void) while (fgets(s, 256, f) != NULL) { u_int n = strtoul(s+5, NULL, 16); vendor = (n >> 16); device = (n & 0xffff); + if (vendor == 0x1217) { + driver = "yenta_socket"; + name = "PCMCIA Controller"; + break; + } for (i = 0; i < PCI_COUNT; i++) if ((vendor == pci_id[i].vendor) && (device == pci_id[i].device)) break; -- cgit v1.2.1