lkml.org 
[lkml]   [2002]   [Dec]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
SubjectRe: 2.5.5[01]]: Xircom Cardbus broken (PCI resource collisions)
From
Date
> PCI: Device 02:00.0 not available because of resource collisions
> PCI: Device 02:00.1 not available because of resource collisions

Been there. Done that. Does the attached patch help? It did for me.

/Valdis


--- drivers/pcmcia/cardbus.c.dist 2002-12-03 01:49:29.000000000 -0500
+++ drivers/pcmcia/cardbus.c 2002-12-03 01:50:23.000000000 -0500
@@ -283,8 +283,6 @@
dev->hdr_type = hdr & 0x7f;

pci_setup_device(dev);
- if (pci_enable_device(dev))
- continue;

strcpy(dev->dev.bus_id, dev->slot_name);

@@ -302,6 +300,8 @@
pci_writeb(dev, PCI_INTERRUPT_LINE, irq);
}

+ if (pci_enable_device(dev))
+ continue;
device_register(&dev->dev);
pci_insert_device(dev, bus);
}[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2005-03-22 13:31    [from the cache]
©2003-2011 Jasper Spaans