Re: Linux 2.6.13-rc2: PCMCIA problem on AMD64

From: Ivan Kokshaysky
Date: Wed Jul 06 2005 - 16:50:41 EST


On Wed, Jul 06, 2005 at 11:28:49AM +0200, Rafael J. Wysocki wrote:
> albercik:~ # cardmgr
> cardmgr[4702]: no sockets found!
...
> PCI: Device 0000:02:01.0 not available because of resource collisions
> PCI: Device 0000:02:01.1 not available because of resource collisions

Thanks for the report.
Does the appended one-liner fix that?

Ivan.

--- 2.6.13-rc2/drivers/pci/setup-bus.c Thu Jul 7 01:30:58 2005
+++ linux/drivers/pci/setup-bus.c Thu Jul 7 01:32:43 2005
@@ -74,6 +74,7 @@ pbus_assign_resources_sorted(struct pci_
idx = res - &list->dev->resource[0];
if (pci_assign_resource(list->dev, idx)) {
res->start = 0;
+ res->end = 0;
res->flags = 0;
}
tmp = list;
-
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/