linuxkpi: Define PCI_STD_NUM_BARS in <linux/pci.h>

Reviewed by:	emaste, manu
Approved by:	emaste, manu
Differential Revision:	https://reviews.freebsd.org/D38162
This commit is contained in:
Jean-Sébastien Pédron 2023-01-22 14:46:14 +01:00
parent ccd31b4645
commit 66cc55a041
No known key found for this signature in database
GPG Key ID: 39E99761A5FD94CC

View File

@ -106,6 +106,7 @@ MODULE_PNP_INFO("U32:vendor;U32:device;V32:subvendor;V32:subdevice", \
#define to_pci_dev(n) container_of(n, struct pci_dev, dev)
#define PCI_STD_NUM_BARS 6
#define PCI_VENDOR_ID PCIR_VENDOR
#define PCI_DEVICE_ID PCIR_DEVICE
#define PCI_COMMAND PCIR_COMMAND