From 579f45fa601b342ea72b6bfbb3190cf80f376bea Mon Sep 17 00:00:00 2001 From: Peter Wemm Date: Sun, 9 May 1999 17:07:30 +0000 Subject: 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.) --- sys/dev/si/si.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'sys/dev/si') diff --git a/sys/dev/si/si.c b/sys/dev/si/si.c index 8cdef5c1d124..7a6c60d3a91b 100644 --- a/sys/dev/si/si.c +++ b/sys/dev/si/si.c @@ -30,7 +30,7 @@ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN * NO EVENT SHALL THE AUTHORS BE LIABLE. * - * $Id: si.c,v 1.83 1999/05/02 20:35:44 peter Exp $ + * $Id: si.c,v 1.84 1999/05/08 07:02:31 phk Exp $ */ #ifndef lint @@ -149,11 +149,7 @@ static struct pci_device sipcidev = { NULL, }; -#ifdef COMPAT_PCI_DRIVER COMPAT_PCI_DRIVER (sipci, sipcidev); -#else -DATA_SET (pcidevice_set, sipcidev); -#endif /* COMPAT_PCI_DRIVER */ #endif -- cgit v1.3