android_kernel_xiaomi_sm8350/drivers/usb/net
Arnd Bergmann a9fc6338bd usbnet: add a mutex around phy register access
When working on the mcs7830, I noticed the need for a mutex in its
mdio_read/mdio_write functions. A related problem seems to be present
in the asix driver in the respective functions.

This introduces a mutex in the common usbnet driver and uses it
from the two hardware specific drivers.

Acked-by: David Hollis <dhollis@davehollis.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2006-10-17 14:46:32 -07:00
..
asix.c usbnet: add a mutex around phy register access 2006-10-17 14:46:32 -07:00
catc.c IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
cdc_ether.c USB: drivers/usb/net/*: use BUILD_BUG_ON 2006-10-17 14:46:32 -07:00
cdc_subset.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
gl620a.c IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
kaweth.c USB: suspend/resume support for kaweth 2006-10-17 14:46:30 -07:00
kawethfw.h
Kconfig USB: driver for mcs7830 (aka DeLOCK) USB ethernet adapter 2006-10-17 14:46:32 -07:00
Makefile USB: driver for mcs7830 (aka DeLOCK) USB ethernet adapter 2006-10-17 14:46:32 -07:00
mcs7830.c usbnet: add a mutex around phy register access 2006-10-17 14:46:32 -07:00
net1080.c IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
pegasus.c IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
pegasus.h USB: Support for ELECOM LD-USB20 in pegasus 2006-08-31 18:04:30 -07:00
plusb.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
rndis_host.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
rtl8150.c IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
usbnet.c usbnet: add a mutex around phy register access 2006-10-17 14:46:32 -07:00
usbnet.h usbnet: add a mutex around phy register access 2006-10-17 14:46:32 -07:00
zaurus.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00