From 41b420910c7daa4b3ef5861f2a9fc1bdea90e9d6 Mon Sep 17 00:00:00 2001 From: peter 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/pccard/pcic_pci.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'sys/pccard/pcic_pci.c') diff --git a/sys/pccard/pcic_pci.c b/sys/pccard/pcic_pci.c index a13734c..c726aa9 100644 --- a/sys/pccard/pcic_pci.c +++ b/sys/pccard/pcic_pci.c @@ -26,7 +26,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: pcic_p.c,v 1.10 1999/04/24 20:14:03 peter Exp $ + * $Id: pcic_p.c,v 1.11 1999/05/02 05:53:50 nate Exp $ */ #include "pci.h" @@ -57,11 +57,7 @@ static struct pci_device pcic_pci_driver = { NULL }; -#ifdef COMPAT_PCI_DRIVER COMPAT_PCI_DRIVER(pcic_pci, pcic_pci_driver); -#else -DATA_SET(pcidevice_set, pcic_pci_driver); -#endif /* COMPAT_PCI_DRIVER */ /* * Return the ID string for the controller if the vendor/product id -- cgit v1.1