Subject: Re: Interrupts and many slot machines
To: None <port-macppc@NetBSD.org>
From: Chris Tribo <ctribo@college.dtcc.edu>
List: port-macppc
Date: 12/13/2004 20:45:56
Here's another data point for you now that my machine boots :) If we  
can make a StarFire work in 32 and 64 bit PCI I think we'll have done  
well. I might be able to get my hands on a 9500 or 9600 dp. Lets see  
how many pci bridges we can line up.

NetBSD 2.0 (GENERIC) #0: Wed Dec  1 14:03:55 UTC 2004
	builds@build:/big/builds/ab/netbsd-2-0-RELEASE/macppc/200411300000Z- 
obj/big/builds/ab/netbsd-2-0-RELEASE/src/sys/arch/macppc/compile/ 
GENERIC
total memory = 384 MB
avail memory = 364 MB
mainbus0 (root)
cpu0 at mainbus0: 750 (Revision 2.2), ID 0 (primary)
cpu0: HID0 8290c0a4<EMCP,ECLK,DOZE,DPM,ICE,DCE,SGE,BTIC,BHT>
cpu0: 271.19 MHz, no-parity 512KB WB L2 cache (PB SRAM) at 2:1 ratio
grackle0 at mainbus0
pci0 at grackle0 bus 0
pci0: i/o space, memory space enabled
pchb0 at pci0 dev 0 function 0
pchb0: Motorola MPC106 "Grackle" Host Bridge (rev. 0x40)
fwohci0 at pci0 dev 13 function 0: Texas Instruments TSB12LV26 OHCI  
IEEE 1394 Host Controller (rev. 0x00)
fwohci0: interrupting at irq 23
fwohci0: OHCI 1.0, 00:d0:03:56:00:a1:a0:5b, 400Mb/s, 2048 max_rec, 4  
ir_ctx, 8 it_ctx
ohci0 at pci0 dev 14 function 0: Opti RM861HA (rev. 0x10)
ohci0: interrupting at irq 24
ohci0: OHCI version 1.0, legacy support
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: Opti OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
ppb0 at pci0 dev 15 function 0: Digital Equipment DECchip 21154 PCI-PCI  
Bridge (rev. 0x02)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
sf0 at pci1 dev 4 function 0: ANA-62011 (rev 0) 10/100 Ethernet, rev. 3
pci_intr_map: no mapping for pin A
sf0: unable to map interrupt
sf1 at pci1 dev 5 function 0: ANA-62011 (rev 0) 10/100 Ethernet, rev. 3
pci_intr_map: no mapping for pin B
sf1: unable to map interrupt
sf2 at pci1 dev 6 function 0: ANA-62011 (rev 0) 10/100 Ethernet, rev. 3
pci_intr_map: no mapping for pin C
sf2: unable to map interrupt
sf3 at pci1 dev 7 function 0: ANA-62011 (rev 0) 10/100 Ethernet, rev. 3
pci_intr_map: no mapping for pin D
sf3: unable to map interrupt
obio0 at pci0 dev 16 function 0: addr 0xf3000000
mesh0 at obio0 offset 0x10000 irq 12: 50MHz, SCSI ID 7
scsibus0 at mesh0: 8 targets, 8 luns per target
bm0 at obio0 offset 0x11000 irq 42,33: address 00:05:02:6e:31:29
zsc0 at obio0 offset 0x13000: irq 15,16
zstty0 at zsc0 channel 0
zstty1 at zsc0 channel 1
davbus at obio0 offset 0x14000 not configured
swim3 at obio0 offset 0x15000 not configured
nvram0 at obio0 offset 0x60000
wdc0 at obio0 offset 0x20000 irq 13: DMA transfer
atabus0 at wdc0 channel 0
wdc1 at obio0 offset 0x21000 irq 14: DMA transfer
atabus1 at wdc1 channel 0
adb0 at obio0 offset 0x16000 irq 18: 2 targets
(snip)


pci bus 0x0000 cardnum 0x00 function 0x00: vendor 0x1057 device 0x0002
  Motorola MPC106 [Grackle]
   STATUS    0x2080  COMMAND 0x0006
   CLASS     0x06 0x00 0x00  REVISION 0x40
   BIST      0x00  HEADER 0x00  LATENCY 0x00  CACHE 0x08
   BYTE_0    0x00  BYTE_1  0x00  BYTE_2  0x01  BYTE_3  0x00

pci bus 0x0000 cardnum 0x0d function 0x00: vendor 0x104c device 0x8020
  Texas Instruments TSB12LV26 IEEE-1394 Controller (Link)
  CardVendor 0x104c card 0x8019 (Texas Instruments, Card unknown)
   STATUS    0x0210  COMMAND 0x0016
   CLASS     0x0c 0x00 0x10  REVISION 0x00
   BIST      0x00  HEADER 0x00  LATENCY 0x20  CACHE 0x08
   BASE0     0x81b00000  addr 0x81b00000  MEM
   BASE1     0x81b04000  addr 0x81b04000  MEM
   MAX_LAT   0x04  MIN_GNT 0x03  INT_PIN 0x01  INT_LINE 0x17
   BYTE_0    0x00  BYTE_1  0x00  BYTE_2  0x00  BYTE_3  0x01

pci bus 0x0000 cardnum 0x0e function 0x00: vendor 0x1045 device 0xc861
  OPTi Inc. 82C861
   STATUS    0x0280  COMMAND 0x0016
   CLASS     0x0c 0x03 0x10  REVISION 0x10
   BIST      0x00  HEADER 0x00  LATENCY 0x20  CACHE 0x08
   BASE0     0x81b01000  addr 0x81b01000  MEM
   MAX_LAT   0x00  MIN_GNT 0x00  INT_PIN 0x01  INT_LINE 0x18
   BYTE_0    0x00  BYTE_1  0x0f  BYTE_2  0x00  BYTE_3  0x00

pci bus 0x0000 cardnum 0x0f function 0x00: vendor 0x1011 device 0x0026
  Digital Equipment Corporation DECchip 21154
   STATUS    0x0290  COMMAND 0x0007
   CLASS     0x06 0x04 0x00  REVISION 0x02
   HEADER    0x01  LATENCY 0x20
   PRIBUS    0x00  SECBUS 0x01  SUBBUS 0x01
   SECLT     0x00  SECSTATUS 0x2280
   IOBASE    0x00001000  IOLIM 0x00001fff
   NOPREFETCH_MEMBASE 0x81800000  MEMLIM 0x81afffff
   PREFETCH_MEMBASE   0x0000000081800000  MEMLIM 0x00000000817fffff
   NO_FAST_B2B NO_SEC_BUS_RST NO_M_ABRT NO_VGA_EN ISA_EN NO_SERR_EN  
NO_PERR_EN

pci bus 0x0000 cardnum 0x10 function 0x00: vendor 0x106b device 0x0010
  Apple Computer Inc. Heathrow Mac I/O
   STATUS    0x0200  COMMAND 0x0016
   CLASS     0xff 0x00 0x00  REVISION 0x01
   BIST      0x00  HEADER 0x00  LATENCY 0x20  CACHE 0x08
   BASE0     0xf3000000  addr 0xf3000000  MEM

pci bus 0x0000 cardnum 0x12 function 0x00: vendor 0x1002 device 0x4754
  ATI Technologies Inc 3D Rage I/II 215GT [Mach64 GT]
  CardVendor 0x0000 card 0x0000
   STATUS    0x0280  COMMAND 0x0086
   CLASS     0x03 0x00 0x00  REVISION 0x9a
   BIST      0x00  HEADER 0x00  LATENCY 0x20  CACHE 0x08
   APBASE    0x82000000  addr 0x82000000
   BLOCKIO   0x00002001  addr 0x00002000
   MAX_LAT   0x00  MIN_GNT 0x08  INT_PIN 0x01  INT_LINE 0x16
   SPARSEIO  0x2ec    Sparse IO enabled    Enable 0x46E8

pci bus 0x0001 cardnum 0x04 function 0x00: vendor 0x9004 device 0x6915
  Adaptec ANA620xx/ANA69011A
  CardVendor 0x9004 card 0x0019 (Adaptec ANA62044 4-port 10/100)
   STATUS    0x0290  COMMAND 0x0017
   CLASS     0x02 0x00 0x00  REVISION 0x03
   BIST      0x00  HEADER 0x00  LATENCY 0x20  CACHE 0x08
   BASE0     0x81a80000  addr 0x81a80000  MEM
   BASE1     0x00001c01  addr 0x00001c00  I/O
   BASEROM   0x818c0000  addr 0x818c0000  not-decode-enabled
   MAX_LAT   0x05  MIN_GNT 0x09  INT_PIN 0x01  INT_LINE 0x00
   BYTE_0    0x00  BYTE_1  0x00  BYTE_2  0x21  BYTE_3  0x04

pci bus 0x0001 cardnum 0x05 function 0x00: vendor 0x9004 device 0x6915
  Adaptec ANA620xx/ANA69011A
  CardVendor 0x9004 card 0x0019 (Adaptec ANA62044 4-port 10/100)
   STATUS    0x0290  COMMAND 0x0017
   CLASS     0x02 0x00 0x00  REVISION 0x03
   BIST      0x00  HEADER 0x00  LATENCY 0x20  CACHE 0x08
   BASE0     0x81a00000  addr 0x81a00000  MEM
   BASE1     0x00001801  addr 0x00001800  I/O
   BASEROM   0x81880000  addr 0x81880000  not-decode-enabled
   MAX_LAT   0x05  MIN_GNT 0x09  INT_PIN 0x01  INT_LINE 0x00
   BYTE_0    0x00  BYTE_1  0x00  BYTE_2  0x21  BYTE_3  0x04

pci bus 0x0001 cardnum 0x06 function 0x00: vendor 0x9004 device 0x6915
  Adaptec ANA620xx/ANA69011A
  CardVendor 0x9004 card 0x0019 (Adaptec ANA62044 4-port 10/100)
   STATUS    0x0290  COMMAND 0x0017
   CLASS     0x02 0x00 0x00  REVISION 0x03
   BIST      0x00  HEADER 0x00  LATENCY 0x20  CACHE 0x08
   BASE0     0x81980000  addr 0x81980000  MEM
   BASE1     0x00001401  addr 0x00001400  I/O
   BASEROM   0x81840000  addr 0x81840000  not-decode-enabled
   MAX_LAT   0x05  MIN_GNT 0x09  INT_PIN 0x01  INT_LINE 0x00
   BYTE_0    0x00  BYTE_1  0x00  BYTE_2  0x21  BYTE_3  0x04

pci bus 0x0001 cardnum 0x07 function 0x00: vendor 0x9004 device 0x6915
  Adaptec ANA620xx/ANA69011A
  CardVendor 0x9004 card 0x0019 (Adaptec ANA62044 4-port 10/100)
   STATUS    0x0290  COMMAND 0x0017
   CLASS     0x02 0x00 0x00  REVISION 0x03
   BIST      0x00  HEADER 0x00  LATENCY 0x20  CACHE 0x08
   BASE0     0x81900000  addr 0x81900000  MEM
   BASE1     0x00001001  addr 0x00001000  I/O
   BASEROM   0x81800000  addr 0x81800000  not-decode-enabled
   MAX_LAT   0x05  MIN_GNT 0x09  INT_PIN 0x01  INT_LINE 0x00
   BYTE_0    0x00  BYTE_1  0x00  BYTE_2  0x21  BYTE_3  0x04