Re: 2.5.20 - Xircom PCI Cardbus doesn't work

Tobias Diedrich (ranma@gmx.at)
Sun, 9 Jun 2002 11:17:11 +0200


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