summaryrefslogtreecommitdiffstats
path: root/sys/pci/meteor.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/pci/meteor.c')
-rw-r--r--sys/pci/meteor.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/pci/meteor.c b/sys/pci/meteor.c
index 7f0fcf6..949c497 100644
--- a/sys/pci/meteor.c
+++ b/sys/pci/meteor.c
@@ -208,7 +208,11 @@ static struct pci_device met_device = {
&met_count
};
+#ifdef COMPAT_PCI_DRIVER
+COMPAT_PCI_DRIVER (meteor, met_device);
+#else
DATA_SET (pcidevice_set, met_device);
+#endif /* COMPAT_PCI_DRIVER */
#if defined(METEOR_FreeBSD_210) /* XXX */
d_open_t meteor_open;
OpenPOWER on IntegriCloud