Skip to contentSkip to conversation

Ethtool support for the new PowerPC 4xx on-chip ethernet controller driver

PATCH Applied Eugene Surovegin 2 participants 2 messages Aug 31, 2005 – Oct 25, 2005

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

PATCH 1/1 Ethtool support for the new PowerPC 4xx on-chip ethernet controller driver

Jeff,

this patch adds PPC4xx EMAC support to Ethtool. Patch was generated against your Ethtool BK repo - I haven't found anything more recent. Let me know if you have gkernel GIT repository somewhere and I'll redo the patch if needed.

Makefile.am +1 -1
diff -Nru a/Makefile.am b/Makefile.am
@@ -6,7 +6,7 @@
 sbin_PROGRAMS = ethtool
 ethtool_SOURCES = de2104x.c ethtool.c ethtool-copy.h ethtool-util.h natsemi.c \
                   e1000.c realtek.c e100.c tg3.c amd8111e.c pcnet32.c \
-                  fec_8xx.c ixgb.c skge.c
+                  fec_8xx.c ibm_emac.c ixgb.c skge.c
 
 dist-hook:
 	cp $(top_srcdir)/ethtool.spec $(distdir)
ethtool-util.h +3 -0
diff -Nru a/ethtool-util.h b/ethtool-util.h
@@ -45,4 +45,7 @@
 /* SysKonnect Gigabit Yukon Family */
 int skge_dump_regs(struct ethtool_drvinfo *info, struct ethtool_regs *regs);
 
+/* PowerPC 4xx on-chip Ethernet controller */
+int ibm_emac_dump_regs(struct ethtool_drvinfo *info, struct ethtool_regs *regs);
+
 #endif
ethtool.c +1 -0
diff -Nru a/ethtool.c b/ethtool.c
@@ -1015,6 +1015,7 @@
 	{ "fec_8xx", fec_8xx_dump_regs },
 	{ "ixgb", ixgb_dump_regs },
 	{ "skge", skge_dump_regs },
+	{ "ibm_emac", ibm_emac_dump_regs },
 };
 
 static int dump_regs(struct ethtool_drvinfo *info, struct ethtool_regs *regs)
ibm_emac.c new file +244 -0

244 lines not on this page · raw message