Subject: Re: Patch (Re: Interrupts)
To: Michael <macallan18@earthlink.net>
From: Tim Kelly <hockey@dialectronics.com>
List: port-macppc
Date: 12/06/2004 22:05:57
At 9:39 PM -0500 12/6/04, Michael wrote:
>Anyway, here's another patch ( corrects some minor oversight, should now
>catch all(?) lost interrupts, not only the PCI ones. Well, at least it
>tries )

I'm getting

Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 2.99.10 (GEN.SD0.ID6.MP) #110: Tue Dec  7 01:35:49 UTC 2004
        lapd@Net7300.my.domain:/usr/src/sys/arch/macppc/compile/GEN.SD0.ID6.MP
total memory = 128 MB
avail memory = 116 MB
no active package
autoconf.c bootpath: scsi-int/@6/netbsdPMP
autoconf.c OF_canon result: /bandit@F2000000/gc@10/mesh@18000/sd@0,0
autoconf.c cbootpath: /bandit@F2000000/gc@10/mesh@18000/sd@6
mainbus0 (root)
cpu0 at mainbus0: 604e (Revision 2.2), ID 0 (primary)
cpu0: HID0 8000c084<EMCP,ICE,DCE,SGE,BHT>
cpu0: 181.82 MHz
cpu1 at mainbus0: 604e (Revision 2.2), ID 1
cpu1: HID0 8000c084<EMCP,ICE,DCE,SGE,BHT>
cpu1: 181.82 MHz
 mapping irq 30 to virq 1
bandit0 at mainbus0 (bootpath member)
pci0 at bandit0 bus 0
pci0: i/o space, memory space enabled
pchb0 at pci0 dev 11 function 0
pchb0: Apple Computer Bandit Host-PCI Bridge (rev. 0x03)
sip0 at pci0 dev 15 function 0: NatSemi DP83815 10/100 Ethernet, rev 00
 mapping irq 25 to virq 2
sip0: interrupting at irq 25
sip0: Ethernet address 00:00:94:cb:df:4c
nsphyter0 at sip0 phy 0: DP83815 10/100 media interface, rev. 1
nsphyter0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
obio0 at pci0 dev 16 function 0 (bootpath member) : addr 0xf3000000
esp0 at obio0 offset 0x10000 irq 12 mapping irq 12 to virq 3
: NCR53C94, 25MHz, SCSI ID 7
scsibus0 at esp0: 8 targets, 8 luns per target
mc0 at obio0 offset 0x11000: irq 14,2,3 mapping irq 14 to virq 4
lost an interrupt! (12)
 mapping irq 3 to virq 5
: address 00:a0:40:71:3e:86
zsc0 at obio0 offset 0x13000: irq 15,16
zstty0 at zsc0 channel 0 (console)
zstty1 at zsc0 channel 1
 mapping irq 15 to virq 6
 mapping irq 16 to virq 7
awacs at obio0 offset 0x14000 not configured
swim3 at obio0 offset 0x15000 not configured
adb0 at obio0 offset 0x16000 irq 18:  mapping irq 18 to virq 8
lost an interrupt! (18)
2 targets
aed0 at adb0 addr 0: ADB Event device
akbd0 at adb0 addr 2: extended keyboard
wskbd0 at akbd0 mux 1
ams0 at adb0 addr 3: 1-button, 100 dpi mouse
wsmouse0 at ams0 mux 0
mesh0 at obio0 offset 0x18000 (bootpath member)  irq 13: 50MHz, SCSI ID 7
scsibus1 at mesh0: 8 targets, 8 luns per target
 mapping irq 13 to virq 9
lost an interrupt! (18)
nvram0 at obio0 offset 0x1d000
bandit1 at mainbus0
pci1 at bandit1 bus 1
pci1: i/o space, memory space enabled
ofb0 at pci1 dev 11 function 0

and then it hung. I only found one line different from your last patch. Is
this correct (comments excepted)?

tim