mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-19 22:17:10 +07:00
c2e866911e
Break KSZ9477 DSA driver into two files in preparation to add more KSZ switch drivers. Add common functions in ksz_common.h so that other KSZ switch drivers can access code in ksz_common.c. Add ksz_spi.h for common functions used by KSZ switch SPI drivers. Signed-off-by: Tristram Ha <Tristram.Ha@microchip.com> Reviewed-by: Woojung Huh <Woojung.Huh@microchip.com> Reviewed-by: Pavel Machek <pavel@ucw.cz> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
17 lines
508 B
Plaintext
17 lines
508 B
Plaintext
config NET_DSA_MICROCHIP_KSZ_COMMON
|
|
tristate
|
|
|
|
menuconfig NET_DSA_MICROCHIP_KSZ9477
|
|
tristate "Microchip KSZ9477 series switch support"
|
|
depends on NET_DSA
|
|
select NET_DSA_TAG_KSZ
|
|
select NET_DSA_MICROCHIP_KSZ_COMMON
|
|
help
|
|
This driver adds support for Microchip KSZ9477 switch chips.
|
|
|
|
config NET_DSA_MICROCHIP_KSZ9477_SPI
|
|
tristate "KSZ9477 series SPI connected switch driver"
|
|
depends on NET_DSA_MICROCHIP_KSZ9477 && SPI
|
|
help
|
|
Select to enable support for registering switches configured through SPI.
|