summaryrefslogtreecommitdiffstats
path: root/include/linux/pci.h
diff options
context:
space:
mode:
authorKristen Accardi <kristen.c.accardi@intel.com>2006-01-17 16:56:56 -0800
committerGreg Kroah-Hartman <gregkh@suse.de>2006-03-23 14:35:10 -0800
commitb82db5cedf78bfeb4a1c8a28ae284dc671d26eb3 (patch)
treec1a7869c3a0972ee4173df70ba5a5d12a37845d1 /include/linux/pci.h
parentb64c05e7de6071694dd6840eac9724a006ee19f8 (diff)
downloadop-kernel-dev-b82db5cedf78bfeb4a1c8a28ae284dc671d26eb3.zip
op-kernel-dev-b82db5cedf78bfeb4a1c8a28ae284dc671d26eb3.tar.gz
[PATCH] PCI: return max reserved busnr
Change the semantics of this call to return the max reserved bus number instead of just the max assigned bus number. Signed-off-by: Kristen Carlson Accardi <kristen.c.accardi@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include/linux/pci.h')
-rw-r--r--include/linux/pci.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/pci.h b/include/linux/pci.h
index fe1a2b0..2039da1 100644
--- a/include/linux/pci.h
+++ b/include/linux/pci.h
@@ -516,6 +516,7 @@ int pci_scan_bridge(struct pci_bus *bus, struct pci_dev * dev, int max, int pass
void pci_walk_bus(struct pci_bus *top, void (*cb)(struct pci_dev *, void *),
void *userdata);
int pci_cfg_space_size(struct pci_dev *dev);
+unsigned char pci_bus_max_busnr(struct pci_bus* bus);
/* kmem_cache style wrapper around pci_alloc_consistent() */
OpenPOWER on IntegriCloud