]> www.infradead.org Git - users/jedix/linux-maple.git/commit
tg3: Fix link down notify failure when EEE disabled
authorMatt Carlson <mcarlson@broadcom.com>
Wed, 20 Jul 2011 10:20:52 +0000 (10:20 +0000)
committerJoe Jin <joe.jin@oracle.com>
Tue, 15 May 2012 08:36:28 +0000 (16:36 +0800)
commitfa8def1e8795c1679709ba0825e0d55d511b54e2
tree36c9da46803febf20237a7f28f27e9cd9eb51e70
parent7fd3bb97c4d1f8af1022d7f63152678e57d39de8
tg3: Fix link down notify failure when EEE disabled

Occasionally, when the network cable is removed after a successful
autonegotiation, the device will not send a link down interrupt to the
driver.  This happens because of a bad interaction of an EEE
workaround.  The fix is to adjust the code so that the root cause
condition does not happen.

Signed-off-by: Matt Carlson <mcarlson@broadcom.com>
Reviewed-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
(cherry picked from commit b715ce947f51c6637e78b262501f0c4ff9d848cc)

Signed-off-by: Joe Jin <joe.jin@oracle.com>
drivers/net/tg3.c