mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-17 10:26:15 +00:00
Don't put variable declarations in header files, put prototypes.
'pci_devq' provides useful information now.
This commit is contained in:
parent
cf5b29e126
commit
47676b530c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=88184
@ -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 */
|
||||
|
@ -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_ */
|
||||
|
Loading…
Reference in New Issue
Block a user