Skip to content

Commit b584eb5

Browse files
hgutchhgutch
authored andcommitted
Wii: size of ead is 4 bytes each
1 parent e734b5c commit b584eb5

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

sys/arch/evbppc/wii/dev/rtcsram.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* $NetBSD: rtcsram.c,v 1.3 2025/09/07 21:45:13 thorpej Exp $ */
1+
/* $NetBSD: rtcsram.c,v 1.4 2025/10/13 23:31:22 hgutch Exp $ */
22

33
/*-
44
* Copyright (c) 2024 Jared McNeill <jmcneill@invisible.ca>
@@ -27,7 +27,7 @@
2727
*/
2828

2929
#include <sys/cdefs.h>
30-
__KERNEL_RCSID(0, "$NetBSD: rtcsram.c,v 1.3 2025/09/07 21:45:13 thorpej Exp $");
30+
__KERNEL_RCSID(0, "$NetBSD: rtcsram.c,v 1.4 2025/10/13 23:31:22 hgutch Exp $");
3131

3232
#include <sys/param.h>
3333
#include <sys/bus.h>
@@ -49,7 +49,7 @@ __KERNEL_RCSID(0, "$NetBSD: rtcsram.c,v 1.3 2025/09/07 21:45:13 thorpej Exp $");
4949

5050
struct rtcsram_sram {
5151
uint16_t checksum[2];
52-
uint16_t ead[2];
52+
uint32_t ead[2];
5353
int32_t counter_bias;
5454
int8_t display_offset_h;
5555
uint8_t ntd;

0 commit comments

Comments
 (0)