ethtool: add register dump support for lan743x chiptes
Subsystems (3)
PATCH 1/1 ethtool: add register dump support for lan743x chiptes
Add LAN743x register dump
Signed-off-by Raju Lakkaraju <[email protected]>
--- Makefile.am | 2 +- ethtool.c | 1 + internal.h | 3 +++ lan743x.c | 73 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 78 insertions(+), 1 deletion(-) create mode 100644 lan743x.c
Makefile.am +1 -1
@@ -18,7 +18,7 @@ ethtool_SOURCES += \ smsc911x.c at76c50x-usb.c sfc.c stmmac.c \ sff-common.c sff-common.h sfpid.c sfpdiag.c \ ixgbevf.c tse.c vmxnet3.c qsfp.c qsfp.h fjes.c lan78xx.c \ - igc.c cmis.c cmis.h bnxt.c + igc.c cmis.c cmis.h bnxt.c lan743x.c endif if ENABLE_BASH_COMPLETION
ethtool.c +1 -0
@@ -1129,6 +1129,7 @@ static const struct { { "fec", fec_dump_regs }, { "igc", igc_dump_regs }, { "bnxt_en", bnxt_dump_regs }, + { "lan743x", lan743x_dump_regs }, }; #endif
internal.h +3 -0
@@ -412,4 +412,7 @@ int igc_dump_regs(struct ethtool_drvinfo *info, struct ethtool_regs *regs);/* Broadcom Ethernet Controller */ int bnxt_dump_regs (struct ethtool_drvinfo *info,struct ethtool_regs *regs); +/* Microchip Ethernet Controller */ +int lan743x_dump_regs (struct ethtool_drvinfo *info,struct ethtool_regs *regs); +#endif /* ETHTOOL_INTERNAL_H__ */
lan743x.c new file +73 -0
73 lines not on this page · raw message
Signature · 1 line
2.25.1