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/pdq | |
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/pdq')
-rw-r--r-- | sys/dev/pdq/if_fpa.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/sys/dev/pdq/if_fpa.c b/sys/dev/pdq/if_fpa.c index cff0be2..10ef90c 100644 --- a/sys/dev/pdq/if_fpa.c +++ b/sys/dev/pdq/if_fpa.c @@ -21,7 +21,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: if_fpa.c,v 1.7 1998/02/20 13:11:53 bde Exp $ + * $Id: if_fpa.c,v 1.8 1998/12/14 06:32:55 dillon Exp $ * */ @@ -214,9 +214,12 @@ static struct pci_device fpadevice = { NULL }; -#ifdef DATA_SET +#ifdef COMPAT_PCI_DRIVER +COMPAT_PCI_DRIVER (fpa, fpadevice); +#else DATA_SET (pcidevice_set, fpadevice); -#endif +#endif /* COMPAT_PCI_DRIVER */ + #elif defined(__bsdi__) static int |