diff options
author | Pawel Dembicki <paweldembicki@gmail.com> | 2019-07-05 00:29:06 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-07-07 23:16:32 +0200 |
commit | 631e83bf7c0e801f0ab960a97a3228b2dbf9ebeb (patch) | |
tree | 3fba4ab0e6617fe7e17db806d58dfb8f9dd75914 /drivers/net/dsa/Kconfig | |
parent | net: dsa: vsc73xx: Split vsc73xx driver (diff) | |
download | linux-631e83bf7c0e801f0ab960a97a3228b2dbf9ebeb.tar.xz linux-631e83bf7c0e801f0ab960a97a3228b2dbf9ebeb.zip |
net: dsa: vsc73xx: add support for parallel mode
This patch add platform part of vsc73xx driver.
It allows to use chip connected to a parallel memory bus and work in
memory-mapped I/O mode. (aka PI bus in chip manual)
By default device is working in big endian mode.
Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/dsa/Kconfig')
-rw-r--r-- | drivers/net/dsa/Kconfig | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/net/dsa/Kconfig b/drivers/net/dsa/Kconfig index 4ab2aa09e2e4..cf9dbd15dd2d 100644 --- a/drivers/net/dsa/Kconfig +++ b/drivers/net/dsa/Kconfig @@ -116,4 +116,13 @@ config NET_DSA_VITESSE_VSC73XX_SPI ---help--- This enables support for the Vitesse VSC7385, VSC7388, VSC7395 and VSC7398 SparX integrated ethernet switches in SPI managed mode. + +config NET_DSA_VITESSE_VSC73XX_PLATFORM + tristate "Vitesse VSC7385/7388/7395/7398 Platform mode support" + depends on HAS_IOMEM + select NET_DSA_VITESSE_VSC73XX + ---help--- + This enables support for the Vitesse VSC7385, VSC7388, VSC7395 + and VSC7398 SparX integrated ethernet switches, connected over + a CPU-attached address bus and work in memory-mapped I/O mode. endmenu |