cxgb4: support eeprom read/write on functions other than 0
authorDimitris Michailidis <dm@chelsio.com>
Mon, 23 Aug 2010 17:20:59 +0000 (17:20 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 24 Aug 2010 03:38:14 +0000 (20:38 -0700)
commit1478b3ee931e83c7a94f61376e962574b28d23d6
treee22cb1de6256301f2e5cf5476b5219977af66dc9
parente46dab4d4be87769b09404135bc34f89e2e155d8
cxgb4: support eeprom read/write on functions other than 0

Extend the address translation for eeprom read/write (code used by
ethtool -[eE]) to functions other than 0.

Signed-off-by: Dimitris Michailidis <dm@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/cxgb4/cxgb4_main.c
drivers/net/cxgb4/t4_hw.h