Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/hpcsh/dev/hd64461 Fix arg of intr_establish().



details:   https://anonhg.NetBSD.org/src/rev/56c1f783f370
branches:  trunk
changeset: 754783:56c1f783f370
user:      kiyohara <kiyohara%NetBSD.org@localhost>
date:      Wed May 12 16:41:08 2010 +0000

description:
Fix arg of intr_establish().
  comintr() expects struct com_softc* for arg.

diffstat:

 sys/arch/hpcsh/dev/hd64461/hd64461uart.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 57c2f9754099 -r 56c1f783f370 sys/arch/hpcsh/dev/hd64461/hd64461uart.c
--- a/sys/arch/hpcsh/dev/hd64461/hd64461uart.c  Wed May 12 16:11:05 2010 +0000
+++ b/sys/arch/hpcsh/dev/hd64461/hd64461uart.c  Wed May 12 16:41:08 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: hd64461uart.c,v 1.22 2008/04/28 20:23:22 martin Exp $  */
+/*     $NetBSD: hd64461uart.c,v 1.23 2010/05/12 16:41:08 kiyohara Exp $        */
 
 /*-
  * Copyright (c) 2001, 2002 The NetBSD Foundation, Inc.
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: hd64461uart.c,v 1.22 2008/04/28 20:23:22 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: hd64461uart.c,v 1.23 2010/05/12 16:41:08 kiyohara Exp $");
 
 #include "opt_kgdb.h"
 
@@ -188,7 +188,7 @@
        com_attach_subr(csc);
 
        hd6446x_intr_establish(HD64461_INTC_UART, IST_LEVEL, IPL_TTY,
-           comintr, self);
+           comintr, csc);
 }
 
 STATIC void



Home | Main Index | Thread Index | Old Index