diff options
author | hselasky <hselasky@FreeBSD.org> | 2016-09-08 09:50:03 +0000 |
---|---|---|
committer | hselasky <hselasky@FreeBSD.org> | 2016-09-08 09:50:03 +0000 |
commit | 9a130354217f4874d33544ecc0352d6d72fc2fe8 (patch) | |
tree | c62742312700fdf4ba5c8861584f5a920f90e98f /sys/dev/usb/controller/uhci_pci.c | |
parent | 11eb45c08752b180e8521ee076638d3e021bc9db (diff) | |
download | FreeBSD-src-9a130354217f4874d33544ecc0352d6d72fc2fe8.zip FreeBSD-src-9a130354217f4874d33544ecc0352d6d72fc2fe8.tar.gz |
MFC r281499:
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.
PR: 212256
Diffstat (limited to 'sys/dev/usb/controller/uhci_pci.c')
-rw-r--r-- | sys/dev/usb/controller/uhci_pci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/usb/controller/uhci_pci.c b/sys/dev/usb/controller/uhci_pci.c index 0c5d99f..5916996 100644 --- a/sys/dev/usb/controller/uhci_pci.c +++ b/sys/dev/usb/controller/uhci_pci.c @@ -254,7 +254,7 @@ uhci_pci_probe(device_t self) if (desc) { device_set_desc(self, desc); - return (0); + return (BUS_PROBE_DEFAULT); } else { return (ENXIO); } |