summaryrefslogtreecommitdiffstats
path: root/sys/pci/if_xl.c
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/pci/if_xl.c
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/pci/if_xl.c')
-rw-r--r--sys/pci/if_xl.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/sys/pci/if_xl.c b/sys/pci/if_xl.c
index 931e84a..67d3c89 100644
--- a/sys/pci/if_xl.c
+++ b/sys/pci/if_xl.c
@@ -29,7 +29,7 @@
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
* THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: if_xl.c,v 1.101 1999/05/05 16:54:54 wpaul Exp $
+ * $Id: if_xl.c,v 1.36 1999/05/05 17:05:06 wpaul Exp $
*/
/*
@@ -159,7 +159,7 @@
#if !defined(lint)
static const char rcsid[] =
- "$Id: if_xl.c,v 1.101 1999/05/05 16:54:54 wpaul Exp $";
+ "$Id: if_xl.c,v 1.36 1999/05/05 17:05:06 wpaul Exp $";
#endif
/*
@@ -2930,8 +2930,4 @@ static struct pci_device xl_device = {
&xl_count,
NULL
};
-#ifdef COMPAT_PCI_DRIVER
COMPAT_PCI_DRIVER(xl, xl_device);
-#else
-DATA_SET(pcidevice_set, xl_device);
-#endif /* COMPAT_PCI_DRIVER */
OpenPOWER on IntegriCloud