Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sh3/dev add missing softintr_establish() call.



details:   https://anonhg.NetBSD.org/src/rev/8bf0e11fb32e
branches:  trunk
changeset: 526220:8bf0e11fb32e
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Sun Apr 28 11:38:48 2002 +0000

description:
add missing softintr_establish() call.

diffstat:

 sys/arch/sh3/dev/sci.c |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 1a1e6b4e1d1a -r 8bf0e11fb32e sys/arch/sh3/dev/sci.c
--- a/sys/arch/sh3/dev/sci.c    Sun Apr 28 11:29:29 2002 +0000
+++ b/sys/arch/sh3/dev/sci.c    Sun Apr 28 11:38:48 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sci.c,v 1.23 2002/04/26 10:22:54 msaitoh Exp $ */
+/* $NetBSD: sci.c,v 1.24 2002/04/28 11:38:48 msaitoh Exp $ */
 
 /*-
  * Copyright (C) 1999 T.Horiuchi and SAITOH Masanobu.  All rights reserved.
@@ -421,6 +421,9 @@
        intc_intr_establish(SH_INTEVT_SCI_TEI, IST_LEVEL, IPL_SERIAL, sciintr,
            sc);
 
+#ifdef __HAVE_GENERIC_SOFT_INTERRUPTS
+       sc->sc_si = softintr_establish(IPL_SOFTSERIAL, scisoft, sc);
+#endif
        SET(sc->sc_hwflags, SCI_HW_DEV_OK);
 
        tp = ttymalloc();



Home | Main Index | Thread Index | Old Index