OSDN Git Service

net: dsa: ksz8795: convert to phylink_generic_validate()
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Wed, 2 Feb 2022 10:24:18 +0000 (10:24 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 3 Feb 2022 11:47:06 +0000 (11:47 +0000)
commit82fdbb917462c0e839a434a353e199ab0653ddc5
treeb982e9ae8d77cd8ef16308c6e4db5a40d3247148
parent927c9daea9b56cb65fb3d5dfaa3abd96b6c2c4b4
net: dsa: ksz8795: convert to phylink_generic_validate()

Populate the supported interfaces and MAC capabilities for the
Microchip KSZ8795 DSA switch and remove the old validate implementation
to allow DSA to use phylink_generic_validate() for this switch driver.

Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/microchip/ksz8795.c