patch ./cardmgr/probe.c

Guillaume Cottenceau <[email protected]> 27 Feb 2002 12:41:34 +0100
Newsgroups gmane.linux.pcmcia.devel
Message-ID <[email protected]>
Hi,

While developing the "Cooker", the Mandrake development version
of the Mandrake Linux distribution, one of our user (Keld Jørn
Simonsen, in CC) discovered that we didn't detect his CardBus
controller (while Red Hat 7.2 did).

After a quick look it seems that the PCI id of his cardbus
controller is not part of the PCI list of ./cardmgr/probe.c;
after a quick check, it seems that the probe.c of RH is not
patched regarding this lack so I don't know how they could detect
his CardBus controller but that's another story.

His controller is a 0x1217 0x6933, after a quick look at the
current PCI table it seems that two other PCI entries have very
close descriptions, they are also manufactured by O2 Micro, so as
for me I'm patching for them as well. Here's my patch:

--- probe.c     2001/11/21 14:43:32     1.2
+++ probe.c     2002/02/27 11:38:23
@@ -102,6 +102,9 @@
     { 0x1217, 0x6832, "O2 Micro 6832/6833", "O2Micro OZ6832/OZ6833" },
     { 0x1217, 0x6836, "O2 Micro 6836/6860", "O2Micro OZ6836/OZ6860" },
     { 0x1217, 0x6872, "O2 Micro 6812", "O2Micro OZ6812" },
+    { 0x1217, 0x6925, "O2 Micro 6922", "O2Micro OZ6922 CardBus Controller" },
+    { 0x1217, 0x6933, "O2 Micro 6933", "O2Micro OZ6933 Cardbus Controller" },
+    { 0x1217, 0x6972, "O2 Micro 6912", "O2Micro OZ6912 CardBus Controller" },
     { 0x1179, 0x0603, "Toshiba ToPIC95-A", "Toshiba ToPIC95-A" },
     { 0x1179, 0x060a, "Toshiba ToPIC95-B", "Toshiba ToPIC95-B" },
     { 0x1179, 0x060f, "Toshiba ToPIC97", "Toshiba ToPIC97" },


(please keep me in CC as I'm not subscribed to pcmcia-cs sf ML).


-- 
Guillaume Cottenceau - http://www.frozen-bubble.org/

_______________________________________________
Pcmcia-cs-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pcmcia-cs-devel