Skip to contentSkip to conversation

Ethtool: Add Altera Triple Speed Ethernet Support

PATCH New Vince Bridgers 1 participant 2 messages Apr 24, 2014

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

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

This patch adds Altera Triple Speed Ethernet support to dump registers from Ethtool.

If you find this patch acceptable, please consider this for inclusion.

Thank you,

Vince

Vince Bridgers (1):
Ethtool: Add Altera Triple Speed Ethernet Register Dump Routine

 Makefile.am |    2 +-
 ethtool.c   |    1 +
 internal.h  |    5 +++
 tse.c       |  111 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 118 insertions(+), 1 deletion(-)
 create mode 100644 tse.c
Signature · 1 line
1.7.9.5
#1 lore raw

PATCH 1/1 Ethtool: Add Altera Triple Speed Ethernet Register Dump Routine

This patch adds initial support for Altera Triple Speed Ethernet register dump support.

---
 Makefile.am |    2 +-
 ethtool.c   |    1 +
 internal.h  |    5 +++
 tse.c       |  111 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 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 +5 -0
index 86a64f2..2ca7e1a 100644
@@ -243,6 +243,11 @@ 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 +111 -0

111 lines not on this page · raw message

Signature · 1 line
1.7.9.5