diff options
author | peter <peter@FreeBSD.org> | 1999-04-24 20:17:05 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1999-04-24 20:17:05 +0000 |
commit | d6f4bd18f508c92a26bf83b89c11d5641e61fbeb (patch) | |
tree | 83fa637897b94fbf0e8ba3471e5bea478adeb79f /sys/dev/de | |
parent | e7462e4ae57c4f138096d5845ab761b06a08fb0a (diff) | |
download | FreeBSD-src-d6f4bd18f508c92a26bf83b89c11d5641e61fbeb.zip FreeBSD-src-d6f4bd18f508c92a26bf83b89c11d5641e61fbeb.tar.gz |
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.
Diffstat (limited to 'sys/dev/de')
-rw-r--r-- | sys/dev/de/if_de.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/dev/de/if_de.c b/sys/dev/de/if_de.c index d9c52f7..045d75a 100644 --- a/sys/dev/de/if_de.c +++ b/sys/dev/de/if_de.c @@ -1,5 +1,5 @@ /* $NetBSD: if_de.c,v 1.82 1999/02/28 17:08:51 explorer Exp $ */ -/* $Id: if_de.c,v 1.101 1999/03/14 08:32:52 peter Exp $ */ +/* $Id: if_de.c,v 1.102 1999/03/17 16:44:52 luigi Exp $ */ /*- * Copyright (c) 1994-1997 Matt Thomas (matt@3am-software.com) @@ -5378,7 +5378,11 @@ static struct pci_device dedevice = { #endif }; +#ifdef COMPAT_PCI_DRIVER +COMPAT_PCI_DRIVER(de, dedevice); +#else DATA_SET (pcidevice_set, dedevice); +#endif /* COMPAT_PCI_DRIVER */ #endif /* __FreeBSD__ */ #if defined(__bsdi__) |