]> git.baikalelectronics.ru Git - kernel.git/commit
dm9000: handle initial link status
authorAndrew Ruder <andrew.ruder@elecsyscorp.com>
Wed, 4 Jun 2014 22:28:48 +0000 (17:28 -0500)
committerDavid S. Miller <davem@davemloft.net>
Thu, 5 Jun 2014 22:12:11 +0000 (15:12 -0700)
commitbfecd4f83feaeb25b7fbe529ac7b2bd5ba50ed73
tree9e043cd68d4a728ed5562631b52ef2536ee1c82e
parent0dd07e23d5f17a1953057b8c7ee5234b9d2423e6
dm9000: handle initial link status

On the DM9000A/DM9000B force the initial check of the link status.  The
DM9000A/B has a link status changed event and this interrupt bit isn't
always set out of reset when a cable is plugged in.  This results in the
driver not seeing the cable attached link status until the cable is
removed and plugged in again.

Signed-off-by: Andrew Ruder <andrew.ruder@elecsyscorp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/davicom/dm9000.c