Fix back wrong patches.
authormickey <mickey@openbsd.org>
Wed, 20 Mar 1996 00:31:00 +0000 (00:31 +0000)
committermickey <mickey@openbsd.org>
Wed, 20 Mar 1996 00:31:00 +0000 (00:31 +0000)
sys/arch/i386/isa/clock.c
sys/arch/i386/isa/fd.c
sys/arch/i386/isa/isa_machdep.c
sys/arch/i386/isa/isa_machdep.h
sys/arch/i386/isa/lms.c
sys/arch/i386/isa/mms.c
sys/arch/i386/isa/npx.c
sys/arch/i386/isa/pccons.c
sys/arch/i386/isa/pcvt/pcvt_drv.c
sys/arch/i386/isa/pms.c
sys/dev/isa/fd.c

index c4e310a..4c170d5 100644 (file)
@@ -328,7 +328,7 @@ cpu_initclocks()
         * XXX If you're doing strange things with multiple clocks, you might
         * want to keep track of clock handlers.
         */
-       (void)isa_intr_establish(0, IST_PULSE, IPL_CLOCK, clockintr, 0);
+       (void)isa_intr_establish(0, IST_PULSE, IPL_CLOCK, clockintr, 0, "clock");
 }
 
 void
index abd878f..91ab422 100644 (file)
@@ -308,7 +308,7 @@ fdcattach(parent, self, aux)
        isa_establish(&fdc->sc_id, &fdc->sc_dev);
 #endif
        fdc->sc_ih = isa_intr_establish(ia->ia_irq, IST_EDGE, IPL_BIO, fdcintr,
-           fdc);
+           fdc, fdc->sc_dev.dv_xname);
 
        /*
         * The NVRAM info only tells us about the first two disks on the
index 93f22d7..044e947 100644 (file)
@@ -249,12 +249,13 @@ fakeintr(arg)
  * XXX PRONE TO RACE CONDITIONS, UGLY, 'INTERESTING' INSERTION ALGORITHM.
  */
 void *
-isa_intr_establish(irq, type, level, ih_fun, ih_arg)
+isa_intr_establish(irq, type, level, ih_fun, ih_arg, ih_what)
        int irq;
        int type;
        int level;
        int (*ih_fun) __P((void *));
        void *ih_arg;
+       char *ih_what;
 {
        struct intrhand **p, *q, *ih;
        static struct intrhand fakehand = {fakeintr};
@@ -308,6 +309,7 @@ isa_intr_establish(irq, type, level, ih_fun, ih_arg)
        ih->ih_next = NULL;
        ih->ih_level = level;
        ih->ih_irq = irq;
+       ih->ih_what = ih_what;
        *p = ih;
 
        return (ih);
index 495653d..76d4f77 100644 (file)
@@ -89,6 +89,7 @@ struct intrhand {
        struct  intrhand *ih_next;
        int     ih_level;
        int     ih_irq;
+       char    *ih_what;
 };
 
  
index 7c45391..64fade8 100644 (file)
@@ -120,7 +120,7 @@ lmsattach(parent, self, aux)
        sc->sc_state = 0;
 
        sc->sc_ih = isa_intr_establish(ia->ia_irq, IST_PULSE, IPL_TTY, lmsintr,
-           sc);
+           sc, sc->sc_dev.dv_xname);
 }
 
 int
index ae4f144..aa32db4 100644 (file)
@@ -110,7 +110,7 @@ mmsattach(parent, self, aux)
        sc->sc_state = 0;
 
        sc->sc_ih = isa_intr_establish(ia->ia_irq, IST_PULSE, IPL_TTY, mmsintr,
-           sc);
+           sc, sc->sc_dev.dv_xname);
 }
 
 int
index 3ec32a5..46d7f34 100644 (file)
@@ -326,7 +326,7 @@ npxattach(parent, self, aux)
                printf("\n");
                lcr0(rcr0() & ~CR0_NE);
                sc->sc_ih = isa_intr_establish(ia->ia_irq, IST_EDGE, IPL_NONE,
-                   npxintr, 0);
+                   npxintr, 0, sc->sc_dev.dv_xname);
                break;
        case NPX_EXCEPTION:
                printf(": using exception 16\n");
index fefe238..cc952ed 100644 (file)
@@ -471,7 +471,7 @@ pcattach(parent, self, aux)
        do_async_update(1);
 
        sc->sc_ih = isa_intr_establish(ia->ia_irq, IST_EDGE, IPL_TTY, pcintr,
-           sc);
+           sc, sc->sc_dev.dv_xname);
 }
 
 int
index 220b446..0f71a01 100644 (file)
@@ -336,7 +336,7 @@ pcattach(struct isa_device *dev)
 
 #if PCVT_NETBSD > 101
        sc->sc_ih = isa_intr_establish(ia->ia_irq, IST_EDGE, IPL_TTY, pcintr,
-           (void *)0);
+           (void *)0, sc->sc_dev.dv_xname);
 #else /* PCVT_NETBSD > 100 */
        vthand.ih_fun = pcrint;
        vthand.ih_arg = 0;
index 882b1a7..11e89cd 100644 (file)
@@ -193,7 +193,7 @@ pmsattach(parent, self, aux)
        sc->sc_state = 0;
 
        sc->sc_ih = isa_intr_establish(ia->ia_irq, IST_EDGE, IPL_TTY, pmsintr,
-           sc);
+           sc, sc->sc_dev.dv_xname);
 }
 
 int
index abd878f..91ab422 100644 (file)
@@ -308,7 +308,7 @@ fdcattach(parent, self, aux)
        isa_establish(&fdc->sc_id, &fdc->sc_dev);
 #endif
        fdc->sc_ih = isa_intr_establish(ia->ia_irq, IST_EDGE, IPL_BIO, fdcintr,
-           fdc);
+           fdc, fdc->sc_dev.dv_xname);
 
        /*
         * The NVRAM info only tells us about the first two disks on the