diff options
author | Trent Piepho <xyzzy@speakeasy.org> | 2009-03-20 16:56:05 -0400 |
---|---|---|
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2009-03-20 17:57:05 -0400 |
commit | 1b69dfc649e6658fc38499cf704750d74cabc73d (patch) | |
tree | 57dd8fff34d6be97a8bb19a733d3dc041ab81d0b /scripts/trace | |
parent | 90bdb3117f4209baa6d712b126f0e7791b24dc3f (diff) |
PCI: pci_scan_slot() returns newly found devices
pci_scan_slot() has been rewritten to be less complex and will now
return the number of *new* devices found.
Existing callers need not worry because they already assume that
they can't call pci_scan_slot() on an already-scanned slot.
Thus, there is no semantic change for existing callers: returning
newly found devices (this patch) is exactly equal to returning all
found devices (before this patch).
This patch adds some more groundwork to allow us to rescan the
PCI bus during runtime to discover newly added devices.
Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
Reviewed-by: Alex Chiang <achiang@hp.com>
Signed-off-by: Alex Chiang <achiang@hp.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'scripts/trace')
0 files changed, 0 insertions, 0 deletions