android_kernel_xiaomi_sm8350/drivers/usb/net
Petko Manolov 37cf3477d2 USB: Pegasus driver failing for ADMtek 8515 network device
Address http://bugzilla.kernel.org/show_bug.cgi?id=7126

Attempting to read the ethernet ID directly from the eeprom somehow
confuses ADM8515.  Subsequent read requests to either the eeprom or the MII
fail as well.  Didn't dig much deeper, though.  For example ADM8513 does
not experience this problem.

I used the fact that at power up the device is reading its ID automatically
(not true for older Pegasus based devices) and put it in the Ethernet ID
registers.  So now the driver uses get_registers() instead of
read_eprom_word() if the device is Pegasus_II based one.  Tested it with
all (Pegasus and Pegasus_II) gadgets i have and everything seems ok.

Cc: <jogeedaklown@yahoo.com>
Cc: David Brownell <david-b@pacbell.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2006-09-28 15:36:42 -07:00
..
asix.c USB: asix - Add AX88178 support and many other changes 2006-09-27 11:58:51 -07:00
catc.c
cdc_ether.c
cdc_subset.c
gl620a.c
kaweth.c USB: new id for kaweth 2006-09-28 15:36:42 -07:00
kawethfw.h
Kconfig
Makefile
net1080.c USB: net1080 inherent pad length 2006-09-27 11:58:54 -07:00
pegasus.c USB: Pegasus driver failing for ADMtek 8515 network device 2006-09-28 15:36:42 -07:00
pegasus.h USB: Support for ELECOM LD-USB20 in pegasus 2006-08-31 18:04:30 -07:00
plusb.c
rndis_host.c
rtl8150.c USB: Dealias -110 code (more complete) 2006-09-27 11:59:00 -07:00
usbnet.c USB: Dealias -110 code (more complete) 2006-09-27 11:59:00 -07:00
usbnet.h USB: usbnet - Add unlink_rx_urbs() call to allow for Jumbo Frames 2006-09-27 11:58:51 -07:00
zaurus.c