bnx2x: EEE status is read locally
authorYuval Mintz <yuvalmin@broadcom.com>
Mon, 10 Sep 2012 05:51:04 +0000 (05:51 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 10 Sep 2012 20:40:29 +0000 (16:40 -0400)
commit08e9acc25a60e845101840ce6db368dc6d77c3c1
treebf539dd8f8fe55bb125447872d6507ae60adc092
parentfdd6681d92a70b3db73cdb61c6b4053f2f8003b3
bnx2x: EEE status is read locally

This patch aligns the EEE status with that of all other link properties,
by changing the way its accessed - instead of a direct read to the shared
memory, each function maintain its own copy locally.

Signed-off-by: Yuval Mintz <yuvalmin@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
drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c
drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c