Subject: Problems with notebook and IRQ 11.
To: None <current-users@NetBSD.ORG>
From: Michael C. Richardson <mcr@sandelman.ottawa.on.ca>
List: current-users
Date: 07/27/1998 01:23:29
-----BEGIN PGP SIGNED MESSAGE-----


  It was suggested that I use

options		PCIC_ISA_INTR_ALLOC_MASK=0xf3ff

  to make sure that my ep0 wouldn't get allocated IRQ 11. After reading a 
bunch of code, it appears that this only prevents the PCMCIA controller
itself from being allocated IRQ 10 and 11. (Can PCMCIA controllers
share interrupts????)

  If I have my PCMCIA modem inserted, then it gets allocated an IRQ
immediately, (it gets IRQ 5, my second PCMCIA controller gets 9, and then
my ep0 gets 11) and my ep0 only gets an interrupt when it is configured.

  I am going to try two more things:
	1. removing the pcic1 definition from my kernel. (it controls
	my PCMCIA hard disk I assume)
	2. removing my lpt and com0 (since both are useless most of the
	time for me, I don't have a mouse plugged in...)

  I would rather tweak things. Maybe my ep0 and/or pci0 doesn't have the
upper interrupts attached to it? This is a DECpc 425SL (a 486/33)

  The following is what happens when I unplug the modem:

NetBSD 1.3.2 (MORDEN) #1: Sat Jun 20 14:41:38 EDT 1998
    mcr@istari.sandelman.ottawa.on.ca:/corp/network/kernels/compile/MORDEN
cpu0: Intel 486DX (486-class)
real mem  = 8192000
avail mem = 6893568
using 125 buffers containing 512000 bytes of memory
mainbus0 (root)
isa0 at mainbus0
com0 at isa0 port 0x3f8-0x3ff irq 4: ns8250 or ns16450, no fifo
lpt0 at isa0 port 0x378-0x37b irq 7
wdc0 at isa0 port 0x1f0-0x1f7 irq 14
wd0 at wdc0 drive 0: <FUJITSU M2724TA>
wd0: using 16-sector 16-bit pio transfers, lba mode
wd0: 1556MB, 3187836 sec, 512 bytes/sec
npx0 at isa0 port 0xf0-0xff: using exception 16
vt0 at isa0 port 0x60-0x6f irq 1
vt0: wd90c11, 80/132 col, color, 8 scr, mf2-kbd, [R3.32]
vt0: console
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
pcic: does not support memory and I/O cards, ignored (ident=c0)
pcic0 at isa0 port 0x3e0-0x3e1 iomem 0xd0000-0xd3fff: using irq 3
pcic: does not support memory and I/O cards, ignored (ident=c0)
pcic0: controller 0 (Intel 82365SL Revision 1) has sockets A and B
pcic0: controller 1 (Intel 82365SL Revision 1) has socket A only
pcmcia0 at pcic0 controller 0 socket 0
ep0 at pcmcia0 function 0 port 0x300-0x30f: 3Com 3C589 Ethernet
ep0: MAC address 00:a0:24:ac:5c:52
ep0: 8KB byte-wide FIFO, 5:3 Rx:Tx split, utp/aui/bnc (default utp)
pcmcia1 at pcic0 controller 0 socket 1
pcmcia2 at pcic0 controller 1 socket 0
pcic: does not support memory and I/O cards, ignored (ident=40)
pcic: does not support memory and I/O cards, ignored (ident=c0)
pcic1 at isa0 port 0x3e2-0x3e3 iomem 0xd4000-0xd7fff: using irq 5
pcic: does not support memory and I/O cards, ignored (ident=40)
pcic1: controller 1 (Intel 82365SL Revision 1) has socket A only
pcmcia3 at pcic1 controller 1 socket 0
apm0 at mainbus0: Power Management spec V1.1 (BIOS mgmt disabled)
apm0: battery life expectancy: 0%
apm0: A/C state: on
apm0: battery charge state:
apm0: estimated 0m
biomask 4040 netmask 4040 ttymask 40ea
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
pcmcia0: card irq 9


-----BEGIN PGP SIGNATURE-----
Version: 2.6.3ia
Charset: latin1
Comment: Processed by Mailcrypt 3.4, an Emacs/PGP interface

iQB1AwUBNbwOztiXVu0RiA21AQFwOAL9H5QW9atIF09gvUJEmpNx71uNPlGEYYmz
mSdS2hxVW+UWJddn/0QB6q9t4koXKqwbcLTF1Qljrru3MK2SNipyfDOhVZPn8qSc
1Wcg4rLyw7Uzd2Ee8bJ0zcoryuvsJDLG
=Dmpe
-----END PGP SIGNATURE-----