Modify the return value of the uhci/ehci/xhci PCI probe routines to

'BUS_PROBE_DEFAULT'. This allows bhyve's 'ppt' driver to claim ownership
of the device and pass it through to the guest.

In the common case where there are no competing drivers for USB controllers
this change is a no-op.

Reviewed by:	hselasky
MFC after:	2 weeks
This commit is contained in:
Neel Natu 2015-04-13 19:13:51 +00:00
parent 7d9cff3d23
commit 9b0e3c5a47
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=281499
3 changed files with 3 additions and 3 deletions

View File

@ -220,7 +220,7 @@ ehci_pci_probe(device_t self)
if (desc) {
device_set_desc(self, desc);
return (0);
return (BUS_PROBE_DEFAULT);
} else {
return (ENXIO);
}

View File

@ -244,7 +244,7 @@ uhci_pci_probe(device_t self)
if (desc) {
device_set_desc(self, desc);
return (0);
return (BUS_PROBE_DEFAULT);
} else {
return (ENXIO);
}

View File

@ -131,7 +131,7 @@ xhci_pci_probe(device_t self)
if (desc) {
device_set_desc(self, desc);
return (0);
return (BUS_PROBE_DEFAULT);
} else {
return (ENXIO);
}