lkml.org 
[lkml]   [2002]   [Jun]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: 2.5.20 - Xircom PCI Cardbus doesn't work
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/

\
 
 \ /
  Last update: 2005-03-22 13:26    [W:0.317 / U:0.040 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site