Commit 7899dfa
realtek: pcs: rtl931x: separate and reuse 1000base-x config
Move the configuration of 1000Base-X mode into its own function. This
way, redundant code can be replaced by a single function call.
Signed-off-by: Jonas Jelonek <[email protected]>
Link: openwrt/openwrt#21184
Signed-off-by: Hauke Mehrtens <[email protected]>1 parent 5334b41 commit 7899dfa
File tree
1 file changed
+13
-11
lines changed- target/linux/realtek/files-6.12/drivers/net/pcs
1 file changed
+13
-11
lines changedLines changed: 13 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2676 | 2676 | | |
2677 | 2677 | | |
2678 | 2678 | | |
| 2679 | + | |
| 2680 | + | |
| 2681 | + | |
| 2682 | + | |
| 2683 | + | |
| 2684 | + | |
| 2685 | + | |
| 2686 | + | |
| 2687 | + | |
| 2688 | + | |
| 2689 | + | |
2679 | 2690 | | |
2680 | 2691 | | |
2681 | 2692 | | |
| |||
2686 | 2697 | | |
2687 | 2698 | | |
2688 | 2699 | | |
2689 | | - | |
2690 | | - | |
2691 | | - | |
2692 | | - | |
2693 | | - | |
| 2700 | + | |
2694 | 2701 | | |
2695 | 2702 | | |
2696 | 2703 | | |
| |||
2701 | 2708 | | |
2702 | 2709 | | |
2703 | 2710 | | |
2704 | | - | |
2705 | | - | |
2706 | | - | |
2707 | | - | |
2708 | | - | |
2709 | | - | |
| 2711 | + | |
2710 | 2712 | | |
2711 | 2713 | | |
2712 | 2714 | | |
| |||
0 commit comments