--- zzzz-none-000/linux-5.4.213/drivers/usb/host/xhci.c 2022-09-15 10:04:56.000000000 +0000 +++ miami-7690-761/linux-5.4.213/drivers/usb/host/xhci.c 2024-05-29 11:20:02.000000000 +0000 @@ -24,6 +24,13 @@ #include "xhci-debugfs.h" #include "xhci-dbgcap.h" +#if defined(CONFIG_AVM_ENHANCED) +/* 20239421 AVM/WKR USB3 ports switchable */ +int usb3port_config; //default USB2 only +module_param(usb3port_config, int, S_IRUGO | S_IWUSR); +MODULE_PARM_DESC(usb3port_config, "Bitmask of allowed USB3 ports"); +#endif + #define DRIVER_AUTHOR "Sarah Sharp" #define DRIVER_DESC "'eXtensible' Host Controller (xHC) Driver" @@ -5360,7 +5367,8 @@ * generic hardware linkage */ .irq = xhci_irq, - .flags = HCD_MEMORY | HCD_DMA | HCD_USB3 | HCD_SHARED, + .flags = HCD_MEMORY | HCD_DMA | HCD_USB3 | HCD_SHARED | + HCD_BH, /* * basic lifecycle operations