]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8cb656103ae7c8054a4221e1774d01c62ecd3f8d
treebf539dd8f8fe55bb125447872d6507ae60adc092
parent4dcffbf9622513dc9d2a267a09197ce6ef7a151c
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