mirror of
https://github.com/opnsense/src.git
synced 2026-04-21 14:17:06 -04:00
Only the USB root HUB thread is allowed to attach and detach drivers
to and from USB devices. Remove related DEVMETHOD() lines from USB drivers. Reported by: YongHyeon PYUN MFC after: 3 days
This commit is contained in:
parent
ad2571a225
commit
25abfdf02f
5 changed files with 0 additions and 5 deletions
|
|
@ -256,7 +256,6 @@ static device_method_t aue_methods[] = {
|
|||
|
||||
/* bus interface */
|
||||
DEVMETHOD(bus_print_child, bus_generic_print_child),
|
||||
DEVMETHOD(bus_driver_added, bus_generic_driver_added),
|
||||
|
||||
/* MII interface */
|
||||
DEVMETHOD(miibus_readreg, aue_miibus_readreg),
|
||||
|
|
|
|||
|
|
@ -239,7 +239,6 @@ static device_method_t axe_methods[] = {
|
|||
|
||||
/* bus interface */
|
||||
DEVMETHOD(bus_print_child, bus_generic_print_child),
|
||||
DEVMETHOD(bus_driver_added, bus_generic_driver_added),
|
||||
|
||||
/* MII interface */
|
||||
DEVMETHOD(miibus_readreg, axe_miibus_readreg),
|
||||
|
|
|
|||
|
|
@ -222,7 +222,6 @@ static device_method_t mos_methods[] = {
|
|||
|
||||
/* bus interface */
|
||||
DEVMETHOD(bus_print_child, bus_generic_print_child),
|
||||
DEVMETHOD(bus_driver_added, bus_generic_driver_added),
|
||||
|
||||
/* MII interface */
|
||||
DEVMETHOD(miibus_readreg, mos_miibus_readreg),
|
||||
|
|
|
|||
|
|
@ -188,7 +188,6 @@ static device_method_t rue_methods[] = {
|
|||
|
||||
/* Bus interface */
|
||||
DEVMETHOD(bus_print_child, bus_generic_print_child),
|
||||
DEVMETHOD(bus_driver_added, bus_generic_driver_added),
|
||||
|
||||
/* MII interface */
|
||||
DEVMETHOD(miibus_readreg, rue_miibus_readreg),
|
||||
|
|
|
|||
|
|
@ -147,7 +147,6 @@ static device_method_t udav_methods[] = {
|
|||
|
||||
/* bus interface */
|
||||
DEVMETHOD(bus_print_child, bus_generic_print_child),
|
||||
DEVMETHOD(bus_driver_added, bus_generic_driver_added),
|
||||
|
||||
/* MII interface */
|
||||
DEVMETHOD(miibus_readreg, udav_miibus_readreg),
|
||||
|
|
|
|||
Loading…
Reference in a new issue