Commit 74a7194f authored by Tristram Ha's avatar Tristram Ha Committed by David S. Miller

net: dsa: microchip: rename ksz_spi.c to ksz9477_spi.c

Rename ksz_spi.c to ksz9477_spi.c and update Kconfig in preparation to add
more KSZ switch drivers.
Signed-off-by: default avatarTristram Ha <Tristram.Ha@microchip.com>
Reviewed-by: default avatarWoojung Huh <Woojung.Huh@microchip.com>
Reviewed-by: default avatarPavel Machek <pavel@ucw.cz>
Reviewed-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
Reviewed-by: default avatarAndrew Lunn <andrew@lunn.ch>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 35359278
menuconfig MICROCHIP_KSZ menuconfig NET_DSA_MICROCHIP_KSZ9477
tristate "Microchip KSZ series switch support" tristate "Microchip KSZ9477 series switch support"
depends on NET_DSA depends on NET_DSA
select NET_DSA_TAG_KSZ select NET_DSA_TAG_KSZ
help help
This driver adds support for Microchip KSZ switch chips. This driver adds support for Microchip KSZ9477 switch chips.
config MICROCHIP_KSZ_SPI_DRIVER config NET_DSA_MICROCHIP_KSZ9477_SPI
tristate "KSZ series SPI connected switch driver" tristate "KSZ9477 series SPI connected switch driver"
depends on MICROCHIP_KSZ && SPI depends on NET_DSA_MICROCHIP_KSZ9477 && SPI
help help
Select to enable support for registering switches configured through SPI. Select to enable support for registering switches configured through SPI.
obj-$(CONFIG_MICROCHIP_KSZ) += ksz_common.o obj-$(CONFIG_NET_DSA_MICROCHIP_KSZ9477) += ksz_common.o
obj-$(CONFIG_MICROCHIP_KSZ_SPI_DRIVER) += ksz_spi.o obj-$(CONFIG_NET_DSA_MICROCHIP_KSZ9477_SPI) += ksz9477_spi.o
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment