diff options
author | Peter Wemm <peter@FreeBSD.org> | 1999-04-24 20:17:05 +0000 |
---|---|---|
committer | Peter Wemm <peter@FreeBSD.org> | 1999-04-24 20:17:05 +0000 |
commit | 96b3554e5c90242d0c5eea10fc394975d03303a8 (patch) | |
tree | df3ac2ff838e9910e3d3aeba252766e697e2dc6a /sys/pci/if_xl.c | |
parent | 46f40af05253fcf39fcddabbe20a6b365fe73e4c (diff) | |
download | src-96b3554e5c90242d0c5eea10fc394975d03303a8.tar.gz src-96b3554e5c90242d0c5eea10fc394975d03303a8.zip |
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.
Notes
Notes:
svn path=/head/; revision=46024
Diffstat (limited to 'sys/pci/if_xl.c')
-rw-r--r-- | sys/pci/if_xl.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/sys/pci/if_xl.c b/sys/pci/if_xl.c index e848418da2cc..4ef2d3ea3e8b 100644 --- a/sys/pci/if_xl.c +++ b/sys/pci/if_xl.c @@ -29,7 +29,7 @@ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF * THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: if_xl.c,v 1.31 1999/04/16 01:56:06 ghelmer Exp $ + * $Id: if_xl.c,v 1.32 1999/04/16 21:22:51 peter Exp $ */ /* @@ -164,7 +164,7 @@ #if !defined(lint) static const char rcsid[] = - "$Id: if_xl.c,v 1.31 1999/04/16 01:56:06 ghelmer Exp $"; + "$Id: if_xl.c,v 1.32 1999/04/16 21:22:51 peter Exp $"; #endif /* @@ -2887,4 +2887,8 @@ static struct pci_device xl_device = { &xl_count, NULL }; +#ifdef COMPAT_PCI_DRIVER +COMPAT_PCI_DRIVER(xl, xl_device); +#else DATA_SET(pcidevice_set, xl_device); +#endif /* COMPAT_PCI_DRIVER */ |