USB: Pegasus driver failing for ADMtek 8515 network device
authorPetko Manolov <petkan@nucleusys.com>
Wed, 27 Sep 2006 21:25:37 +0000 (14:25 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 28 Sep 2006 22:36:42 +0000 (15:36 -0700)
commit37cf3477d2140f496e0713738fabdb5bc6fd60f3
tree162f7a38f3279f03924d80272d9dd723c60c654b
parent7923811a46f7e29ae8052edf2461e6c6b8ec2415
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>
drivers/usb/net/pegasus.c
This page took 0.027033 seconds and 5 git commands to generate.