Re: [PATCH] Make hot unplugging of PCI buses work

Alan Cox (alan@lxorguk.ukuu.org.uk)
23 Feb 2003 21:29:49 +0000


On Sun, 2003-02-23 at 19:32, Russell King wrote:
> 1. discovering all devices
> 2. apply any fixups needed
> 3. initialise any resources that need initialising
> 4. once all devices have been initialised, registering each
> device with sysfs and thereby letting the drivers know.

There is an additional catch with the resources to be careful of.
Some environments require we register/unregister additional
IRQ routing tables. Thats a minor problem but does affect things
like IBM thinkpad 600 docking station. Thats a transparent
bridge with devices that appear and vanish stuck behind it.
Similar problems - it needs

pci_attach_behind_bridge()
pci_destroy_behind_bridge()

functionality just like the cardbus toys

-
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/