Source-Changes-HG archive

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

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



details:   https://anonhg.NetBSD.org/src/rev/126272ba6aea
branches:  netbsd-3-0
changeset: 579339:126272ba6aea
user:      bouyer <bouyer%NetBSD.org@localhost>
date:      Sat Nov 11 21:21:50 2006 +0000

description:
Pull up following revision(s) (requested by bjh21 in ticket #1562):
        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 5ee69616121d -r 126272ba6aea sys/arch/arm/iomd/iomdkbc.c
--- a/sys/arch/arm/iomd/iomdkbc.c       Sat Nov 11 21:01:52 2006 +0000
+++ b/sys/arch/arm/iomd/iomdkbc.c       Sat Nov 11 21:21:50 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.28.1 2006/11/11 21:21:50 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.28.1 2006/11/11 21:21:50 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