From owner-freebsd-mobile Sun Nov 2 03:42:48 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id DAA16515 for mobile-outgoing; Sun, 2 Nov 1997 03:42:48 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from gvr.gvr.org (root@gvr.gvr.org [194.151.74.97]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id DAA16510 for ; Sun, 2 Nov 1997 03:42:43 -0800 (PST) (envelope-from guido@gvr.org) Received: (from guido@localhost) by gvr.gvr.org (8.8.6/8.8.5) id MAA03897; Sun, 2 Nov 1997 12:42:28 +0100 (MET) From: Guido van Rooij Message-Id: <199711021142.MAA03897@gvr.gvr.org> Subject: Re: problems after PAO -> 2.2.5 stable In-Reply-To: <199711021122.MAA02609@gvr.gvr.org> from Guido van Rooij at "Nov 2, 97 12:22:37 pm" To: guido@gvr.gvr.org (Guido van Rooij) Date: Sun, 2 Nov 1997 12:42:27 +0100 (MET) Cc: nate@mt.sri.com, freebsd-mobile@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL32 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-mobile@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Guido van Rooij wrote: > > Perhaps pccard_alloc_intr should start from the higher interrupts and work > down the list. I did that change and it worked. Perhaps it would even be better to be able to configure the irq the pcic will be using. -Guido this is my patch: cvs diff: Diffing /home/src/src/sys/pccard Index: /home/src/src/sys/pccard/pccard.c =================================================================== RCS file: /home/cvsup/freebsd/CVS/src/sys/pccard/pccard.c,v retrieving revision 1.27.2.3 diff -u -r1.27.2.3 pccard.c --- pccard.c 1997/10/30 00:38:25 1.27.2.3 +++ pccard.c 1997/11/02 11:25:40 @@ -481,7 +481,7 @@ int irq; unsigned int mask; - for (irq = 1; irq < ICU_LEN; irq++) { + for (irq = ICU_LEN-1; irq > 0; irq--) { mask = 1ul << irq; if (!(mask & imask)) continue;