Skip to contentSkip to conversation

dsa: add support for the Marvell 88E6060 switch chip

PATCH In review Lennert Buytenhek 1 participant 1 message Sep 29, 2008

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 6/6 dsa: add support for the Marvell 88E6060 switch chip

Add support for the Marvell 88E6060 switch chip. This chip only supports the Header and Trailer tagging formats. We don't support the Header tagging format, since that format doesn't provide enough control over where outgoing packets will be sent, so we use the chip in Trailer tagging mode.

---
 net/dsa/Kconfig     |    7 ++
 net/dsa/Makefile    |    1 +
 net/dsa/mv88e6060.c |  293 +++++++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 301 insertions(+), 0 deletions(-)
 create mode 100644 net/dsa/mv88e6060.c
net/dsa/Kconfig +7 -0
index 505aa14..3f2fd39 100644
@@ -28,6 +28,13 @@ config NET_DSA_MV88E6XXX
 	bool
 	default n
 
+config NET_DSA_MV88E6060
+	bool "Marvell 88E6060 ethernet switch chip support"
+	select NET_DSA_TAG_TRAILER
+	---help---
+	  This enables support for the Marvell 88E6060 ethernet switch
+	  chip.
+
 config NET_DSA_MV88E6XXX_NEED_PPU
 	bool
 	default n
net/dsa/Makefile +1 -0
index 63d3c44..2374faf 100644
@@ -5,6 +5,7 @@ obj-$(CONFIG_NET_DSA_TAG_TRAILER) += tag_trailer.o
 
 # switch drivers
 obj-$(CONFIG_NET_DSA_MV88E6XXX) += mv88e6xxx.o
+obj-$(CONFIG_NET_DSA_MV88E6060) += mv88e6060.o
 obj-$(CONFIG_NET_DSA_MV88E6123_61_65) += mv88e6123_61_65.o
 obj-$(CONFIG_NET_DSA_MV88E6131) += mv88e6131.o
 
net/dsa/mv88e6060.c new file +293 -0

293 lines not on this page · raw message

Signature · 1 line
1.5.6.4