diff options
author | Jim Quinlan <james.quinlan@broadcom.com> | 2025-02-14 12:39:35 -0500 |
---|---|---|
committer | Krzysztof Wilczyński <kwilczynski@kernel.org> | 2025-03-04 16:03:04 +0000 |
commit | a9ec9fb7385e519a793f2a33da5f748e17a0bc27 (patch) | |
tree | ca15690ac40ffa682274f87a9e4b2f7f5a304285 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 42fd45be82bbb5b6cf0103e9e701d9801709c348 (diff) |
PCI: brcmstb: Make two changes in MDIO register fields
The hardware has been updated with two changes to the MDIO packet
format.
The CMD field used to be 12 bits and now is only 1 bit. 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 4 bits to 5 bits. When
written, the new bit is not contiguous with the other four. However,
this change is backwards compatible because the driver never used
anything other than 0 for the port field's value.
Thus, update the existing code to handle new changes to the hardware
in a backwards-compatible manner.
Signed-off-by: Jim Quinlan <james.quinlan@broadcom.com>
Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com>
Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Link: https://lore.kernel.org/r/20250214173944.47506-8-james.quinlan@broadcom.com
[kwilczynski: commit log]
Signed-off-by: Krzysztof Wilczyński <kwilczynski@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions