summaryrefslogtreecommitdiffstats
path: root/target/linux/generic/files/drivers/net/phy/b53/Kconfig
diff options
context:
space:
mode:
authorJonas Gorski <jogo@openwrt.org>2013-01-23 10:12:33 +0000
committerJonas Gorski <jogo@openwrt.org>2013-01-23 10:12:33 +0000
commitbb0118c66fbf7cefe47b5964188ef5cc53a530f6 (patch)
tree3a61abd3b31fc063bc3b87134278a1a3b5b325fa /target/linux/generic/files/drivers/net/phy/b53/Kconfig
parent3e998d9cf9b157e0fc31e4b6dcc1345db7b4743c (diff)
downloadmaster-31e0f0ae-bb0118c66fbf7cefe47b5964188ef5cc53a530f6.tar.gz
master-31e0f0ae-bb0118c66fbf7cefe47b5964188ef5cc53a530f6.tar.bz2
master-31e0f0ae-bb0118c66fbf7cefe47b5964188ef5cc53a530f6.zip
generic: add b53 swconfig switch driver
Add swconfig switch driver for Broadcom BCM53XX switch chips. Supports switches connected through MDIO, SPI or memory mapped registers, and supports BCM5325, BCM539x, BCM531x5 and the BCM63XX internal switch chips. Tested are BCM5325 trough MDIO, BCM53115 through SPI, and BCM6328. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 35305
Diffstat (limited to 'target/linux/generic/files/drivers/net/phy/b53/Kconfig')
-rw-r--r--target/linux/generic/files/drivers/net/phy/b53/Kconfig30
1 files changed, 30 insertions, 0 deletions
diff --git a/target/linux/generic/files/drivers/net/phy/b53/Kconfig b/target/linux/generic/files/drivers/net/phy/b53/Kconfig
new file mode 100644
index 0000000000..06412522bf
--- /dev/null
+++ b/target/linux/generic/files/drivers/net/phy/b53/Kconfig
@@ -0,0 +1,30 @@
+menuconfig B53
+ tristate "Broadcom bcm53xx managed switch support"
+ depends on SWCONFIG
+ help
+ This driver adds support for Broadcom managed switch chips. It supports
+ BCM5325E, BCM5365, BCM539x, BCM53115 and BCM53125 as well as BCM63XX
+ integrated switches.
+
+config B53_SPI_DRIVER
+ tristate "B53 SPI connected switch driver"
+ depends on B53
+ help
+ Select to enable support for registering switches configured through SPI.
+
+config B53_PHY_DRIVER
+ tristate "B53 MDIO connected switch driver"
+ depends on B53
+ select B53_PHY_FIXUP
+ help
+ Select to enable support for registering switches configured through MDIO.
+
+config B53_MMAP_DRIVER
+ tristate "B53 MMAP connected switch driver"
+ depends on B53
+ help
+ Select to enable support for memory-mapped switches like the BCM63XX
+ integrated switches.
+
+config B53_PHY_FIXUP
+ bool