Skip to content

Commit

Permalink
net: phy: dp83848: Support ethernet pause frames
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jesper Nilsson authored and David S. Miller committed Dec 5, 2016
1 parent adc176c commit c7a6131
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion drivers/net/phy/dp83848.c
Original file line number Diff line number Diff line change
Expand Up @@ -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, \
Expand Down

0 comments on commit c7a6131

Please sign in to comment.