aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/phy
diff options
context:
space:
mode:
authorJesper Nilsson <jesper.nilsson@axis.com>2016-12-02 15:57:49 +0100
committerDavid S. Miller <davem@davemloft.net>2016-12-05 13:13:32 -0500
commitc7a61319ad35ef74630662010231dbbcc1ade1b0 (patch)
treeb7b438e2aa3c7008302028f266fecdd401c09a1d /drivers/net/phy
parentipv6 addrconf: Implemented enhanced DAD (RFC7527) (diff)
downloadlinux-dev-c7a61319ad35ef74630662010231dbbcc1ade1b0.tar.xz
linux-dev-c7a61319ad35ef74630662010231dbbcc1ade1b0.zip
net: phy: dp83848: Support ethernet pause frames
According to the documentation, the PHYs supported by this driver can also support pause frames. Announce this to be so. Tested with a TI83822I. Acked-by: Andrew F. Davis <afd@ti.com> Signed-off-by: Jesper Nilsson <jesper.nilsson@axis.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/phy')
-rw-r--r--drivers/net/phy/dp83848.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/phy/dp83848.c b/drivers/net/phy/dp83848.c
index 800b39f06279..320d0dc33b3d 100644
--- a/drivers/net/phy/dp83848.c
+++ b/drivers/net/phy/dp83848.c
@@ -88,7 +88,9 @@ MODULE_DEVICE_TABLE(mdio, dp83848_tbl);
.phy_id = _id, \
.phy_id_mask = 0xfffffff0, \
.name = _name, \
- .features = PHY_BASIC_FEATURES, \
+ .features = (PHY_BASIC_FEATURES | \
+ SUPPORTED_Pause | \
+ SUPPORTED_Asym_Pause), \
.flags = PHY_HAS_INTERRUPT, \
\
.soft_reset = genphy_soft_reset, \