Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sgimips/include s/sgi/sgimips/



details:   https://anonhg.NetBSD.org/src/rev/1469dba63a65
branches:  trunk
changeset: 517811:1469dba63a65
user:      soren <soren%NetBSD.org@localhost>
date:      Mon Nov 19 17:36:41 2001 +0000

description:
s/sgi/sgimips/
Remove __NO_SOFT_SERIAL_INTERRUPT.

diffstat:

 sys/arch/sgimips/include/intr.h |  24 +++++++++++-------------
 1 files changed, 11 insertions(+), 13 deletions(-)

diffs (81 lines):

diff -r 6d70f03aa476 -r 1469dba63a65 sys/arch/sgimips/include/intr.h
--- a/sys/arch/sgimips/include/intr.h   Mon Nov 19 17:35:15 2001 +0000
+++ b/sys/arch/sgimips/include/intr.h   Mon Nov 19 17:36:41 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: intr.h,v 1.9 2001/06/08 00:09:28 rafal Exp $   */
+/*     $NetBSD: intr.h,v 1.10 2001/11/19 17:36:41 soren Exp $  */
 
 /*
  * Copyright (c) 2000 Soren S. Jorvang
@@ -54,9 +54,7 @@
 #define IST_LEVEL      3       /* level-triggered */
 
 /* Soft interrupt numbers */
-#ifndef __NO_SOFT_SERIAL_INTERRUPT
 #define        IPL_SOFTSERIAL  0       /* serial software interrupts */
-#endif
 #define        IPL_SOFTNET     1       /* network software interrupts */
 #define        IPL_SOFTCLOCK   2       /* clock software interrupts */
 #define        IPL_NSOFT       3
@@ -92,12 +90,12 @@
 
 #define softintr_schedule(arg)                                         \
 do {                                                                   \
-       struct sgi_intrhand *__ih = (arg);                              \
+       struct sgimips_intrhand *__ih = (arg);                          \
        __ih->ih_pending = 1;                                           \
        setsoft(__ih->ih_intrhead->intr_ipl);                           \
 } while (0)
 
-extern struct sgi_intrhand *softnet_intrhand;
+extern struct sgimips_intrhand *softnet_intrhand;
 
 #define        setsoftnet()    softintr_schedule(softnet_intrhand)
 
@@ -113,23 +111,23 @@
 
 #define NINTR  32
 
-struct sgi_intrhand {
-       LIST_ENTRY(sgi_intrhand)
+struct sgimips_intrhand {
+       LIST_ENTRY(sgimips_intrhand)
                ih_q;
        int     (*ih_fun) __P((void *));
        void     *ih_arg;
-       struct  sgi_intr *ih_intrhead;
+       struct  sgimips_intr *ih_intrhead;
        int     ih_pending;
 };
 
-struct sgi_intr {
-       LIST_HEAD(,sgi_intrhand)
+struct sgimips_intr {
+       LIST_HEAD(,sgimips_intrhand)
                intr_q;
        struct  evcnt ih_evcnt;
        unsigned long intr_ipl;
 };
 
-extern struct sgi_intrhand intrtab[];
+extern struct sgimips_intrhand intrtab[];
 
 extern int             _splraise(int);
 extern int             _spllower(int); 
@@ -150,7 +148,7 @@
 #define splbio()        _splraise(biomask)
 #define splnet()        _splraise(netmask)
 #define spltty()        _splraise(ttymask)
-#define        splserial()     spltty()
+#define splserial()    spltty()
 #define splvm()         spltty()
 #define splclock()      _splraise(clockmask)
 #define splstatclock()  splclock()
@@ -173,6 +171,6 @@
 
 
 #endif /* _LOCORE */
-#endif /* _KERNEL */
+#endif /* !_KERNEL */
 
 #endif /* !_SGIMIPS_INTR_H_ */



Home | Main Index | Thread Index | Old Index