Skip to contentSkip to conversation

Ethtool: Add Altera Triple Speed Ethernet Support

PATCH Superseded Vince Bridgers 1 participant 2 messages May 29, 2014 – Jun 30, 2014

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

PATCH v3 1/1 Ethtool: Add Altera Triple Speed Ethernet Support

This patch adds Altera Triple Speed Ethernet support for dumping formatted register output from Ethtool.

---
V2: Add version check per review comments
V3: Fix space before tab

---
 Makefile.am |    2 +-
 ethtool.c   |    1 +
 internal.h  |    4 +++
 tse.c       |  112 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 118 insertions(+), 1 deletion(-)
 create mode 100644 tse.c
Makefile.am +1 -1
index fd3b17f..4698d16 100644
@@ -13,7 +13,7 @@ ethtool_SOURCES += \
 		  fec_8xx.c ibm_emac.c ixgb.c ixgbe.c natsemi.c	\
 		  pcnet32.c realtek.c tg3.c marvell.c vioc.c	\
 		  smsc911x.c at76c50x-usb.c sfc.c stmmac.c	\
-		  sfpid.c sfpdiag.c ixgbevf.c
+		  sfpid.c sfpdiag.c ixgbevf.c tse.c
 endif
 
 TESTS = test-cmdline test-features
ethtool.c +1 -0
index 8e968a8..19b8b0c 100644
@@ -910,6 +910,7 @@ static const struct {
 	{ "st_mac100", st_mac100_dump_regs },
 	{ "st_gmac", st_gmac_dump_regs },
 	{ "et131x", et131x_dump_regs },
+	{ "altera_tse", altera_tse_dump_regs },
 #endif
 };
 
internal.h +4 -0
index 86a64f2..a9dfae0 100644
@@ -243,6 +243,10 @@ int st_gmac_dump_regs(struct ethtool_drvinfo *info, struct ethtool_regs *regs);
 /* Et131x ethernet controller */
 int et131x_dump_regs(struct ethtool_drvinfo *info, struct ethtool_regs *regs);
 
+/* Altera TSE 10/100/1000 ethernet controller */
+int altera_tse_dump_regs(struct ethtool_drvinfo *info,
+			 struct ethtool_regs *regs);
+
 /* Rx flow classification */
 int rxclass_parse_ruleopts(struct cmd_context *ctx,
 			   struct ethtool_rx_flow_spec *fsp);
tse.c new file +112 -0

112 lines not on this page · raw message

Signature · 1 line
1.7.9.5
#1 lore raw

Hi all,

Quoted 9 lines · Vince Bridgers

This patch adds Altera Triple Speed Ethernet support for dumping formatted register output from Ethtool.

---
V2: Add version check per review comments
V3: Fix space before tab
---

<snip>

Any chance to review this patch for inclusion into ethtool?

All the best,

Vince