#106 Readable output of dumping register on e1000e

closed-accepted
5
2009-03-06
2008-11-14
No

I use e1000e driver instead of e1000.
Current output of dumping register (-d option) is this,

% ethtool -d eth0
Offset Values
-------- -----
000: 48 02 14 00 83 07 08 80 02 80 04 04 00 10 00 00
010: 4d 00 00 00 4b 00 00 00 00 00 00 00 fa f0 03 31
020: 00 10 00 00 31 00 00 00 31 00 00 00 08 00 00 00
030: 02 00 00 00 00 ac 00 00 00 00 00 00 00 00 00 00
040: 00 00 00 00 60 0b 00 00 00 ac 00 00 00 00 00 00
050: 60 0b 00 00 00 00 00 00 00 00 00 00 00 ac 00 00
060: 00 38 00 00 00 38 00 00 00 00 00 00 00 00 00 00
070: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

This is too hard to read.
When I use e1000, ethtool prints in more comfortable format,
however network device is same one.
Because ethtool choices function to output by driver name.
So I wrote very little patch to solve this problem.

This patch makes,

% ethtool -d eth0
MAC Registers
-------------
0x00000: CTRL (Device control register) 0x00140248
Endian mode (buffers): little
Link reset: reset
Set link up: 1
Invert Loss-Of-Signal: no
Receive flow control: disabled
Transmit flow control: disabled
...

This is better. Please use attached patch.

Discussion

  • Hitoshi Mitake

    Hitoshi Mitake - 2008-11-14

    patch for ethtool-6

     
  • Jeff Garzik

    Jeff Garzik - 2009-03-06
    • assigned_to: nobody --> jgarzik
    • status: open --> closed-accepted
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks