Re: 2.5.5[01]]: Xircom Cardbus broken (PCI resource collisions)

Valdis.Kletnieks@vt.edu
Thu, 12 Dec 2002 17:47:17 -0500


--==_Exmh_-338121838P
Content-Type: multipart/mixed ;
boundary="==_Exmh_-3381710880"

This is a multipart MIME message.

--==_Exmh_-3381710880
Content-Type: text/plain; charset=us-ascii

> 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

--==_Exmh_-3381710880
Content-Type: text/plain ; name="pcmcia.patch"; charset=us-ascii
Content-Description: pcmcia.patch
Content-Disposition: attachment; filename="pcmcia.patch"

--- 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);
}

--==_Exmh_-3381710880--

--==_Exmh_-338121838P
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Exmh version 2.5 07/13/2001

iD8DBQE9+RH1cC3lWbTT17ARAp8PAKCphoDmrvovTFS6Mir+hzCw/1WP4gCg8+k8
EIRcXln0uIdGmpB82Ao5nfc=
=sdyX
-----END PGP SIGNATURE-----

--==_Exmh_-338121838P--
-
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/