]> git.baikalelectronics.ru Git - kernel.git/commit
Add flow control support flags to gianfar's capabilities
authorPavaluca Matei-B46610 <matei.pavaluca@freescale.com>
Mon, 27 Oct 2014 08:42:42 +0000 (10:42 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 29 Oct 2014 18:33:15 +0000 (14:33 -0400)
commit8728c6033a7da2b1cf8a1ab7c3773dce316052f5
treee79d5000d777bd6cc8644a23c6a06ff75f70d861
parenta15721ea3123f6479d053793331d107c5bc03a08
Add flow control support flags to gianfar's capabilities

The phy device supports 802.3x flow control, but the specific flags are not set
in the phy initialisation code. Flow control flags need to be added to the
supported capabilities of the phydev by the driver.

This is needed in order for ethtool to work ('ethtool -A' code checks for these
flags)

Signed-off-by: Pavaluca Matei <matei.pavaluca@freescale.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/gianfar.c
drivers/net/ethernet/freescale/gianfar.h