diff options
author | Stephen Hemminger <shemminger@linux-foundation.org> | 2007-04-04 13:40:15 -0700 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-04-05 04:07:27 -0400 |
commit | 9896cd5012e6c76cb5978da424888a06fa666ff4 (patch) | |
tree | 284289d12f2e7a71179b6299df9473d8ffc6a257 | |
parent | ec45cbae2eefffa770f5cf5729a0b5410963b7b8 (diff) | |
download | ethtool-9896cd5012e6c76cb5978da424888a06fa666ff4.tar.gz |
ethtool: marvell chip version decode fix
The chip revision wasn't being decoded properly.
Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
-rw-r--r-- | marvell.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -183,7 +183,7 @@ static void dump_mac(const u8 *r) case 0xb7: printf("Yukon-2 FE"); break; } - printf(" (rev %d)\n", r[0x11a] & 0xf); + printf(" (rev %d)\n", (r[0x11a] & 0xf0) >> 4); printf("Ram Buffer 0x%02X\n", r[0x11c]); |