From 4b7f8b8a626a74bae1a236f754c7896dabfa02bc Mon Sep 17 00:00:00 2001 From: mycroft Date: Fri, 22 Oct 1993 19:33:13 +0000 Subject: [PATCH] It does not make sense to mask a fastintr. --- sys/arch/i386/isa/intr.c | 22 ++-------------------- 1 file changed, 2 insertions(+), 20 deletions(-) diff --git a/sys/arch/i386/isa/intr.c b/sys/arch/i386/isa/intr.c index 8caba27a50ed..c98bd6b4ccae 100644 --- a/sys/arch/i386/isa/intr.c +++ b/sys/arch/i386/isa/intr.c @@ -26,7 +26,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: intr.c,v 1.1 1993/10/22 19:27:40 mycroft Exp $ + * $Id: intr.c,v 1.2 1993/10/22 19:33:13 mycroft Exp $ */ #include @@ -64,7 +64,7 @@ extern IDTVEC(wild); * Register a fast vector. */ void -intr_fasttrap(intr, ih, class) +intr_fasttrap(intr, ih) int intr; struct intrhand *ih; { @@ -82,24 +82,6 @@ intr_fasttrap(intr, ih, class) panic("intr_fasttrap: irq is already slow vector"); fastvec |= intr; - switch (class) { - case DV_DULL: - break; - case DV_DISK: - case DV_TAPE: - biomask |= intr; - break; - case DV_IFNET: - netmask |= intr; - break; - case DV_TTY: - ttymask |= intr; - break; - case DV_CPU: - default: - panic("intr_fasttrap: weird devclass"); - } - ih->ih_count = 0; ih->ih_next = NULL;