表示系统中的一个PCI总线。
[b]struct pci_bus {
struct pci_bus *parent; [/b] [i]/* parent bus this bridge is on */[/i]
[b]struct pci_bus *children; [/b] [i]/* chain of P2P bridges on this bus */[/i]
[b]struct pci_bus *next;[/b] [i]/* chain of all PCI buses */[/i]
[b]struct pci_dev *self; [/b] /[i]* bridge device as seen by parent */[/i]
[b]struct pci_dev *devices; [/b] [i]/* devices behind this bridge */[/i]
[b]void *sysdata; [/b] [i] /* hook for sys-specific extension */[/i]
[b]unsigned char number;[/b] [i] /* bus number */[/i]
[b]unsigned char primary; [/b] [i]/* number of primary bridge */[/i]
[b] unsigned char secondary;[/b] [i]/* number of secondary bridge */[/i]
[b]unsigned char subordinate;[/b] [i]/* max number of subordinate buses */[/i]
[b]
};[/b]
[b]struct pci_bus {
struct pci_bus *parent; [/b] [i]/* parent bus this bridge is on */[/i]
[b]struct pci_bus *children; [/b] [i]/* chain of P2P bridges on this bus */[/i]
[b]struct pci_bus *next;[/b] [i]/* chain of all PCI buses */[/i]
[b]struct pci_dev *self; [/b] /[i]* bridge device as seen by parent */[/i]
[b]struct pci_dev *devices; [/b] [i]/* devices behind this bridge */[/i]
[b]void *sysdata; [/b] [i] /* hook for sys-specific extension */[/i]
[b]unsigned char number;[/b] [i] /* bus number */[/i]
[b]unsigned char primary; [/b] [i]/* number of primary bridge */[/i]
[b] unsigned char secondary;[/b] [i]/* number of secondary bridge */[/i]
[b]unsigned char subordinate;[/b] [i]/* max number of subordinate buses */[/i]
[b]
};[/b]