net: dp83822: Print the SOR1 strap status
authorFabio Estevam <festevam@gmail.com>
Tue, 25 Oct 2022 12:01:09 +0000 (09:01 -0300)
committerPaolo Abeni <pabeni@redhat.com>
Thu, 27 Oct 2022 10:48:53 +0000 (12:48 +0200)
commitc926b4c3fa1fdce5e128bc954cad94ca16acce41
tree917ee4523b90d3df415f2e25c2bb8b83d73ff1f4
parent28581b9c2c94cc912354eadc98c1146fdc7092e6
net: dp83822: Print the SOR1 strap status

During the bring-up of the Ethernet PHY, it is very useful to
see the bootstrap status information, as it can help identifying
hardware bootstrap mistakes.

Allow printing the SOR1 register, which contains the strap status
to ease the bring-up.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://lore.kernel.org/r/20221025120109.779337-1-festevam@gmail.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/phy/dp83822.c