summaryrefslogtreecommitdiffstats
path: root/sys/dev/mlx/mlx_pci.c
diff options
context:
space:
mode:
authormsmith <msmith@FreeBSD.org>2000-10-28 10:46:30 +0000
committermsmith <msmith@FreeBSD.org>2000-10-28 10:46:30 +0000
commit6f69682320cc03dfd7dd045d9ca325496027d955 (patch)
treee7cc86cef4d63e41770d5ef6d069f591ba529c1a /sys/dev/mlx/mlx_pci.c
parentf86db637cd8220b865f1edf101db667d97f8cbaf (diff)
downloadFreeBSD-src-6f69682320cc03dfd7dd045d9ca325496027d955.zip
FreeBSD-src-6f69682320cc03dfd7dd045d9ca325496027d955.tar.gz
Return -10 from the PCI probe to allow room for an updated driver to
override one built into the kernel.
Diffstat (limited to 'sys/dev/mlx/mlx_pci.c')
-rw-r--r--sys/dev/mlx/mlx_pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/mlx/mlx_pci.c b/sys/dev/mlx/mlx_pci.c
index 497e0a6..2a27048 100644
--- a/sys/dev/mlx/mlx_pci.c
+++ b/sys/dev/mlx/mlx_pci.c
@@ -104,7 +104,7 @@ mlx_pci_probe(device_t dev)
(m->subdevice == pci_get_subdevice(dev))))) {
device_set_desc(dev, m->desc);
- return(0);
+ return(-10); /* allow room to be overridden */
}
}
return(ENXIO);
OpenPOWER on IntegriCloud