diff options
author | Yinghai Lu <yinghai@kernel.org> | 2012-05-17 21:51:11 -0400 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2012-06-13 17:42:21 -0400 |
commit | 92f02430934ca1c1e991a1ab3541880575042697 (patch) | |
tree | 03cf0dd66d4d9108f7ea54ebaf10eb2810b0c6b0 /include | |
parent | cfaf025112d3856637ff34a767ef785ef5cf2ca9 (diff) |
PCI: add busn_res in struct pci_bus
This adds a busn_res resource in struct pci_bus. This will replace the
secondary/subordinate members and will be used to build a bus number
resource tree to help with bus number allocation.
[bhelgaas: changelog]
CC: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/pci.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/pci.h b/include/linux/pci.h index d8c379dba6ad..ba7c5cd314b7 100644 --- a/include/linux/pci.h +++ b/include/linux/pci.h | |||
@@ -419,6 +419,7 @@ struct pci_bus { | |||
419 | struct list_head slots; /* list of slots on this bus */ | 419 | struct list_head slots; /* list of slots on this bus */ |
420 | struct resource *resource[PCI_BRIDGE_RESOURCE_NUM]; | 420 | struct resource *resource[PCI_BRIDGE_RESOURCE_NUM]; |
421 | struct list_head resources; /* address space routed to this bus */ | 421 | struct list_head resources; /* address space routed to this bus */ |
422 | struct resource busn_res; /* bus numbers routed to this bus */ | ||
422 | 423 | ||
423 | struct pci_ops *ops; /* configuration access functions */ | 424 | struct pci_ops *ops; /* configuration access functions */ |
424 | void *sysdata; /* hook for sys-specific extension */ | 425 | void *sysdata; /* hook for sys-specific extension */ |