summaryrefslogtreecommitdiffstats
path: root/sys/dev/hfa
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1999-04-24 20:17:05 +0000
committerpeter <peter@FreeBSD.org>1999-04-24 20:17:05 +0000
commitd6f4bd18f508c92a26bf83b89c11d5641e61fbeb (patch)
tree83fa637897b94fbf0e8ba3471e5bea478adeb79f /sys/dev/hfa
parente7462e4ae57c4f138096d5845ab761b06a08fb0a (diff)
downloadFreeBSD-src-d6f4bd18f508c92a26bf83b89c11d5641e61fbeb.zip
FreeBSD-src-d6f4bd18f508c92a26bf83b89c11d5641e61fbeb.tar.gz
Use COMPAT_PCI_DRIVER() for registration if it exists. This shouldn't
hurt the driver portability to 3.x too much for where drivers are shared.
Diffstat (limited to 'sys/dev/hfa')
-rw-r--r--sys/dev/hfa/fore_load.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/sys/dev/hfa/fore_load.c b/sys/dev/hfa/fore_load.c
index e41370e..bb5744b 100644
--- a/sys/dev/hfa/fore_load.c
+++ b/sys/dev/hfa/fore_load.c
@@ -23,7 +23,7 @@
* Copies of this Software may be made, however, the above copyright
* notice must be reproduced on all copies.
*
- * @(#) $Id: fore_load.c,v 1.4 1998/12/04 22:54:45 archie Exp $
+ * @(#) $Id: fore_load.c,v 1.5 1998/12/14 06:37:37 dillon Exp $
*
*/
@@ -38,7 +38,7 @@
#include <dev/hfa/fore_include.h>
#ifndef lint
-__RCSID("@(#) $Id: fore_load.c,v 1.4 1998/12/04 22:54:45 archie Exp $");
+__RCSID("@(#) $Id: fore_load.c,v 1.5 1998/12/14 06:37:37 dillon Exp $");
#endif
@@ -107,7 +107,11 @@ static struct pci_device fore_pci_device = {
#endif
};
+#ifdef COMPAT_PCI_DRIVER
+COMPAT_PCI_DRIVER(fore_pci, fore_pci_device);
+#else
DATA_SET(pcidevice_set, fore_pci_device);
+#endif /* COMPAT_PCI_DRIVER */
#endif
OpenPOWER on IntegriCloud