Ethtool: Add Altera Triple Speed Ethernet Support
Subsystems (3)
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
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.
Signed-off-by Vince Bridgers <[email protected]>
--- 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
@@ -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
@@ -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
@@ -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