Commit 909bd86e authored by Jeff Garzik's avatar Jeff Garzik Committed by Jeff Garzik

[PATCH] Large PCI bus numbers

ppc64 machines can have PCI bus numbers larger than 8 bits, but it looks
like pci_device_to_OF_node already handles this case, in both 2.4 and
2.5.

We just need the space to store them.
parent 1ee4afce
...@@ -456,10 +456,10 @@ struct pci_bus { ...@@ -456,10 +456,10 @@ struct pci_bus {
void *sysdata; /* hook for sys-specific extension */ void *sysdata; /* hook for sys-specific extension */
struct proc_dir_entry *procdir; /* directory entry in /proc/bus/pci */ struct proc_dir_entry *procdir; /* directory entry in /proc/bus/pci */
unsigned char number; /* bus number */ unsigned int number; /* bus number */
unsigned char primary; /* number of primary bridge */ unsigned int primary; /* number of primary bridge */
unsigned char secondary; /* number of secondary bridge */ unsigned int secondary; /* number of secondary bridge */
unsigned char subordinate; /* max number of subordinate buses */ unsigned int subordinate; /* max number of subordinate buses */
char name[48]; char name[48];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment