Skip to content

Commit

Permalink
net: dsa: add Broadcom SF2 switch driver
Browse files Browse the repository at this point in the history
Add support for the Broadcom Starfigther 2 switch chip using a DSA
driver. This switch driver supports the following features:

- configuration of the external switch port interface: MII, RevMII,
  RGMII and RGMII_NO_ID are supported
- support for the per-port MIB counters
- support for link interrupts for special ports (e.g: MoCA)
- powering up/down of switch memories to conserve power when ports are
  unused

Finally, update the compatible property for the DSA core code to match
our switch top-level compatible node.

Signed-off-by: Florian Fainelli <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
ffainelli authored and davem330 committed Aug 28, 2014
1 parent 5037d53 commit 246d7f7
Show file tree
Hide file tree
Showing 6 changed files with 1,006 additions and 0 deletions.
11 changes: 11 additions & 0 deletions drivers/net/dsa/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,15 @@ config NET_DSA_MV88E6123_61_65
This enables support for the Marvell 88E6123/6161/6165
ethernet switch chips.

config NET_DSA_BCM_SF2
tristate "Broadcom Starfighter 2 Ethernet switch support"
select NET_DSA
select NET_DSA_TAG_BRCM
select FIXED_PHY if NET_DSA_BCM_SF2=y
select BCM7XXX_PHY
select MDIO_BCM_UNIMAC
---help---
This enables support for the Broadcom Starfighter 2 Ethernet
switch chips.

endmenu
1 change: 1 addition & 0 deletions drivers/net/dsa/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ endif
ifdef CONFIG_NET_DSA_MV88E6131
mv88e6xxx_drv-y += mv88e6131.o
endif
obj-$(CONFIG_NET_DSA_BCM_SF2) += bcm_sf2.o
Loading

0 comments on commit 246d7f7

Please sign in to comment.