Commit d2a3474
realtek: pcs: make use of SerDes struct in set_autoneg
Also switch set_autoneg (and related helper rtpcs_sds_modify) to the
SerDes struct instead of the plain SerDes id by using just the reference
to the SerDes instance instead of (ctrl, sds_id) tuple. This completes
the transition.
Signed-off-by: Jonas Jelonek <[email protected]>
Link: openwrt/openwrt#21146
Signed-off-by: Robert Marko <[email protected]>
(cherry picked from commit d8dd8bd)1 parent cf03520 commit d2a3474
File tree
1 file changed
+6
-7
lines changed- target/linux/realtek/files-6.12/drivers/net/pcs
1 file changed
+6
-7
lines changedLines changed: 6 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
168 | 168 | | |
169 | 169 | | |
170 | 170 | | |
171 | | - | |
| 171 | + | |
172 | 172 | | |
173 | 173 | | |
174 | 174 | | |
| |||
232 | 232 | | |
233 | 233 | | |
234 | 234 | | |
235 | | - | |
| 235 | + | |
236 | 236 | | |
237 | 237 | | |
238 | 238 | | |
239 | 239 | | |
240 | | - | |
| 240 | + | |
241 | 241 | | |
242 | 242 | | |
243 | 243 | | |
| |||
2975 | 2975 | | |
2976 | 2976 | | |
2977 | 2977 | | |
2978 | | - | |
| 2978 | + | |
2979 | 2979 | | |
2980 | 2980 | | |
2981 | 2981 | | |
| |||
3136 | 3136 | | |
3137 | 3137 | | |
3138 | 3138 | | |
3139 | | - | |
3140 | | - | |
| 3139 | + | |
3141 | 3140 | | |
3142 | 3141 | | |
3143 | 3142 | | |
3144 | | - | |
| 3143 | + | |
3145 | 3144 | | |
3146 | 3145 | | |
3147 | 3146 | | |
| |||
0 commit comments