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:
Mike Smith 2000-10-28 10:46:30 +00:00
parent 41fced74eb
commit e10f2ee576
3 changed files with 3 additions and 3 deletions

View File

@ -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);

View File

@ -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);

View File

@ -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);