Commit 4eefdc3
net: usb: lan78xx: remove PHY register access from ethtool get_regs
Remove PHY register handling from `lan78xx_get_regs` and
`lan78xx_get_regs_len`. Since the controller can have different PHYs
attached, the first 32 registers are not universally relevant or the
most interesting. Simplify the implementation to focus on MAC and device
registers.
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Signed-off-by: NipaLocal <nipa@local>1 parent dd72c85 commit 4eefdc3
1 file changed
+2
-21
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2096 | 2096 | | |
2097 | 2097 | | |
2098 | 2098 | | |
2099 | | - | |
2100 | | - | |
2101 | | - | |
2102 | | - | |
| 2099 | + | |
2103 | 2100 | | |
2104 | 2101 | | |
2105 | 2102 | | |
| |||
2109 | 2106 | | |
2110 | 2107 | | |
2111 | 2108 | | |
2112 | | - | |
| 2109 | + | |
2113 | 2110 | | |
2114 | 2111 | | |
2115 | 2112 | | |
| |||
2124 | 2121 | | |
2125 | 2122 | | |
2126 | 2123 | | |
2127 | | - | |
2128 | | - | |
2129 | | - | |
2130 | | - | |
2131 | | - | |
2132 | | - | |
2133 | | - | |
2134 | | - | |
2135 | | - | |
2136 | | - | |
2137 | | - | |
2138 | | - | |
2139 | | - | |
2140 | | - | |
2141 | | - | |
2142 | | - | |
2143 | 2124 | | |
2144 | 2125 | | |
2145 | 2126 | | |
| |||
0 commit comments