lkml.org 
[lkml]   [2003]   [Feb]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] Make hot unplugging of PCI buses work
From
Date
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/

\
 
 \ /
  Last update: 2005-03-22 13:33    [from the cache]
©2003-2011 Jasper Spaans