Subject: how to stop isapnp interrupt sharing?
To: None <port-i386@netbsd.org>
From: John Kohl <jtk@kolvir.arlington.ma.us>
List: port-i386
Date: 12/30/1998 13:52:04
I have a machine with two isapnp devices in it now (ne2000 clone,
on-board CS4236B).

The isapnp code assigns them the same IRQ, on the belief that they'll
share nicely.  However, neither device works properly when this happens.
I had to severely beat sys/dev/isapnp/isapnp.c upside the head to force
the cards onto separate IRQs.

Is there some supported way to force isapnp cards to use different
interrupts?  (Maybe make this the default, so that installations have a
better chance of working in such an environment?)

Dec 29 21:02:16 kolvir /netbsd: isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
...
Dec 29 21:02:16 kolvir /netbsd: isapnp0: read port 0x203
Dec 29 21:02:16 kolvir /netbsd: ne0 at isapnp0 port 0x240/32 irq 5
Dec 29 21:02:16 kolvir /netbsd: ne0: NE2000 Ethernet
Dec 29 21:02:16 kolvir /netbsd: ne0: Ethernet address 00:40:05:4f:70:44
Dec 29 21:02:16 kolvir /netbsd: wss0 at isapnp0 port 0x534/4,0x388/4,0x220/16 irq 5 drq 1,0
Dec 29 21:02:16 kolvir /netbsd: wss0: CS4236B WSS/SB: CS4236/CS4236B
Dec 29 21:02:16 kolvir /netbsd: audio0 at wss0
Dec 29 21:02:16 kolvir /netbsd: joy0 at isapnp0 port 0x200/8
Dec 29 21:02:16 kolvir /netbsd: joy0: CS4236B Game
Dec 29 21:02:16 kolvir /netbsd: joy0: joystick not connected
Dec 29 21:02:16 kolvir /netbsd: isapnp0: <CS4236B, CSC0010, , Ctrl> port 0x120/8 not configured
Dec 29 21:02:16 kolvir /netbsd: isapnp0: <CS4236B, CSC0003, , MPU> port 0x330/2 irq 10 not configured
Dec 29 21:02:24 kolvir /netbsd: ne0: device timeout
[etc.]

-- 
==John Kohl <jtk@kolvir.arlington.ma.us>, <john_kohl@alum.mit.edu>
Write a poem, share your heart!
Home page: <URL:http://people.ne.mediaone.net/jtk/>
Note new home zip code as of July 1, 1998: 02476