diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/pci-dynids.h | 18 | ||||
| -rw-r--r-- | include/linux/pci.h | 5 |
2 files changed, 3 insertions, 20 deletions
diff --git a/include/linux/pci-dynids.h b/include/linux/pci-dynids.h deleted file mode 100644 index 183b6b0de81c..000000000000 --- a/include/linux/pci-dynids.h +++ /dev/null | |||
| @@ -1,18 +0,0 @@ | |||
| 1 | /* | ||
| 2 | * PCI defines and function prototypes | ||
| 3 | * Copyright 2003 Dell Inc. | ||
| 4 | * by Matt Domsch <Matt_Domsch@dell.com> | ||
| 5 | */ | ||
| 6 | |||
| 7 | #ifndef LINUX_PCI_DYNIDS_H | ||
| 8 | #define LINUX_PCI_DYNIDS_H | ||
| 9 | |||
| 10 | #include <linux/list.h> | ||
| 11 | #include <linux/mod_devicetable.h> | ||
| 12 | |||
| 13 | struct dynid { | ||
| 14 | struct list_head node; | ||
| 15 | struct pci_device_id id; | ||
| 16 | }; | ||
| 17 | |||
| 18 | #endif | ||
diff --git a/include/linux/pci.h b/include/linux/pci.h index 66798b46f308..7ac14961ba22 100644 --- a/include/linux/pci.h +++ b/include/linux/pci.h | |||
| @@ -586,7 +586,7 @@ struct pci_dev { | |||
| 586 | #define PCI_NUM_RESOURCES 11 | 586 | #define PCI_NUM_RESOURCES 11 |
| 587 | 587 | ||
| 588 | #ifndef PCI_BUS_NUM_RESOURCES | 588 | #ifndef PCI_BUS_NUM_RESOURCES |
| 589 | #define PCI_BUS_NUM_RESOURCES 4 | 589 | #define PCI_BUS_NUM_RESOURCES 8 |
| 590 | #endif | 590 | #endif |
| 591 | 591 | ||
| 592 | #define PCI_REGION_FLAG_MASK 0x0fU /* These bits of resource flags tell us the PCI region flags */ | 592 | #define PCI_REGION_FLAG_MASK 0x0fU /* These bits of resource flags tell us the PCI region flags */ |
| @@ -860,7 +860,8 @@ int pci_register_driver(struct pci_driver *); | |||
| 860 | void pci_unregister_driver(struct pci_driver *); | 860 | void pci_unregister_driver(struct pci_driver *); |
| 861 | void pci_remove_behind_bridge(struct pci_dev *); | 861 | void pci_remove_behind_bridge(struct pci_dev *); |
| 862 | struct pci_driver *pci_dev_driver(const struct pci_dev *); | 862 | struct pci_driver *pci_dev_driver(const struct pci_dev *); |
| 863 | const struct pci_device_id *pci_match_device(const struct pci_device_id *ids, const struct pci_dev *dev); | 863 | const struct pci_device_id *pci_match_device(struct pci_driver *drv, struct pci_dev *dev); |
| 864 | const struct pci_device_id *pci_match_id(const struct pci_device_id *ids, struct pci_dev *dev); | ||
| 864 | int pci_scan_bridge(struct pci_bus *bus, struct pci_dev * dev, int max, int pass); | 865 | int pci_scan_bridge(struct pci_bus *bus, struct pci_dev * dev, int max, int pass); |
| 865 | 866 | ||
| 866 | /* kmem_cache style wrapper around pci_alloc_consistent() */ | 867 | /* kmem_cache style wrapper around pci_alloc_consistent() */ |
