Ethtool support for the new PowerPC 4xx on-chip ethernet controller driver
Subsystems (3)
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.
Signed-off-by Eugene Surovegin <[email protected]>
Makefile.am +1 -1
@@ -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
@@ -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
@@ -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
Jeff Garzik
Appliedapplied