diff options
author | Peter Korsgaard <jacmet@sunsite.dk> | 2010-05-03 10:01:26 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-05-12 14:57:05 -0700 |
commit | b8f8bdedc62360a2bc26b8788d9f7ecf13ed448d (patch) | |
tree | a9d12d324292ce4ad97f9522e66b304956561af0 /drivers/zorro/Makefile | |
parent | a59bb6a18c9fc9ed48804d5d2868ce2d301925e5 (diff) |
dm9601: fix phy/eeprom write routine
commit e9162ab1610531d6ea6c1833daeb2613e44275e8 upstream.
Use correct bit positions in DM_SHARED_CTRL register for writes.
Michael Planes recently encountered a 'KY-RS9600 USB-LAN converter', which
came with a driver CD containing a Linux driver. This driver turns out to
be a copy of dm9601.c with symbols renamed and my copyright stripped.
That aside, it did contain 1 functional change in dm_write_shared_word(),
and after checking the datasheet the original value was indeed wrong
(read versus write bits).
On Michaels HW, this change bumps receive speed from ~30KB/s to ~900KB/s.
On other devices the difference is less spectacular, but still significant
(~30%).
Reported-by: Michael Planes <michael.planes@free.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/zorro/Makefile')
0 files changed, 0 insertions, 0 deletions