Subject: Re: 3Com ep0
To: None <tech-smp@netbsd.org>
From: Noud de Brouwer <noud@knot.nl>
List: tech-smp
Date: 12/08/2001 20:48:48
On 01-Dec-2001 Christos Zoulas <christos@zoulas.com>  wrote:
> never finished it. You can put a hack in isapnp.c

i did:

noud# cat isapnp.c.diff
--- isapnp.c    Sat Dec  1 23:19:33 2001
+++ isapnp.c.new        Sat Dec  8 20:34:07 2001
@@ -268,6 +268,7 @@
 
        if (isa_intr_alloc(ic, ISAPNP_ALLOC_INTR_MASK & i->bits,
                           i->type, &irq) == 0) {
+               if (irq == 3) irq = 5;
                i->num = irq;
                return 0;
        }
noud# 

now my card lives at 5 and comm is on again:

com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
ep0 at isapnp0 port 0x210/16 irq 5
ep0: 3Com 3C509B EtherLink III 

thanx for pointing me toward bestconfig() in sys/dev/isapnp/isapnp.c
Christos!

(still puzzles me: GENERIC does the good thing and GENERIC.MP gave irq 3)
~n


-- 
----------------------------------
  ## UNIX is an abbreviation ##
----------------------------------