summaryrefslogtreecommitdiffstats
path: root/sys/dev/hfa
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1999-05-09 17:07:30 +0000
committerpeter <peter@FreeBSD.org>1999-05-09 17:07:30 +0000
commit41b420910c7daa4b3ef5861f2a9fc1bdea90e9d6 (patch)
tree872f3d9e8bfcc63217906645609dd7e7ebfc6e0d /sys/dev/hfa
parent71c8afa0dd510576229f130234c59f9d6bf0bb87 (diff)
downloadFreeBSD-src-41b420910c7daa4b3ef5861f2a9fc1bdea90e9d6.zip
FreeBSD-src-41b420910c7daa4b3ef5861f2a9fc1bdea90e9d6.tar.gz
Simplify the COMPAT_PCI_DRIVER/DATA_SET hack. We can add:
#define COMPAT_PCI_DRIVER(name,data) DATA_SET(pcidevice_set,data) .. to 2.2.x and 3.x if people think it's worth it. Driver writers can do this if it's not defined. (The reason for this is that I'm trying to progressively eliminate use of linker_sets where it hurts modularity and runtime load capability, and these DATA_SET's keep getting in the way.)
Diffstat (limited to 'sys/dev/hfa')
-rw-r--r--sys/dev/hfa/fore_load.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/sys/dev/hfa/fore_load.c b/sys/dev/hfa/fore_load.c
index bb5744b..10a35bc 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.5 1998/12/14 06:37:37 dillon Exp $
+ * @(#) $Id: fore_load.c,v 1.6 1999/04/24 20:17:05 peter Exp $
*
*/
@@ -38,7 +38,7 @@
#include <dev/hfa/fore_include.h>
#ifndef lint
-__RCSID("@(#) $Id: fore_load.c,v 1.5 1998/12/14 06:37:37 dillon Exp $");
+__RCSID("@(#) $Id: fore_load.c,v 1.6 1999/04/24 20:17:05 peter Exp $");
#endif
@@ -107,11 +107,7 @@ 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