summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/aac/aac_pci.c2
-rw-r--r--sys/dev/amr/amr_pci.c2
-rw-r--r--sys/dev/mlx/mlx_pci.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/aac/aac_pci.c b/sys/dev/aac/aac_pci.c
index f931bd1..654954b 100644
--- a/sys/dev/aac/aac_pci.c
+++ b/sys/dev/aac/aac_pci.c
@@ -115,7 +115,7 @@ aac_pci_probe(device_t dev)
((m->subdevice == 0) || ((m->subdevice == pci_get_subdevice(dev))))) {
device_set_desc(dev, m->desc);
- return(0);
+ return(-10); /* allow room to be overridden */
}
}
return(ENXIO);
diff --git a/sys/dev/amr/amr_pci.c b/sys/dev/amr/amr_pci.c
index e338e59..783d430 100644
--- a/sys/dev/amr/amr_pci.c
+++ b/sys/dev/amr/amr_pci.c
@@ -116,7 +116,7 @@ amr_pci_probe(device_t dev)
(pci_read_config(dev, AMR_CFG_SIG, 2) != AMR_SIGNATURE))
continue;
device_set_desc(dev, "AMI MegaRAID");
- return(0);
+ return(-10); /* allow room to be overridden */
}
}
return(ENXIO);
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