Subject: Re: sil0680 on ultra 30
To: Andrey Petrov <petrov@netbsd.org>
From: Antonio Marques <froz@icix.org>
List: port-sparc64
Date: 01/15/2004 20:32:15
On Thu, 15 Jan 2004 12:07:28 -0800
Andrey Petrov <petrov@netbsd.org> wrote:
> There is no firmware interrupt mapping for the card. I don't know if
> it's possible to work out somehow by ofw magic. Technically it is possible
> to find out interrupt number from slot position but code has to be
> written. For now the easiest workaround would be to hardcode interrupt
> number into driver. Upper slot is 0 IFRC.
> 
> Can you post ofw configuration?

Not sure what information you are looking for, I hope the following is useful.

ok show-devs
/SUNW,ffb@1e,0
/SUNW,UltraSPARC-II@0,0
/counter-timer@1f,1c00
/pci@1f,2000
/pci@1f,4000
/virtual-memory
/memory@0,40000000
/aliases
/options
/openprom
/chosen
/packages
/pci@1f,4000/raid@2 <-- this is the sil0680
/pci@1f,4000/scsi@3
/pci@1f,4000/network@1,1
/pci@1f,4000/ebus@1
/pci@1f,4000/scsi@3/tape
/pci@1f,4000/scsi@3/disk
/pci@1f,4000/ebus@1/SUNW,CS4231@14,200000
/pci@1f,4000/ebus@1/flashprom@10,0
/pci@1f,4000/ebus@1/eeprom@14,0
/pci@1f,4000/ebus@1/fdthree@14,3023f0
/pci@1f,4000/ebus@1/ecpp@14,3043bc
/pci@1f,4000/ebus@1/su@14,3062f8
/pci@1f,4000/ebus@1/su@14,3083f8
/pci@1f,4000/ebus@1/se@14,400000
/pci@1f,4000/ebus@1/sc@14,500000
/pci@1f,4000/ebus@1/SUNW,pll@14,504000
/pci@1f,4000/ebus@1/power@14,724000
/pci@1f,4000/ebus@1/auxio@14,726000
/openprom/client-services
/packages/ufs-file-system
/packages/sun-keyboard
/packages/SUNW,builtin-drivers
/packages/disk-label
/packages/obp-tftp
/packages/deblocker
/packages/terminal-emulator

ok cd /pci@1f,4000/raid@2
ok .properties
assigned-addresses       81001010 00000000 00000800 00000000 00000008 
                         81001014 00000000 00000808 00000000 00000004 
                         81001018 00000000 00000810 00000000 00000008 
                         8100101c 00000000 00000818 00000000 00000004 
                         81001020 00000000 00000820 00000000 00000010 
                         82001024 00000000 00012000 00000000 00000100 
power-consumption        00000000 007270e0 
reg                      00001000 00000000 00000000 00000000 00000000 
                         01001010 00000000 00000000 00000000 00000008 
                         01001014 00000000 00000000 00000000 00000004 
                         01001018 00000000 00000000 00000000 00000008 
                         0100101c 00000000 00000000 00000000 00000004 
                         01001020 00000000 00000000 00000000 00000010 
                         02001024 00000000 00000000 00000000 00000100 
compatible               70 63 69 31 30 39 35 2c 33 36 38 30 00 70 63 69 
name                     raid
fast-back-to-back 
devsel-speed             00000001 
class-code               00010400 
interrupts               00000001 
max-latency              00000000 
min-grant                00000000 
subsystem-vendor-id      00001095 
subsystem-id             00003680 
revision-id              00000002 
device-id                00000680 
vendor-id                00001095 
ok