enetc: Add support for 2.5G fixed-link speed
With the v5.13 device-tree update speed of the CPU switch port was changed to 2.5G. Reflect that in the driver. Submitted by: Kornel Duleba <mindal@semihalf.com> Obtained from: Semihalf Sponsored by: Alstom Group
This commit is contained in:
parent
e3bcd07d83
commit
382376f398
@ -287,6 +287,9 @@ enetc_setup_fixed(struct enetc_softc *sc, phandle_t node)
|
||||
case 1000:
|
||||
speed = IFM_1000_T;
|
||||
break;
|
||||
case 2500:
|
||||
speed = IFM_2500_T;
|
||||
break;
|
||||
default:
|
||||
device_printf(sc->dev, "Unsupported link speed value of %d\n",
|
||||
speed);
|
||||
|
Loading…
x
Reference in New Issue
Block a user