Return -10 from the PCI probe to allow room for an updated driver to
override one built into the kernel.
This commit is contained in:
parent
41fced74eb
commit
e10f2ee576
@ -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);
|
||||
|
@ -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);
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user