git: 76f3b8cb6405 - main - USB: adjust the Generic XHCI ACPI probe return value

From: Bjoern A. Zeeb <bz_at_FreeBSD.org>
Date: Fri, 08 Oct 2021 10:30:04 UTC
The branch main has been updated by bz:

URL: https://cgit.FreeBSD.org/src/commit/?id=76f3b8cb640536de2c370cc2bd60382bbc35cf5d

commit 76f3b8cb640536de2c370cc2bd60382bbc35cf5d
Author:     Bjoern A. Zeeb <bz@FreeBSD.org>
AuthorDate: 2021-10-01 13:37:01 +0000
Commit:     Bjoern A. Zeeb <bz@FreeBSD.org>
CommitDate: 2021-10-08 10:28:44 +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
---
 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 80ad8ca4e8a4..1594fa8c6670 100644
--- a/sys/dev/usb/controller/generic_xhci_acpi.c
+++ b/sys/dev/usb/controller/generic_xhci_acpi.c
@@ -64,7 +64,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[] = {