bnx2x: refactor nvram read procedure
authorDmitry Kravkov <dmitry@broadcom.com>
Mon, 22 Apr 2013 03:48:06 +0000 (03:48 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 22 Apr 2013 19:34:39 +0000 (15:34 -0400)
commit85640952c5d76553a7ed543b355527e2b2b57b29
tree89ad8d1ceac6fae8681627c7f8788e35d4850fd0
parent91b1c1aab2f70c30fa3efc0d42d63b2e25a6bd68
bnx2x: refactor nvram read procedure

introduce a procedure to read in u32 granularity.

CC: Francious Romieu <romieu@fz.zoreil.com>
Signed-off-by: Dmitry Kravkov <dmitry@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c