Subject: more fun and games with netbsd1,4 & PCMCIA
To: None <port-i386@netbsd.org>
From: Darren Reed <darrenr@reed.wattle.id.au>
List: port-i386
Date: 05/26/1999 20:22:02
Well, it turns out that if I disable the "soundcard" from the BIOS,
then NetBSD 1.4 can ifconfig ep0 up at IRQ9.  IRQ allocation by NetBSD
is as follows (in this situation):

pciide0: primary channel interrupting at irq 14
pciide0: secondary channel interrupting at irq 14
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550, working fifo
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550, working fifo
lpt0 at isa0 port 0x378-0x37b irq 7
pckbc0: using irq 1 for kbd slot
pckbc0: using irq 12 for aux slot
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
pcic0 at isa0 port 0x3e0-0x3e1 iomem 0xd0000-0xd3fff: using irq 5

However, if I enable the sound card at IRQ11, I see this in terms of IRQ
allocation at bootup:

pciide0: primary channel interrupting at irq 14
pciide0: secondary channel interrupting at irq 14
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550, working fifo
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550, working fifo
lpt0 at isa0 port 0x378-0x37b irq 7
sb0 at isa0 port 0x220-0x237 irq 5 drq 1: dsp v3.01
wss0 at isa0 port 0x530-0x537 irq 10 drq 0 drq2 1: CS4231 or AD1845
pckbc0: using irq 1 for kbd slot
pckbc0: using irq 12 for aux slot
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
pcic0 at isa0 port 0x3e0-0x3e1 iomem 0xd0000-0xd3fff: using irq 9

Then if I do an "ifconfig ep0 up" it tries to use irq11 AGAIN!
pcmcia1: card irq 11
<freeze>

Now WTF is it putting pcic0 at IRQ9 and why does ep0 end up at IRQ11 ?!

Darren