ethtool: add register dump support for intel 82575 chipsets (igb driver)
Subsystems (3)
PATCH 1/2 ethtool: add register dump support for intel 82575 chipsets (igb driver)
From: Nicholas Nunley <[email protected]>
Signed-off-by Nicholas Nunley <[email protected]>
Signed-off-by Auke Kok <[email protected]>
---
Makefile.am | 2 ethtool-util.h | 2 ethtool.c | 1 igb.c | 864 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 868 insertions(+), 1 deletions(-)
Makefile.am +1 -1
@@ -5,7 +5,7 @@ EXTRA_DIST = ethtool.8 ethtool.spec.in aclocal.m4 ChangeLog autogen.sh sbin_PROGRAMS = ethtool ethtool_SOURCES = ethtool.c ethtool-copy.h ethtool-util.h \ - amd8111e.c de2104x.c e100.c e1000.c \ + amd8111e.c de2104x.c e100.c e1000.c igb.c \ fec_8xx.c ibm_emac.c ixgb.c natsemi.c \ pcnet32.c realtek.c tg3.c marvell.c vioc.c \ smsc911x.c
ethtool-util.h +2 -0
@@ -30,6 +30,8 @@ int de2104x_dump_regs(struct ethtool_drvinfo *info, struct ethtool_regs *regs);/* Intel(R) PRO/1000 Gigabit Adapter Family */ int e1000_dump_regs (struct ethtool_drvinfo *info,struct ethtool_regs *regs); +int igb_dump_regs (struct ethtool_drvinfo *info,struct ethtool_regs *regs); +/* RealTek PCI */ int realtek_dump_regs (struct ethtool_drvinfo *info,struct ethtool_regs *regs);
ethtool.c +1 -0
@@ -1003,6 +1003,7 @@ static struct { { "r8169", realtek_dump_regs }, { "de2104x", de2104x_dump_regs }, { "e1000", e1000_dump_regs }, + { "igb", igb_dump_regs }, { "ixgb", ixgb_dump_regs }, { "natsemi", natsemi_dump_regs }, { "e100", e100_dump_regs },
igb.c new file +864 -0
864 lines not on this page · raw message
PATCH 2/2 ethtool: add register dump support for intel 82598 chipsets (ixgbe driver)
From: Nicholas Nunley <[email protected]>
Signed-off-by Nicholas Nunley <[email protected]>
Signed-off-by Auke Kok <[email protected]>
---
Makefile.am | 2 ethtool-util.h | 2 ethtool.c | 1 ixgbe.c | 1017 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 1021 insertions(+), 1 deletions(-)
Makefile.am +1 -1
@@ -6,7 +6,7 @@ EXTRA_DIST = ethtool.8 ethtool.spec.in aclocal.m4 ChangeLog autogen.sh sbin_PROGRAMS = ethtool ethtool_SOURCES = ethtool.c ethtool-copy.h ethtool-util.h \ amd8111e.c de2104x.c e100.c e1000.c igb.c \ - fec_8xx.c ibm_emac.c ixgb.c natsemi.c \ + fec_8xx.c ibm_emac.c ixgb.c ixgbe.c natsemi.c \ pcnet32.c realtek.c tg3.c marvell.c vioc.c \ smsc911x.c
ethtool-util.h +2 -0
@@ -56,6 +56,8 @@ int ibm_emac_dump_regs(struct ethtool_drvinfo *info, struct ethtool_regs *regs);/* Intel(R) PRO/10GBe Gigabit Adapter Family */ int ixgb_dump_regs (struct ethtool_drvinfo *info,struct ethtool_regs *regs); +int ixgbe_dump_regs (struct ethtool_drvinfo *info,struct ethtool_regs *regs); +/* Broadcom Tigon3 Ethernet controller */ int tg3_dump_regs (struct ethtool_drvinfo *info,struct ethtool_regs *regs);
ethtool.c +1 -0
@@ -1005,6 +1005,7 @@ static struct { { "e1000", e1000_dump_regs }, { "igb", igb_dump_regs }, { "ixgb", ixgb_dump_regs }, + { "ixgbe", ixgbe_dump_regs }, { "natsemi", natsemi_dump_regs }, { "e100", e100_dump_regs }, { "amd8111e", amd8111e_dump_regs },
ixgbe.c new file +1017 -0
1,017 lines not on this page · raw message
Quoted 11 lines · Auke Kok
From: Nicholas Nunley <[email protected]>
Signed-off-by Nicholas Nunley <[email protected]>Signed-off-by Auke Kok <[email protected]>---
Makefile.am | 2 ethtool-util.h | 2 ethtool.c | 1 igb.c | 864 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 868 insertions(+), 1 deletions(-)
applied 1-2