Subject: Re: port-sparc64/30343
To: None <port-sparc64-maintainer@netbsd.org, netbsd-bugs@netbsd.org,>
From: Matthias Scheler <tron@zhadum.de>
List: netbsd-bugs
Date: 06/14/2005 22:09:20
On Tue, Jun 14, 2005 at 08:48:16PM +0000, tron@netbsd.org wrote:
> Synopsis: NetBSD-sparc64 seems to have trouble initializing PCI interrupts
> 
> State-Changed-From-To: open->feedback
> State-Changed-By: tron@netbsd.org
> State-Changed-When: Tue, 14 Jun 2005 20:48:15 +0000
> State-Changed-Why:
> PRs *must* be put into state feedback if you have questions for the
> submitter.

Here is the OFW output for the 3Com card:

{0} ok show-devs
[...]
/pci@1f,2000/ethernet@1
[...]
{0} ok dev /pci@1f,2000/ethernet@1
{0} ok .properties
available                82800000 00000000 00120000 00000000 
                         7fee0000 81800000 00000000 00001000 
                         00000000 0000f000 00006176 61696c61 
bus-range                00000080 
                         00000080 
scsi-initiator-id        00000007 
clock-frequency          03ef1480 
version#                 00 00 00 04 
implementation#          00 00 00 00 
address                  fffc6000 
                         fffc4000 
                         fffb6000 
interrupt-map            00800800 00000000 00000000 00000001 f005fd74 00000000 
                         00800800 00000000 00000000 00000002 f005fd74 00000001 
                         00800800 00000000 00000000 00000003 f005fd74 00000002 
                         00800800 00000000 00000000 00000004 f005fd74 00000003 
interrupt-map-mask       00fff800 00000000 00000000 00000007 
#interrupt-cells         00000001 
slot-names               00 00 00 02 50 43 49 36 36 20 31 00 
no-probe-list            0
upa-portid               0000001f 
66mhz-capable 
interrupts               000007f0 
                         000007ee 
                         000007ef 
                         000007e5 
                         000007e8 
                         000007f2 
ranges                   00800000 00000000 00000000 000001fe 01000000 00000000 00800000 
                         01000000 00000000 00000000 000001fe 02000000 00000000 00010000 
                         02000000 00000000 00000000 000001ff 00000000 00000000 80000000 
                         03000000 00000000 00000000 000001ff 00000000 00000000 80000000 
reg                      000001fe 00002000 00000000 00002000 
                         000001fe 01800000 00000000 00000100 
                         000001fe 00000000 00000000 0000d000 
bus-parity-generated     
#size-cells              00000002 
#address-cells           00000003 
device_type              pci
name                     pci
model                    SUNW,psycho
compatible               70 63 69 31 30 38 65 2c 38 30 30 30 00 70 63 69 
thermal-interrupt        
{0} ok dev /pci@1f,2000/ethernet@1
{0} ok .properties
assigned-addresses       83800810 00000000 00100000 00000000 00010000 
                         82800830 00000000 00110000 00000000 00010000 
power-consumption        00000000 007270e0 
reg                      00800800 00000000 00000000 00000000 00000000 
                         03800810 00000000 00000000 00000000 00010000 
                         02800830 00000000 00000000 00000000 00010000 
compatible               70 63 69 31 34 65 34 2c 31 36 34 35 2e 31 30 62 
name                     ethernet
66mhz-capable 
fast-back-to-back 
devsel-speed             00000001 
class-code               00020000 
interrupts               00000001 
max-latency              00000000 
min-grant                00000040 
subsystem-vendor-id      000010b7 
subsystem-id             00001006 
revision-id              00000015 
device-id                00001645 
vendor-id                000014e4 

And here is output from "ofdump":

[Caching 41 nodes and 376 properties]
f0029970: /SUNW,Ultra-60
f002cbb4:   /packages
f0033d38:     /terminal-emulator
f0036a74:     /deblocker
f0037150:     /obp-tftp
f0041f10:     /disk-label
f005b764:     /SUNW,builtin-drivers
f006923c:     /sun-keyboard
f002cc24:   /chosen
f002cc90:   /openprom
f002cd20:     /client-services
f002cdc8:   /options
f002ce38:   /aliases
f004ca84:   /memory@0,80000000
f004d064:   /virtual-memory
f005fd74:   /pci@1f,4000
f00614f4:     /ebus@1
f0061a30:       /auxio@14,726000
f0061af0:       /power@14,724000
f0061b80:       /SUNW,pll@14,504000
f0061c14:       /sc@14,500000
f0061cc8:       /se@14,400000
f00635f8:       /su@14,3083f8
f0064e58:       /su@14,3062f8
f0064f74:       /ecpp@14,3043bc
f0065074:       /fdthree@14,3023f0
f0066b58:       /eeprom@14,0
f0066c40:       /flashprom@10,0
f006dea8:       /SUNW,CS4231@14,200000
f00778d8:     /network@1,1
f007f0a0:     /scsi@3
f0082e84:       /disk
f0083a48:       /tape
f0084774:     /scsi@3,1
f0088558:       /disk
f008911c:       /tape
f00605f0:   /pci@1f,2000
f0089fbc:     /ethernet@1
f00611fc:   /counter-timer@1f,1c00
f006d538:   /SUNW,UltraSPARC-II@1c,0
f006d8a4:   /SUNW,UltraSPARC-II@1c,0
f006e4b8:   /SUNW,afb@1f,0

	Kind regards

-- 
Matthias Scheler                                  http://scheler.de/~matthias/