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:
parent
7d9cff3d23
commit
9b0e3c5a47
@ -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);
|
||||
}
|
||||
|
@ -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);
|
||||
}
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user