]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net: dsa: mv88e6xxx: add mv88e6352_g2_scratch_port_has_serdes()
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Thu, 3 Feb 2022 13:30:36 +0000 (13:30 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 3 Feb 2022 14:10:35 +0000 (14:10 +0000)
commit62001548a6da1353064e2e889ec3eaa584893f6c
tree1c07b4035c7cc5739e0484f409d791eba155e20f
parent0947644332cd64a8d04925576d31c68a92620d22
net: dsa: mv88e6xxx: add mv88e6352_g2_scratch_port_has_serdes()

Read the hardware configuration to determine which port is attached
to the serdes.

Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/mv88e6xxx/global2.h
drivers/net/dsa/mv88e6xxx/global2_scratch.c