Skip to contentSkip to conversation

ethtool: add register dump support for intel 82575 chipsets (igb driver)

PATCH In review Auke Kok 2 participants 3 messages Aug 15, 2007 – Sep 13, 2007

Subsystems (3)
lore
Share & tools
lore

Auke Kok

author
#0 lore raw

PATCH 1/2 ethtool: add register dump support for intel 82575 chipsets (igb driver)

From: Nicholas Nunley <[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
index 9f4bbd3..7bb58d8 100644
@@ -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
index f429555..1621dfe 100644
@@ -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
index b04f747..29562a7 100644
@@ -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

author
#1 lore raw

PATCH 2/2 ethtool: add register dump support for intel 82598 chipsets (ixgbe driver)

From: Nicholas Nunley <[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
index 7bb58d8..43d1236 100644
@@ -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
index 1621dfe..5572771 100644
@@ -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
index 29562a7..651529e 100644
@@ -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