Commit 0c717f6
net: macb: fix for suspend-to-mem feature
When suspending the macb, the management port for the MIIM interface was
disabled. When resuming, the PHY (KSZ8081RNB) was no longer responding.
We have to keep the management port enable to fix this issue.
Moreover, to get an up-to-date backup of the NCFGR register, it has to
be done just before suspending the macb.
Signed-off-by: Ludovic Desroches <ludovic.desroches@microchip.com>
[claudiu.beznea@microchip.com: conform with latest driver version]
Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>1 parent 6e113ec commit 0c717f6
1 file changed
Lines changed: 12 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1884 | 1884 | | |
1885 | 1885 | | |
1886 | 1886 | | |
| 1887 | + | |
| 1888 | + | |
| 1889 | + | |
| 1890 | + | |
| 1891 | + | |
| 1892 | + | |
| 1893 | + | |
1887 | 1894 | | |
1888 | 1895 | | |
1889 | 1896 | | |
1890 | 1897 | | |
1891 | | - | |
| 1898 | + | |
| 1899 | + | |
1892 | 1900 | | |
1893 | 1901 | | |
1894 | | - | |
| 1902 | + | |
| 1903 | + | |
1895 | 1904 | | |
1896 | 1905 | | |
1897 | 1906 | | |
| |||
3650 | 3659 | | |
3651 | 3660 | | |
3652 | 3661 | | |
| 3662 | + | |
3653 | 3663 | | |
3654 | 3664 | | |
3655 | 3665 | | |
| |||
0 commit comments