aboutsummaryrefslogtreecommitdiff
path: root/sys/ofed/include/linux/pci.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/ofed/include/linux/pci.h')
-rw-r--r--sys/ofed/include/linux/pci.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/ofed/include/linux/pci.h b/sys/ofed/include/linux/pci.h
index f9828ef3a282..b05f6f27c512 100644
--- a/sys/ofed/include/linux/pci.h
+++ b/sys/ofed/include/linux/pci.h
@@ -82,8 +82,8 @@ struct pci_device_id {
#define PCI_VENDOR_ID PCIR_DEVVENDOR
#define PCI_COMMAND PCIR_COMMAND
-#define PCI_EXP_DEVCTL PCIR_EXPRESS_DEVICE_CTL
-#define PCI_EXP_LNKCTL PCIR_EXPRESS_LINK_CTL
+#define PCI_EXP_DEVCTL PCIER_DEVICE_CTL
+#define PCI_EXP_LNKCTL PCIER_LINK_CTL
#define IORESOURCE_MEM SYS_RES_MEMORY
#define IORESOURCE_IO SYS_RES_IOPORT