be2net: fix unnecessary access to hardware to get link, port info
authorAjit Khaparde <ajitk@serverengines.com>
Sun, 29 Nov 2009 17:57:46 +0000 (17:57 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 2 Dec 2009 08:50:26 +0000 (00:50 -0800)
Every time while doing ethtool->get_settings we are accessing
the hardware to get link status and port information.
This is not necessary.  We now use the cached copy for this info
and update it when the link status changes.

From: Suresh R <sureshr@serverengines.com>

Signed-off-by: Ajit Khaparde <ajitk@serverengines.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found