diff options
| author | Marek Vasut <[email protected]> | 2021-05-03 13:31:39 +0200 |
|---|---|---|
| committer | Patrick Delaunay <[email protected]> | 2021-05-28 14:54:16 +0200 |
| commit | 5c54260130a99601c699b447687dc5a82987c769 (patch) | |
| tree | ba5e0946f5f7e978ea7abc1a4ca281d1ccf4a8e3 /include/linux/linux_string.h | |
| parent | 5c38c06ec09b3bad6a2c16ce2e11db18ea5d5faf (diff) | |
ARM: stm32: Add additional ID register check for KSZ8851 presence
Currently the code sets eth1addr only if /ethernet1 alias exists in DT,
the node pointed to by the alias has "micrel,ks8851-mll" compatible
string, and the KSZ8851 CCR register read indicates programmed EEPROM
is not connected.
This is not sufficient to detect cases where the DT still contains the
KSZ8851 nodes, but the chip itself is not present. Extend the detection
to handle these cases.
Signed-off-by: Marek Vasut <[email protected]>
Cc: Patrice Chotard <[email protected]>
Cc: Patrick Delaunay <[email protected]>
Reviewed-by: Patrice Chotard <[email protected]>
Reviewed-by: Patrick Delaunay <[email protected]>
Diffstat (limited to 'include/linux/linux_string.h')
0 files changed, 0 insertions, 0 deletions
