Skip to content

Commit c7a6131

Browse files
jniaxdavem330
authored andcommitted
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 <[email protected]> Signed-off-by: Jesper Nilsson <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent adc176c commit c7a6131

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

drivers/net/phy/dp83848.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,9 @@ MODULE_DEVICE_TABLE(mdio, dp83848_tbl);
8888
.phy_id = _id, \
8989
.phy_id_mask = 0xfffffff0, \
9090
.name = _name, \
91-
.features = PHY_BASIC_FEATURES, \
91+
.features = (PHY_BASIC_FEATURES | \
92+
SUPPORTED_Pause | \
93+
SUPPORTED_Asym_Pause), \
9294
.flags = PHY_HAS_INTERRUPT, \
9395
\
9496
.soft_reset = genphy_soft_reset, \

0 commit comments

Comments
 (0)