From d6f4bd18f508c92a26bf83b89c11d5641e61fbeb Mon Sep 17 00:00:00 2001 From: peter Date: Sat, 24 Apr 1999 20:17:05 +0000 Subject: Use COMPAT_PCI_DRIVER() for registration if it exists. This shouldn't hurt the driver portability to 3.x too much for where drivers are shared. --- sys/dev/si/si.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'sys/dev/si') diff --git a/sys/dev/si/si.c b/sys/dev/si/si.c index 95a4e049..7dae243 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.78 1999/01/12 00:36:35 eivind Exp $ + * $Id: si.c,v 1.79 1999/01/30 12:17:34 phk Exp $ */ #ifndef lint @@ -144,7 +144,11 @@ 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.1