git: 0e81f07f3653 - stable/13 - USB: adjust the Generic XHCI ACPI probe return value
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 30 Apr 2023 06:58:02 UTC
The branch stable/13 has been updated by hselasky:
URL: https://cgit.FreeBSD.org/src/commit/?id=0e81f07f36533b47da917a98e3c4d7c2308adf08
commit 0e81f07f36533b47da917a98e3c4d7c2308adf08
Author: Bjoern A. Zeeb <bz@FreeBSD.org>
AuthorDate: 2021-10-01 13:37:01 +0000
Commit: Hans Petter Selasky <hselasky@FreeBSD.org>
CommitDate: 2023-04-30 06:56:17 +0000
USB: adjust the Generic XHCI ACPI probe return value
Change the probe return value from BUS_PROBE_DEFAULT to BUS_PROBE_GENERIC
given this is the "generic" attach method. This allows individual
drivers using XHCI generic but needing their own intialisation to
gain priority for attaching over the generic implementation.
Reviewed by: hselasky
Differential Revision: https://reviews.freebsd.org/D32257
(cherry picked from commit 76f3b8cb640536de2c370cc2bd60382bbc35cf5d)
---
sys/dev/usb/controller/generic_xhci_acpi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sys/dev/usb/controller/generic_xhci_acpi.c b/sys/dev/usb/controller/generic_xhci_acpi.c
index aa96c3f40fee..09add23de5af 100644
--- a/sys/dev/usb/controller/generic_xhci_acpi.c
+++ b/sys/dev/usb/controller/generic_xhci_acpi.c
@@ -67,7 +67,7 @@ generic_xhci_acpi_probe(device_t dev)
device_set_desc(dev, XHCI_HC_DEVSTR);
- return (BUS_PROBE_DEFAULT);
+ return (BUS_PROBE_GENERIC);
}
static device_method_t xhci_acpi_methods[] = {