summaryrefslogtreecommitdiffstats
path: root/sys/pci/xrpu.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/pci/xrpu.c')
-rw-r--r--sys/pci/xrpu.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/pci/xrpu.c b/sys/pci/xrpu.c
index df2969d..b1a1dda 100644
--- a/sys/pci/xrpu.c
+++ b/sys/pci/xrpu.c
@@ -6,7 +6,7 @@
* this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp
* ----------------------------------------------------------------------------
*
- * $Id: xrpu.c,v 1.7 1999/03/11 15:09:50 phk Exp $
+ * $Id: xrpu.c,v 1.8 1999/03/12 11:09:18 phk Exp $
*
* A very simple device driver for PCI cards based on Xilinx 6200 series
* FPGA/RPU devices. Current Functionality is to allow you to open and
@@ -198,7 +198,11 @@ static struct pci_device xrpu_device = {
NULL
};
+#ifdef COMPAT_PCI_DRIVER
+COMPAT_PCI_DRIVER (xrpu, xrpu_device);
+#else
DATA_SET (pcidevice_set, xrpu_device);
+#endif /* COMPAT_PCI_DRIVER */
static const char*
xrpu_probe (pcici_t tag, pcidi_t typea)
OpenPOWER on IntegriCloud