diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2014-08-28 00:04:56 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-08-28 05:59:40 (GMT) |
commit | 246d7f773c13cac3e3ab1609fd4ffee520242c63 (patch) | |
tree | 4c29061faa719384ca97859a168b0c3d8d346948 /net/dsa/dsa.c | |
parent | 5037d532b83d7325a2743dffe82882a64697a8e8 (diff) | |
download | linux-246d7f773c13cac3e3ab1609fd4ffee520242c63.tar.xz |
net: dsa: add Broadcom SF2 switch driver
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 <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dsa/dsa.c')
-rw-r--r-- | net/dsa/dsa.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/dsa/dsa.c b/net/dsa/dsa.c index 4dc2a16..484f695 100644 --- a/net/dsa/dsa.c +++ b/net/dsa/dsa.c @@ -635,6 +635,7 @@ struct packet_type dsa_pack_type __read_mostly = { }; static const struct of_device_id dsa_of_match_table[] = { + { .compatible = "brcm,bcm7445-switch-v4.0" }, { .compatible = "marvell,dsa", }, {} }; |