summaryrefslogtreecommitdiffstats
path: root/sys/dev/vx/if_vx_pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/vx/if_vx_pci.c')
-rw-r--r--sys/dev/vx/if_vx_pci.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/dev/vx/if_vx_pci.c b/sys/dev/vx/if_vx_pci.c
index ab02693..2c629bf 100644
--- a/sys/dev/vx/if_vx_pci.c
+++ b/sys/dev/vx/if_vx_pci.c
@@ -137,7 +137,11 @@ static struct pci_device vxdevice = {
NULL
};
+#ifdef COMPAT_PCI_DRIVER
+COMPAT_PCI_DRIVER (vx, vxdevice);
+#else
DATA_SET (pcidevice_set, vxdevice);
+#endif /* COMPAT_PCI_DRIVER */
#endif /* NVX */
#endif /* NPCI */
OpenPOWER on IntegriCloud