Source-Changes-HG archive

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

[src/netbsd-2-1]: src/sys/arch/arm/iomd Pull up following revision(s) (reques...



details:   https://anonhg.NetBSD.org/src/rev/7733078d120b
branches:  netbsd-2-1
changeset: 564230:7733078d120b
user:      bouyer <bouyer%NetBSD.org@localhost>
date:      Sun Oct 22 16:36:12 2006 +0000

description:
Pull up following revision(s) (requested by bjh21 in ticket #10728):
        sys/arch/arm/iomd/iomdkbc.c: revision 1.3
Interpret the argument to iomdkbc_set_poll() correctly.  Quite how we
got this far with it the wrong way around is beyond me.

diffstat:

 sys/arch/arm/iomd/iomdkbc.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (30 lines):

diff -r cd241550bf17 -r 7733078d120b sys/arch/arm/iomd/iomdkbc.c
--- a/sys/arch/arm/iomd/iomdkbc.c       Tue Oct 17 18:26:38 2006 +0000
+++ b/sys/arch/arm/iomd/iomdkbc.c       Sun Oct 22 16:36:12 2006 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: iomdkbc.c,v 1.1 2004/03/13 17:52:02 bjh21 Exp $ */
+/* $NetBSD: iomdkbc.c,v 1.1.24.1 2006/10/22 16:36:12 bouyer Exp $ */
 
 /*-
  * Copyright (c) 2004 Ben Harris
@@ -28,7 +28,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: iomdkbc.c,v 1.1 2004/03/13 17:52:02 bjh21 Exp $");
+__KERNEL_RCSID(0, "$NetBSD: iomdkbc.c,v 1.1.24.1 2006/10/22 16:36:12 bouyer Exp $");
 
 #include <sys/param.h>
 #include <sys/device.h>
@@ -252,9 +252,9 @@
        struct iomdkbc_internal *t = cookie;
 
        if (on)
-               enable_irq(t->t_rxirq[slot]);
+               disable_irq(t->t_rxirq[slot]);
        else
-               disable_irq(t->t_rxirq[slot]);
+               enable_irq(t->t_rxirq[slot]);
 }
 
 static int



Home | Main Index | Thread Index | Old Index