Commit e432ffc
net: phylink: provide fixed state for 1000base-X and 2500base-X
When decoding clause 22 state, if in-band is disabled and using either
1000base-X or 2500base-X, rather than reporting link-down, we know the
speed, and we only support full duplex. Pause modes taken from XPCS.
This fixes a problem reported by Eric Woudstra.
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Reviewed-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
Tested-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
Link: https://patch.msgid.link/E1tXGei-000EtL-Fn@rmk-PC.armlinux.org.uk
Signed-off-by: Jakub Kicinski <kuba@kernel.org>1 parent 60a331f commit e432ffc
1 file changed
+19
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3882 | 3882 | | |
3883 | 3883 | | |
3884 | 3884 | | |
3885 | | - | |
3886 | | - | |
3887 | | - | |
3888 | | - | |
3889 | | - | |
3890 | | - | |
3891 | 3885 | | |
3892 | 3886 | | |
3893 | | - | |
| 3887 | + | |
| 3888 | + | |
| 3889 | + | |
| 3890 | + | |
| 3891 | + | |
| 3892 | + | |
| 3893 | + | |
3894 | 3894 | | |
3895 | 3895 | | |
3896 | 3896 | | |
3897 | | - | |
| 3897 | + | |
| 3898 | + | |
| 3899 | + | |
| 3900 | + | |
| 3901 | + | |
| 3902 | + | |
| 3903 | + | |
3898 | 3904 | | |
3899 | 3905 | | |
3900 | 3906 | | |
3901 | 3907 | | |
3902 | | - | |
| 3908 | + | |
| 3909 | + | |
3903 | 3910 | | |
| 3911 | + | |
3904 | 3912 | | |
3905 | | - | |
| 3913 | + | |
| 3914 | + | |
3906 | 3915 | | |
3907 | 3916 | | |
3908 | 3917 | | |
| |||
0 commit comments