Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Aug 2004 16:04:33 -0400
From:      John Baldwin <jhb@FreeBSD.org>
To:        Rostislav Krasny <rosti_bsd@yahoo.com>
Cc:        freebsd-arch@FreeBSD.org
Subject:   adv(4) bandaid [Was Re: again question about "IRQ 2 problem"]
Message-ID:  <200408091604.33984.jhb@FreeBSD.org>
In-Reply-To: <20040807153543.34382.qmail@web14828.mail.yahoo.com>
References:  <20040807153543.34382.qmail@web14828.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Saturday 07 August 2004 11:35 am, Rostislav Krasny wrote:
> --- John Baldwin <jhb@FreeBSD.org> wrote:
> > This should be fixed in rev 1.35 of sys/kern/subr_rman.c  Please let
> > me know if it is not, thanks!
>
> Thank you very much! The "IRQ 2 problem" is fixed now and that device
> (ed1) is working.
>
> The only strange thing is what I see in 'dmesg -a' output after booting
> in verbose mode (the first "adv1:..." line):

Try this patch to the adv(4) driver to see if your messages go away:

Index: dev/advansys/adv_isa.c
===================================================================
RCS file: /usr/cvs/src/sys/dev/advansys/adv_isa.c,v
retrieving revision 1.26
diff -u -r1.26 adv_isa.c
--- dev/advansys/adv_isa.c	30 May 2004 20:08:24 -0000	1.26
+++ dev/advansys/adv_isa.c	9 Aug 2004 19:17:11 -0000
@@ -117,6 +117,12 @@
 	struct resource	*iores, *irqres;
 
 	/*
+	 * We don't know of any PnP ID's for these cards.
+	 */
+	if (isa_get_logicalid(dev) != 0)
+		return (ENXIO);
+
+	/*
 	 * Default to scanning all possible device locations.
 	 */
 	port_index = 0;

Whoever maintains adv(4) (gibbs@?) might want to look at adding proper PnP 
support if there are any known ISA PnP IDs for the PnP adv(4) cards.

-- 
John Baldwin <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org



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