Module Name: src
Committed By: matt
Date: Sat Feb 4 22:20:38 UTC 2012
Modified Files:
src/sys/arch/arm/sa11x0: sa1111_kbc.c
Log Message:
Make this compile again.
To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/sys/arch/arm/sa11x0/sa1111_kbc.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/arm/sa11x0/sa1111_kbc.c
diff -u src/sys/arch/arm/sa11x0/sa1111_kbc.c:1.14 src/sys/arch/arm/sa11x0/sa1111_kbc.c:1.15
--- src/sys/arch/arm/sa11x0/sa1111_kbc.c:1.14 Thu Feb 2 19:42:58 2012
+++ src/sys/arch/arm/sa11x0/sa1111_kbc.c Sat Feb 4 22:20:38 2012
@@ -1,4 +1,4 @@
-/* $NetBSD: sa1111_kbc.c,v 1.14 2012/02/02 19:42:58 tls Exp $ */
+/* $NetBSD: sa1111_kbc.c,v 1.15 2012/02/04 22:20:38 matt Exp $ */
/*
* Copyright (c) 2004 Ben Harris.
@@ -57,7 +57,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sa1111_kbc.c,v 1.14 2012/02/02 19:42:58 tls Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sa1111_kbc.c,v 1.15 2012/02/04 22:20:38 matt Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -169,7 +169,7 @@ sackbc_rxint(void *cookie)
if (stat & KBDSTAT_RXF) {
code = bus_space_read_4(sc->iot, sc->ioh, SACCKBD_DATA);
- rnd_add_uint32(&sc->rnd_source, (stat<<8)|data);
+ rnd_add_uint32(&sc->rnd_source, (stat<<8)|code);
if (sc->polling) {
sc->poll_data = code;