[PATCH v2 7/8] PCI: brcmstb: Make two changes in MDIO register fields
Florian Fainelli
florian.fainelli at broadcom.com
Thu Feb 20 10:15:16 PST 2025
On 2/14/2025 9:39 AM, Jim Quinlan wrote:
> The HW team has decided to "tighten" some field definitions in the MDIO
> packet format. Fortunately these two changes may be made in a backwards
> compatible manner.
>
> The CMD field used to be 12 bits and now is one. This change is backwards
> compatible because the field's starting bit position is unchanged and the
> only commands we've used have values 0 and 1.
>
> The PORT field's width has been changed from four to five bits. When
> written, the new bit is not contiguous with the other four. Fortunately,
> this change is backwards compatible because we have never used anything
> other than 0 for the port field's value.
>
> Signed-off-by: Jim Quinlan <james.quinlan at broadcom.com>
Reviewed-by: Florian Fainelli <florian.fainelli at broadcom.com>
--
Florian
More information about the linux-arm-kernel
mailing list