Commit 5582f443 authored by Florian Fainelli's avatar Florian Fainelli Committed by David S. Miller

net: dsa: b53: Provide sensible defaults

The SRAB driver is the default way to communicate with the integrated
switch on iProc platforms and the MMAP driver is the way to communicate
with the integrated switch on DSL BCM63xx and CM BCM33xx.
Signed-off-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent c9e4f5f0
...@@ -23,6 +23,7 @@ config B53_MDIO_DRIVER ...@@ -23,6 +23,7 @@ config B53_MDIO_DRIVER
config B53_MMAP_DRIVER config B53_MMAP_DRIVER
tristate "B53 MMAP connected switch driver" tristate "B53 MMAP connected switch driver"
depends on B53 && HAS_IOMEM depends on B53 && HAS_IOMEM
default BCM63XX || BMIPS_GENERIC
help help
Select to enable support for memory-mapped switches like the BCM63XX Select to enable support for memory-mapped switches like the BCM63XX
integrated switches. integrated switches.
...@@ -30,6 +31,7 @@ config B53_MMAP_DRIVER ...@@ -30,6 +31,7 @@ config B53_MMAP_DRIVER
config B53_SRAB_DRIVER config B53_SRAB_DRIVER
tristate "B53 SRAB connected switch driver" tristate "B53 SRAB connected switch driver"
depends on B53 && HAS_IOMEM depends on B53 && HAS_IOMEM
default ARCH_BCM_IPROC
help help
Select to enable support for memory-mapped Switch Register Access Select to enable support for memory-mapped Switch Register Access
Bridge Registers (SRAB) like it is found on the BCM53010 Bridge Registers (SRAB) like it is found on the BCM53010
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