adv(4) bandaid [Was Re: again question about "IRQ 2 problem"]
John Baldwin
jhb at FreeBSD.org
Mon Aug 9 13:06:08 PDT 2004
On Saturday 07 August 2004 11:35 am, Rostislav Krasny wrote:
> --- John Baldwin <jhb at 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 at FreeBSD.org> <>< http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve" = http://www.FreeBSD.org
More information about the freebsd-arch
mailing list