Skip to content

Commit b3177aa

Browse files
oleremdavem330
authored andcommitted
net: dsa: microchip: ksz8: fix offset for the timestamp filed
We are using wrong offset, so we will get not a timestamp. Fixes: 4b20a07 ("net: dsa: microchip: ksz8795: add support for ksz88xx chips") Signed-off-by: Oleksij Rempel <[email protected]> Acked-by: Arun Ramadoss <[email protected]> Reviewed-by: Florian Fainelli <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 5d90492 commit b3177aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/net/dsa/microchip/ksz_common.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,7 @@ static u8 ksz8863_shifts[] = {
423423
[DYNAMIC_MAC_ENTRIES_H] = 8,
424424
[DYNAMIC_MAC_ENTRIES] = 24,
425425
[DYNAMIC_MAC_FID] = 16,
426-
[DYNAMIC_MAC_TIMESTAMP] = 24,
426+
[DYNAMIC_MAC_TIMESTAMP] = 22,
427427
[DYNAMIC_MAC_SRC_PORT] = 20,
428428
};
429429

0 commit comments

Comments
 (0)