summaryrefslogtreecommitdiff
path: root/marvell.c
diff options
context:
space:
mode:
Diffstat (limited to 'marvell.c')
-rw-r--r--marvell.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/marvell.c b/marvell.c
index b17548e..1c9b043 100644
--- a/marvell.c
+++ b/marvell.c
@@ -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]);