summaryrefslogtreecommitdiffstats
path: root/sys/pci/if_mx.c
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1999-04-24 20:17:05 +0000
committerpeter <peter@FreeBSD.org>1999-04-24 20:17:05 +0000
commitd6f4bd18f508c92a26bf83b89c11d5641e61fbeb (patch)
tree83fa637897b94fbf0e8ba3471e5bea478adeb79f /sys/pci/if_mx.c
parente7462e4ae57c4f138096d5845ab761b06a08fb0a (diff)
downloadFreeBSD-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/pci/if_mx.c')
-rw-r--r--sys/pci/if_mx.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/sys/pci/if_mx.c b/sys/pci/if_mx.c
index 9795c70..f3abc5a 100644
--- a/sys/pci/if_mx.c
+++ b/sys/pci/if_mx.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_mx.c,v 1.13 1999/04/08 17:38:05 wpaul Exp $
+ * $Id: if_mx.c,v 1.14 1999/04/16 01:56:06 ghelmer Exp $
*/
/*
@@ -99,7 +99,7 @@
#ifndef lint
static const char rcsid[] =
- "$Id: if_mx.c,v 1.13 1999/04/08 17:38:05 wpaul Exp $";
+ "$Id: if_mx.c,v 1.14 1999/04/16 01:56:06 ghelmer Exp $";
#endif
/*
@@ -2513,4 +2513,8 @@ static struct pci_device mx_device = {
&mx_count,
NULL
};
+#ifdef COMPAT_PCI_DRIVER
+COMPAT_PCI_DRIVER(mx, mx_device);
+#else
DATA_SET(pcidevice_set, mx_device);
+#endif /* COMPAT_PCI_DRIVER */
OpenPOWER on IntegriCloud