Repository navigation
Commit d853d14
net: phy: add an option to disable EEE advertisement
This patch adds an option to disable EEE advertisement in the generic PHY
by providing a mask of prohibited modes corresponding to the value found in
the MDIO_AN_EEE_ADV register.
On some platforms, PHY Low power idle seems to be causing issues, even
breaking the link some cases. The patch provides a convenient way for these
platforms to disable EEE advertisement and work around the issue.
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Tested-by: Yegor Yefremov <yegorslists@googlemail.com>
Tested-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: David S. Miller <davem@davemloft.net>1 parent 436feaf commit d853d14
3 files changed
Lines changed: 77 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1396 | 1396 | | |
1397 | 1397 | | |
1398 | 1398 | | |
| 1399 | + | |
| 1400 | + | |
| 1401 | + | |
1399 | 1402 | | |
1400 | 1403 | | |
1401 | 1404 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1120 | 1120 | | |
1121 | 1121 | | |
1122 | 1122 | | |
| 1123 | + | |
| 1124 | + | |
| 1125 | + | |
| 1126 | + | |
| 1127 | + | |
| 1128 | + | |
| 1129 | + | |
| 1130 | + | |
| 1131 | + | |
| 1132 | + | |
| 1133 | + | |
| 1134 | + | |
| 1135 | + | |
| 1136 | + | |
| 1137 | + | |
| 1138 | + | |
| 1139 | + | |
| 1140 | + | |
| 1141 | + | |
| 1142 | + | |
| 1143 | + | |
| 1144 | + | |
| 1145 | + | |
| 1146 | + | |
| 1147 | + | |
| 1148 | + | |
| 1149 | + | |
| 1150 | + | |
| 1151 | + | |
| 1152 | + | |
| 1153 | + | |
| 1154 | + | |
| 1155 | + | |
| 1156 | + | |
| 1157 | + | |
| 1158 | + | |
| 1159 | + | |
1123 | 1160 | | |
1124 | 1161 | | |
1125 | 1162 | | |
| |||
1178 | 1215 | | |
1179 | 1216 | | |
1180 | 1217 | | |
1181 | | - | |
| 1218 | + | |
| 1219 | + | |
| 1220 | + | |
1182 | 1221 | | |
1183 | 1222 | | |
1184 | 1223 | | |
1185 | 1224 | | |
1186 | | - | |
1187 | | - | |
1188 | | - | |
1189 | | - | |
| 1225 | + | |
| 1226 | + | |
| 1227 | + | |
| 1228 | + | |
| 1229 | + | |
| 1230 | + | |
| 1231 | + | |
1190 | 1232 | | |
1191 | 1233 | | |
1192 | 1234 | | |
| |||
1196 | 1238 | | |
1197 | 1239 | | |
1198 | 1240 | | |
1199 | | - | |
| 1241 | + | |
1200 | 1242 | | |
1201 | 1243 | | |
1202 | 1244 | | |
1203 | 1245 | | |
1204 | 1246 | | |
1205 | | - | |
1206 | | - | |
| 1247 | + | |
| 1248 | + | |
1207 | 1249 | | |
1208 | | - | |
| 1250 | + | |
1209 | 1251 | | |
1210 | 1252 | | |
1211 | 1253 | | |
| |||
1563 | 1605 | | |
1564 | 1606 | | |
1565 | 1607 | | |
| 1608 | + | |
| 1609 | + | |
| 1610 | + | |
| 1611 | + | |
| 1612 | + | |
| 1613 | + | |
| 1614 | + | |
| 1615 | + | |
| 1616 | + | |
| 1617 | + | |
| 1618 | + | |
| 1619 | + | |
| 1620 | + | |
| 1621 | + | |
| 1622 | + | |
1566 | 1623 | | |
1567 | 1624 | | |
1568 | 1625 | | |
| |||
1600 | 1657 | | |
1601 | 1658 | | |
1602 | 1659 | | |
| 1660 | + | |
| 1661 | + | |
| 1662 | + | |
| 1663 | + | |
| 1664 | + | |
1603 | 1665 | | |
1604 | 1666 | | |
1605 | 1667 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
417 | 417 | | |
418 | 418 | | |
419 | 419 | | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
420 | 423 | | |
421 | 424 | | |
422 | 425 | | |
| |||
0 commit comments