diff options
author | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2006-01-11 23:16:42 -0800 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2006-01-17 08:07:44 -0500 |
commit | 7064b0d88a566b4c373593a55c39ea2d1a53c35f (patch) | |
tree | c7191bca1a8d49b2fa2bc00fe919d5a4649cbbae /e1000.c | |
parent | 42c353ae201f7efce6bf5b94d2a4d26735143880 (diff) | |
download | ethtool-7064b0d88a566b4c373593a55c39ea2d1a53c35f.tar.gz |
[PATCH] e1000: Remove duplex info from CTRL register dump
The duplex control register is used for setting the driver and is not
necessary for debug purposes. The value of the duplex control register is
what the register's current value is and may not reflect the correct status
of te current connection. That is what the duplex status register is used
for. To keep from confusing the user, we are removing the duplex register
from the ethtool dump of the registers.
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Signed-off-by: John Ronciak <john.ronciak@intel.com>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
Diffstat (limited to 'e1000.c')
-rw-r--r-- | e1000.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -282,7 +282,6 @@ e1000_dump_regs(struct ethtool_drvinfo *info, struct ethtool_regs *regs) reg = regs_buff[0]; fprintf(stdout, "0x00000: CTRL (Device control register) 0x%08X\n" - " Duplex: %s\n" " Endian mode (buffers): %s\n" " Link reset: %s\n" " Set link up: %s\n" @@ -291,7 +290,6 @@ e1000_dump_regs(struct ethtool_drvinfo *info, struct ethtool_regs *regs) " Transmit flow control: %s\n" " VLAN mode: %s\n", reg, - reg & E1000_CTRL_FD ? "full" : "half", reg & E1000_CTRL_BEM ? "big" : "little", reg & E1000_CTRL_LRST ? "reset" : "normal", reg & E1000_CTRL_SLU ? "1" : "0", |