]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
NET: asix: fix ethtool -e for AX88178 USB dongle
authorGrant Grundler <grundler@chromium.org>
Mon, 17 Oct 2011 05:51:06 +0000 (05:51 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 19 Oct 2011 23:31:02 +0000 (19:31 -0400)
commit79de9efdb93d8e693dccd0eb7d80cd6092f5875b
tree01c751e742b46966e47b49e5197abc97875d4d8d
parent25c8295b5bb355ec8672735b40ee7a43c51d1aba
NET: asix: fix ethtool -e for AX88178 USB dongle

"ethtool -e ethX" dumps EEPROM data. Patch sets EEPROM length for device.
Ethtool works alot better when the kernel believes the length is > 0.

From: Allan Chou <allan@asix.com.tw>
Signed-off-by: Grant Grundler <grundler@chromium.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/asix.c