diff options
author | Steve Hodgson <shodgson@solarflare.com> | 2009-11-28 06:34:05 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-11-29 08:58:50 +0100 |
commit | fdaa9aed21c8c8b529f3c94a5ffa138bf3360b75 (patch) | |
tree | 6db7fd76481b3f87f0f4e94e1bd55c0624fba296 /lib | |
parent | vlan: support "loose binding" to the underlying network device (diff) | |
download | linux-fdaa9aed21c8c8b529f3c94a5ffa138bf3360b75.tar.xz linux-fdaa9aed21c8c8b529f3c94a5ffa138bf3360b75.zip |
sfc: Simplify PHY polling
Falcon can generate events for LASI interrupts from the PHY, but in
practice we have never implemented this in reference designs. Instead
we have polled, inserted the appropriate events, and then handled the
events later. This is a waste of time and code.
Instead, make PHY poll functions update the link state synchronously
and report whether it changed. We can still make use of the LASI
registers as a shortcut on the SFT9001.
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions