From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 32311 invoked from network); 22 Mar 2000 17:29:00 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 22 Mar 2000 17:29:00 -0000 Received: from jurassic.park.msu.ru (jurassic.park.msu.ru [195.208.223.243]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id MAA10153 for ; Wed, 22 Mar 2000 12:28:58 -0500 Received: (from ink@localhost) by jurassic.park.msu.ru (8.9.3/8.9.3) id UAA03383 for axp-list@redhat.com; Wed, 22 Mar 2000 20:31:13 +0300 Date: Wed, 22 Mar 2000 20:31:13 +0300 From: Ivan Kokshaysky To: axp-list@redhat.com Subject: irq 7 on AlphaBIOS machines Message-ID: <20000322203113.A3330@jurassic.park.msu.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i I have no idea what the code below was intended to do, but it effectively freezes XT-PIC and all devices on it (keyboard, mouse, IDE etc.) with the first parport interrupt. [For 2.2.x arch/alpha/kernel/irq.c must be fixed] Ivan. --- linux-2.3.99-pre3/arch/alpha/kernel/irq_i8259.c Thu Mar 2 22:35:12 2000 +++ linux/arch/alpha/kernel/irq_i8259.c Wed Mar 22 19:36:50 2000 @@ -146,12 +146,6 @@ */ int j = *(vuip) IACK_SC; j &= 0xff; - if (j == 7) { - if (!(inb(0x20) & 0x80)) { - /* It's only a passive release... */ - return; - } - } handle_irq(j, regs); } #endif