diff options
| author | Matthew N. Dodd <mdodd@FreeBSD.org> | 2001-12-19 08:49:11 +0000 |
|---|---|---|
| committer | Matthew N. Dodd <mdodd@FreeBSD.org> | 2001-12-19 08:49:11 +0000 |
| commit | 47676b530c58bc607e4727bc56e548a8018ec109 (patch) | |
| tree | 1d8838027cd207ae0a3757b52e06b9cfbb3023fa /sys/dev/pci | |
| parent | cf5b29e126666413db5eeef96abda82a8e1b2cab (diff) | |
Notes
Diffstat (limited to 'sys/dev/pci')
| -rw-r--r-- | sys/dev/pci/pci.c | 2 | ||||
| -rw-r--r-- | sys/dev/pci/pcivar.h | 6 |
2 files changed, 6 insertions, 2 deletions
diff --git a/sys/dev/pci/pci.c b/sys/dev/pci/pci.c index d731e36445a7..ac812d9ec71a 100644 --- a/sys/dev/pci/pci.c +++ b/sys/dev/pci/pci.c @@ -188,6 +188,8 @@ struct pci_quirk pci_quirks[] = { #define PCI_MAPMEMP 0x02 /* prefetchable memory map */ #define PCI_MAPPORT 0x04 /* port map */ +struct devlist pci_devq; +u_int32_t pci_generation; u_int32_t pci_numdevs = 0; /* return base address of memory or port map */ diff --git a/sys/dev/pci/pcivar.h b/sys/dev/pci/pcivar.h index 8a1c28156d87..5014d3117521 100644 --- a/sys/dev/pci/pcivar.h +++ b/sys/dev/pci/pcivar.h @@ -330,7 +330,9 @@ extern struct cdevsw pcicdev; /* * List of all PCI devices, generation count for the list. */ -STAILQ_HEAD(devlist, pci_devinfo) pci_devq; -u_int32_t pci_generation; +STAILQ_HEAD(devlist, pci_devinfo); + +extern struct devlist pci_devq; +extern u_int32_t pci_generation; #endif /* _PCIVAR_H_ */ |
