Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/arm/sa11x0 Make this compile again.



details:   https://anonhg.NetBSD.org/src/rev/42629477c6a8
branches:  trunk
changeset: 773524:42629477c6a8
user:      matt <matt%NetBSD.org@localhost>
date:      Sat Feb 04 22:20:38 2012 +0000

description:
Make this compile again.

diffstat:

 sys/arch/arm/sa11x0/sa1111_kbc.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 9608f91ce1a7 -r 42629477c6a8 sys/arch/arm/sa11x0/sa1111_kbc.c
--- a/sys/arch/arm/sa11x0/sa1111_kbc.c  Sat Feb 04 22:11:42 2012 +0000
+++ b/sys/arch/arm/sa11x0/sa1111_kbc.c  Sat Feb 04 22:20:38 2012 +0000
@@ -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 @@
        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;



Home | Main Index | Thread Index | Old Index