Use schedsofttty() again (SMPng casualty with intentionally wrong fix

in rev.1.101).

Made this file compile again after move of stuff from <machine.ipl.h>
to <sys/ipl.h>.
This commit is contained in:
Bruce Evans 2000-10-08 14:37:39 +00:00
parent 185fee17ad
commit db8ec2a244
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=66823
3 changed files with 3 additions and 15 deletions

View File

@ -76,11 +76,11 @@
#include <sys/fcntl.h> #include <sys/fcntl.h>
#include <sys/bus.h> #include <sys/bus.h>
#include <sys/interrupt.h> #include <sys/interrupt.h>
#include <sys/ipl.h>
#include <sys/kernel.h> #include <sys/kernel.h>
#include <sys/malloc.h> #include <sys/malloc.h>
#include <sys/syslog.h> #include <sys/syslog.h>
#include <machine/clock.h> #include <machine/clock.h>
#include <machine/ipl.h>
#ifndef SMP #ifndef SMP
#include <machine/lock.h> #include <machine/lock.h>
#endif #endif
@ -1582,11 +1582,7 @@ siointr(unit)
/* ensure an edge for the next interrupt */ /* ensure an edge for the next interrupt */
cy_outb(cy_iobase, CY_CLEAR_INTR, cy_align, 0); cy_outb(cy_iobase, CY_CLEAR_INTR, cy_align, 0);
#if 0
schedsofttty(); schedsofttty();
#else
panic("Fix the i386/isa/cy.c files call to schedsofttty()");
#endif
COM_UNLOCK(); COM_UNLOCK();
} }

View File

@ -76,11 +76,11 @@
#include <sys/fcntl.h> #include <sys/fcntl.h>
#include <sys/bus.h> #include <sys/bus.h>
#include <sys/interrupt.h> #include <sys/interrupt.h>
#include <sys/ipl.h>
#include <sys/kernel.h> #include <sys/kernel.h>
#include <sys/malloc.h> #include <sys/malloc.h>
#include <sys/syslog.h> #include <sys/syslog.h>
#include <machine/clock.h> #include <machine/clock.h>
#include <machine/ipl.h>
#ifndef SMP #ifndef SMP
#include <machine/lock.h> #include <machine/lock.h>
#endif #endif
@ -1582,11 +1582,7 @@ siointr(unit)
/* ensure an edge for the next interrupt */ /* ensure an edge for the next interrupt */
cy_outb(cy_iobase, CY_CLEAR_INTR, cy_align, 0); cy_outb(cy_iobase, CY_CLEAR_INTR, cy_align, 0);
#if 0
schedsofttty(); schedsofttty();
#else
panic("Fix the i386/isa/cy.c files call to schedsofttty()");
#endif
COM_UNLOCK(); COM_UNLOCK();
} }

View File

@ -76,11 +76,11 @@
#include <sys/fcntl.h> #include <sys/fcntl.h>
#include <sys/bus.h> #include <sys/bus.h>
#include <sys/interrupt.h> #include <sys/interrupt.h>
#include <sys/ipl.h>
#include <sys/kernel.h> #include <sys/kernel.h>
#include <sys/malloc.h> #include <sys/malloc.h>
#include <sys/syslog.h> #include <sys/syslog.h>
#include <machine/clock.h> #include <machine/clock.h>
#include <machine/ipl.h>
#ifndef SMP #ifndef SMP
#include <machine/lock.h> #include <machine/lock.h>
#endif #endif
@ -1582,11 +1582,7 @@ siointr(unit)
/* ensure an edge for the next interrupt */ /* ensure an edge for the next interrupt */
cy_outb(cy_iobase, CY_CLEAR_INTR, cy_align, 0); cy_outb(cy_iobase, CY_CLEAR_INTR, cy_align, 0);
#if 0
schedsofttty(); schedsofttty();
#else
panic("Fix the i386/isa/cy.c files call to schedsofttty()");
#endif
COM_UNLOCK(); COM_UNLOCK();
} }