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)
commitcf987afc7eb182d04071bed5e2aaea8eb7d17052
treee79d5000d777bd6cc8644a23c6a06ff75f70d861
parent2c6c49ded7a7209fe8618423c457b8000ee528a4
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