]> git.baikalelectronics.ru Git - kernel.git/commit
net: pxa168_eth: fix Ethernet flow control status
authorAntoine Ténart <antoine.tenart@free-electrons.com>
Tue, 30 Sep 2014 14:28:10 +0000 (16:28 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 30 Sep 2014 20:36:12 +0000 (16:36 -0400)
commitba790238005fdf78150096c791603bb16e18149b
treef16826f56d001b541dce8f507f14c12928bbb3ca
parentb6b1a2e4e2bc31d879f17c725cd7c52efa7c79f8
net: pxa168_eth: fix Ethernet flow control status

IEEE 802.3x Ethernet flow control is disabled when bit (1 << 2) is set
in the port status register. Fix the flow control detection in the link
event handling function which was relying on the opposite assumption.

Signed-off-by: Antoine Tenart <antoine.tenart@free-electrons.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/pxa168_eth.c