Repository navigation
Commit c484994
Altera TSE: Add missing phydev
Altera network device doesn't come up after
ifconfig eth0 down
ifconfig eth0 up
The reason behind is clearing priv->phydev during tse_shutdown().
The phydev is not restored back at tse_open().
Resubmiting as to follow Tobias Klauser suggestion.
phy_start/phy_stop are called on each ifup/ifdown and
phy_disconnect is called once during the module removal.
Signed-off-by: Kostya Belezko <bkostya@hotmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>1 parent 2b972ac commit c484994
1 file changed
Lines changed: 6 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1170 | 1170 | | |
1171 | 1171 | | |
1172 | 1172 | | |
1173 | | - | |
1174 | | - | |
1175 | | - | |
1176 | | - | |
1177 | 1173 | | |
1178 | 1174 | | |
1179 | 1175 | | |
| |||
1186 | 1182 | | |
1187 | 1183 | | |
1188 | 1184 | | |
1189 | | - | |
1190 | | - | |
| 1185 | + | |
| 1186 | + | |
1191 | 1187 | | |
1192 | | - | |
1193 | | - | |
1194 | | - | |
1195 | 1188 | | |
1196 | 1189 | | |
1197 | 1190 | | |
| |||
1525 | 1518 | | |
1526 | 1519 | | |
1527 | 1520 | | |
| 1521 | + | |
| 1522 | + | |
| 1523 | + | |
| 1524 | + | |
1528 | 1525 | | |
1529 | 1526 | | |
1530 | 1527 | | |
| |||
0 commit comments