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/pci/meteor.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'sys/pci/meteor.c') diff --git a/sys/pci/meteor.c b/sys/pci/meteor.c index 1a1396a..7386eb3 100644 --- a/sys/pci/meteor.c +++ b/sys/pci/meteor.c @@ -208,11 +208,7 @@ static struct pci_device met_device = { &met_count }; -#ifdef COMPAT_PCI_DRIVER COMPAT_PCI_DRIVER (meteor, met_device); -#else -DATA_SET (pcidevice_set, met_device); -#endif /* COMPAT_PCI_DRIVER */ #if defined(METEOR_FreeBSD_210) /* XXX */ d_open_t meteor_open; -- cgit v1.1