]> git.baikalelectronics.ru Git - kernel.git/commit
ks8851: Update link status during link change interrupt
authorStephen Boyd <sboyd@codeaurora.org>
Thu, 10 May 2012 12:51:30 +0000 (12:51 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 11 May 2012 22:23:34 +0000 (18:23 -0400)
commite794312e6a3e928a2df3e6f4e5e0fae743954383
treee49fc9c6b11546690f8b34dcb5eaf3b3c2372701
parent15dcd45c8aa3f58ab2bf78ca3532bcb667a4ebed
ks8851: Update link status during link change interrupt

If a link change interrupt comes in we just clear the interrupt
and continue along without notifying the upper networking layers
that the link has changed. Use the mii_check_link() function to
update the link status whenever a link change interrupt occurs.

Cc: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/micrel/ks8851.c