File tree Expand file tree Collapse file tree 2 files changed +12
-12
lines changed
Expand file tree Collapse file tree 2 files changed +12
-12
lines changed Original file line number Diff line number Diff line change 1818
1919#include "pci.h"
2020
21+ /*
22+ * The first PCI_BRIDGE_RESOURCE_NUM PCI bus resources (those that correspond
23+ * to P2P or CardBus bridge windows) go in a table. Additional ones (for
24+ * buses below host bridges or subtractive decode bridges) go in the list.
25+ * Use pci_bus_for_each_resource() to iterate through all the resources.
26+ */
27+
28+ struct pci_bus_resource {
29+ struct list_head list ;
30+ struct resource * res ;
31+ };
32+
2133void pci_add_resource_offset (struct list_head * resources , struct resource * res ,
2234 resource_size_t offset )
2335{
Original file line number Diff line number Diff line change @@ -626,18 +626,6 @@ void pci_set_host_bridge_release(struct pci_host_bridge *bridge,
626626
627627int pcibios_root_bridge_prepare (struct pci_host_bridge * bridge );
628628
629- /*
630- * The first PCI_BRIDGE_RESOURCE_NUM PCI bus resources (those that correspond
631- * to P2P or CardBus bridge windows) go in a table. Additional ones (for
632- * buses below host bridges or subtractive decode bridges) go in the list.
633- * Use pci_bus_for_each_resource() to iterate through all the resources.
634- */
635-
636- struct pci_bus_resource {
637- struct list_head list ;
638- struct resource * res ;
639- };
640-
641629#define PCI_REGION_FLAG_MASK 0x0fU /* These bits of resource flags tell us the PCI region flags */
642630
643631struct pci_bus {
You can’t perform that action at this time.
0 commit comments