Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Nov 1997 12:42:27 +0100 (MET)
From:      Guido van Rooij <guido@gvr.org>
To:        guido@gvr.gvr.org (Guido van Rooij)
Cc:        nate@mt.sri.com, freebsd-mobile@FreeBSD.ORG
Subject:   Re: problems after PAO -> 2.2.5 stable
Message-ID:  <199711021142.MAA03897@gvr.gvr.org>
In-Reply-To: <199711021122.MAA02609@gvr.gvr.org> from Guido van Rooij at "Nov 2, 97 12:22:37 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199711021142.MAA03897>