Re: 2.5.20 - Xircom PCI Cardbus doesn't work

Tobias Diedrich
2002-06-09T09:17:22Z

Peter Osterlund wrote:
> Alessandro Suardi <alessandro.suardi@oracle.com> writes:
>
> > In 2.5.19 I got an oops on boot (kindly fixed by Peter's patch),
> > in 2.5.20 no oopsen but eth0 isn't seen anymore by the kernel:
>
> Same problem here. My network card isn't seen either by the kernel in
> 2.5.20. If it's still broken in 2.5.21, maybe I'll try to fix it.

This oneliner fixes it for me, but I don't know if that's the right fix:

--- linux-2.5.20/drivers/pcmcia/cardbus.c Sat May 25 03:55:22 2002
+++ linux-2.5.20/drivers/pcmcia/cardbus.c Sun Jun 9 02:27:35 2002
@@ -284,6 +284,7 @@
dev->dev.parent = bus->dev;
strcpy(dev->dev.name, dev->name);
strcpy(dev->dev.bus_id, dev->slot_name);
+ dev->dev.bus = &pci_bus_type;
device_register(&dev->dev);

/* FIXME: Do we need to enable the expansion ROM? */

--
Tobias PGP: 0x9AC7E0BC