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/bktr/bktr_core.c | |
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/bktr/bktr_core.c')
-rw-r--r-- | sys/dev/bktr/bktr_core.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/dev/bktr/bktr_core.c b/sys/dev/bktr/bktr_core.c index d255a9f..fbce1f4 100644 --- a/sys/dev/bktr/bktr_core.c +++ b/sys/dev/bktr/bktr_core.c @@ -1,4 +1,4 @@ -/* $Id: brooktree848.c,v 1.66 1999/02/11 10:22:30 roger Exp $ */ +/* $Id: brooktree848.c,v 1.67 1999/02/25 07:45:47 roger Exp $ */ /* BT848 Driver for Brooktree's Bt848, Bt849, Bt878 and Bt 879 based cards. The Brooktree BT848 Driver driver is based upon Mark Tinguely and Jim Lowe's driver for the Matrox Meteor PCI card . The @@ -488,7 +488,11 @@ static struct pci_device bktr_device = { &bktr_count }; +#ifdef COMPAT_PCI_DRIVER +COMPAT_PCI_DRIVER (bktr, bktr_device); +#else DATA_SET (pcidevice_set, bktr_device); +#endif /* COMPAT_PCI_DRIVER */ static d_open_t bktr_open; static d_close_t bktr_close; |