diff options
author | Peter Wemm <peter@FreeBSD.org> | 1999-05-09 17:07:30 +0000 |
---|---|---|
committer | Peter Wemm <peter@FreeBSD.org> | 1999-05-09 17:07:30 +0000 |
commit | 579f45fa601b342ea72b6bfbb3190cf80f376bea (patch) | |
tree | 3907b4304cd51651ebf366e6831d2a9a86a334ee /sys/dev/isp/isp_pci.c | |
parent | 9f08adb16fe981278d2be230dbdbb69ee001452c (diff) | |
download | src-579f45fa601b342ea72b6bfbb3190cf80f376bea.tar.gz src-579f45fa601b342ea72b6bfbb3190cf80f376bea.zip |
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.)
Notes
Notes:
svn path=/head/; revision=46813
Diffstat (limited to 'sys/dev/isp/isp_pci.c')
-rw-r--r-- | sys/dev/isp/isp_pci.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/dev/isp/isp_pci.c b/sys/dev/isp/isp_pci.c index b7ce04d79427..9f535504a62b 100644 --- a/sys/dev/isp/isp_pci.c +++ b/sys/dev/isp/isp_pci.c @@ -1,4 +1,4 @@ -/* $Id: isp_pci.c,v 1.19 1999/04/11 02:47:31 eivind Exp $ */ +/* $Id: isp_pci.c,v 1.20 1999/04/24 20:14:02 peter Exp $ */ /* release_4_3_99 */ /* * PCI specific probe and attach routines for Qlogic ISP SCSI adapters. @@ -271,11 +271,7 @@ static struct pci_device isp_pci_driver = { &ispunit, NULL }; -#ifdef COMPAT_PCI_DRIVER COMPAT_PCI_DRIVER (isp_pci, isp_pci_driver); -#else -DATA_SET (pcidevice_set, isp_pci_driver); -#endif /* COMPAT_PCI_DRIVER */ static PROBETYPE |