path: root/tg3.c
AgeCommit message (Collapse)AuthorFilesLines
2011-11-01Combine ethtool-{bitops,util}.h into internal.hBen Hutchings1-1/+1
ethtool-util.h contains all kinds of declarations, not just utility functions or macros. ethtool-bitops.h contains just a few extra definitions, and its only user also includes ethtool-util.h. Signed-off-by: Ben Hutchings <>
2011-08-31ethtool: Uncook tg3 regdump outputMatt Carlson1-23/+7
tg3 devices have changed a lot since the bcm5700 days. Register blocks have been added, removed and redefined. The existing tg3 register dump code has not kept up. This patch changes the tg3_dump_regs() function to be more simplistic. Rather than attempting to locate where meaningful data is, it will instead print the registers as 32-bit values, omitting all registers that have a value of zero. By performing the output this way, we hope to future-proof the interface. Signed-off-by: Matt Carlson <> Signed-off-by: Ben Hutchings <>
2005-11-09[PATCH] ethtool: Format register dump for tg3Michael Chan1-0/+35
Format output of "ethtool -d" for tg3 devices to make it more readable. Each register is displayed as a 32-bit value and the undefined regions in the register space are skipped. Signed-off-by: Michael Chan <> Signed-off-by: Jeff Garzik <>
2005-10-25Initial import of ethtool version 3 + a few patches.Jeff Garzik1-0/+23