Files
linux/drivers
Paul Mackerras cecf4864cf [PATCH] PCI: Add pci_walk_bus function to PCI core (nonrecursive)
The PCI error recovery infrastructure needs to be able to contact all
the drivers affected by a PCI error event, which may mean traversing
all the devices under a given PCI-PCI bridge.  This patch adds a
function to the PCI core that traverses all the PCI devices on a PCI
bus and under any PCI-PCI bridges on that bus (and so on), calling a
given function for each device.  This provides a way for the error
recovery code to iterate through all devices that are affected by an
error event.

This version is not implemented as a recursive function.  Instead,
when we reach a PCI-PCI bridge, we set the pointers to start doing the
devices on the bus under the bridge, and when we reach the end of a
bus's devices, we use the bus->self pointer to go back up to the next
higher bus and continue doing its devices.

Signed-off-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2005-09-08 15:04:30 -07:00
..
2005-09-07 18:44:33 -07:00
2005-09-08 14:57:23 -07:00
2005-07-30 09:47:53 -05:00
2005-09-07 17:17:33 -07:00
2005-09-07 16:57:20 -07:00
2005-09-06 17:52:54 -05:00
2005-09-07 16:57:17 -07:00
2005-09-08 14:57:23 -07:00
2005-09-08 01:45:47 -04:00
2005-09-06 22:15:20 -04:00
2005-08-30 21:46:19 -07:00
2005-06-21 18:46:32 -07:00
…
2005-08-29 17:02:17 -04:00