Re: IBM Thinkpad G41 PCMCIA problems [Was: Yenta TI: ... no PCIinterrupts. Fish. Please report.]

From: Steven Rostedt
Date: Sat Feb 19 2005 - 22:40:30 EST


On Sat, 2005-02-19 at 18:10 -0800, Linus Torvalds wrote:

> I _think_ it's the code in arch/i386/pci/fixup.c that does this. See the
>
> static void __devinit pci_fixup_transparent_bridge(struct pci_dev *dev)
>
> thing, and try to disable it. Maybe that rule is wrong, and triggers much
> too often?
>

Linus,

Thank you very much! That was it. The following patch made everything
look good.

--- arch/i386/pci/fixup.c.orig 2005-02-19 22:22:29.622416639 -0500
+++ arch/i386/pci/fixup.c 2005-02-19 22:20:39.562713691 -0500
@@ -208,7 +208,9 @@
static void __devinit pci_fixup_transparent_bridge(struct pci_dev *dev)
{
if ((dev->class >> 8) == PCI_CLASS_BRIDGE_PCI &&
- (dev->device & 0xff00) == 0x2400)
+ (dev->device & 0xff00) == 0x2400 &&
+ /* the 2448 bridge is not transparent */
+ dev->device != 0x2448)
dev->transparent = 1;
}
DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, PCI_ANY_ID, pci_fixup_transparent_bridge);



PCMCIA cards now show up. Although I still have yet to get one of mine
working, but that's because of the card and not the bridge. Now I need
to start downloading drivers for my card. But at least the kernel now
sees them!

Thanks again,

-- Steve


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/