diff options
| author | <jgarzik@pretzel.yyz.us> | 2005-05-27 22:07:40 -0400 |
|---|---|---|
| committer | Jeff Garzik <jgarzik@pobox.com> | 2005-05-27 22:07:40 -0400 |
| commit | ff0e0ea2f5d36fa90fc2c57fd019102b0a0cfabf (patch) | |
| tree | 963cdd52a4032cd4827896c4e813cfbf6dd7b3e6 /drivers/pci/pci.h | |
| parent | 43f66a6ce8da299344cf1bc2ac2311889cc88555 (diff) | |
| parent | 1f15d694522af9cd7492695f11dd2dc77b6cf098 (diff) | |
Automatic merge of /spare/repo/netdev-2.6 branch we18
Diffstat (limited to 'drivers/pci/pci.h')
| -rw-r--r-- | drivers/pci/pci.h | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/drivers/pci/pci.h b/drivers/pci/pci.h index 79cdc16c52c8..744da0d4ae5f 100644 --- a/drivers/pci/pci.h +++ b/drivers/pci/pci.h | |||
| @@ -32,33 +32,6 @@ extern unsigned char pci_max_busnr(void); | |||
| 32 | extern unsigned char pci_bus_max_busnr(struct pci_bus *bus); | 32 | extern unsigned char pci_bus_max_busnr(struct pci_bus *bus); |
| 33 | extern int pci_bus_find_capability (struct pci_bus *bus, unsigned int devfn, int cap); | 33 | extern int pci_bus_find_capability (struct pci_bus *bus, unsigned int devfn, int cap); |
| 34 | 34 | ||
| 35 | struct pci_dev_wrapped { | ||
| 36 | struct pci_dev *dev; | ||
| 37 | void *data; | ||
| 38 | }; | ||
| 39 | |||
| 40 | struct pci_bus_wrapped { | ||
| 41 | struct pci_bus *bus; | ||
| 42 | void *data; | ||
| 43 | }; | ||
| 44 | |||
| 45 | struct pci_visit { | ||
| 46 | int (* pre_visit_pci_bus) (struct pci_bus_wrapped *, | ||
| 47 | struct pci_dev_wrapped *); | ||
| 48 | int (* post_visit_pci_bus) (struct pci_bus_wrapped *, | ||
| 49 | struct pci_dev_wrapped *); | ||
| 50 | |||
| 51 | int (* pre_visit_pci_dev) (struct pci_dev_wrapped *, | ||
| 52 | struct pci_bus_wrapped *); | ||
| 53 | int (* visit_pci_dev) (struct pci_dev_wrapped *, | ||
| 54 | struct pci_bus_wrapped *); | ||
| 55 | int (* post_visit_pci_dev) (struct pci_dev_wrapped *, | ||
| 56 | struct pci_bus_wrapped *); | ||
| 57 | }; | ||
| 58 | |||
| 59 | extern int pci_visit_dev(struct pci_visit *fn, | ||
| 60 | struct pci_dev_wrapped *wrapped_dev, | ||
| 61 | struct pci_bus_wrapped *wrapped_parent); | ||
| 62 | extern void pci_remove_legacy_files(struct pci_bus *bus); | 35 | extern void pci_remove_legacy_files(struct pci_bus *bus); |
| 63 | 36 | ||
| 64 | /* Lock for read/write access to pci device and bus lists */ | 37 | /* Lock for read/write access to pci device and bus lists */ |
