diff options
author | msmith <msmith@FreeBSD.org> | 2000-10-28 10:46:30 +0000 |
---|---|---|
committer | msmith <msmith@FreeBSD.org> | 2000-10-28 10:46:30 +0000 |
commit | 6f69682320cc03dfd7dd045d9ca325496027d955 (patch) | |
tree | e7cc86cef4d63e41770d5ef6d069f591ba529c1a /sys/dev/mlx | |
parent | f86db637cd8220b865f1edf101db667d97f8cbaf (diff) | |
download | FreeBSD-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')
-rw-r--r-- | sys/dev/mlx/mlx_pci.c | 2 |
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); |