Subject: Re: 3c905 (ex) in beige g3 problem
To: Matt Thomas <matt@3am-software.com>
From: Markus W Kilbinger <kilbi@rad.rwth-aachen.de>
List: port-macppc
Date: 10/11/2004 23:46:50
Ok, here the ofw info's:

  0 > dev /  ok
  0 > ls 
  
  Children of the node:
  ff82ea78: /                             [AAPL,PowerMac G3 MacRISC]
  
  Node Adr    Node Name                     Compatible
  
  ff82fee0: /cpus@0
  ff82fff8:   /PowerPC,750@0
  ff830410:     /l2-cache@0,0
  ff830ac8: /chosen@0
  ff830bf8: /memory@0
  ff830d40: /openprom@0
  ff830e00: /AAPL,ROM@ffc00000           [AAPL,ROM]
  ff831048: /options@0
  ff831880: /aliases@0
  ff831bc0: /packages@0
  ff831c48:   /deblocker@0,0
  ff8324c0:   /disk-label@0,0
  ff832fb0:   /obp-tftp@0,0
  ff8359d8:   /mac-files@0,0
  ff837d30:   /mac-parts@0,0
  ff838f18:   /aix-boot@0,0
  ff839420:   /fat-files@0,0
  ff83ae30:   /iso-9660-files@0,0
  ff83b940:   /xcoff-loader@0,0
  ff83c378:   /terminal-emulator@0,0
  ff83c410: /pci@80000000                [grackle]
  ff83d910:   /mac-io@10                 [heathrow]
  ff83ec68:     /mesh@10000              [mesh]
  ff840cf8:       /sd@0,0                [sd]
  ff841a48:       /st@0,0                [st]
  ff8428b0:     /bmac@11000              [bmac]
  ff844ff0:     /escc@13000              [escc CHRP,es0]
  ff845188:       /ch-a@13020            [ch-a CHRP,es2]
  ff845898:       /ch-b@13000            [ch-b CHRP,es3]
  ff845fa8:     /davbus@14000
  ff846090:       /sound@0,0             [awacs screamer]
  ff846180:     /swim3@15000             [swim3]
  ff847888:     /nvram@60000             [nvram]
  ff847980:     /ide@20000               [heathrow-ata]
  ff849b50:       /disk@0,0              [ata-disk atapi-disk]
  ff84bde8:       /disk@0,0              [ata-disk atapi-disk]
  ff84e0d0:     /ide@21000               [heathrow-ata]
  ff8502a0:       /disk@0,0              [ata-disk atapi-disk]
  ff852538:       /disk@0,0              [ata-disk atapi-disk]
  ff854820:     /via-cuda@16000          [via-cuda]
  ff8559a0:       /adb@0,0               [adb]
  ff855ab8:         /keyboard@0,0
  ff8564d8:         /mouse@1,0
  ff856798:       /pram@0,0
  ff856848:       /rtc@0,0               [rtc]
  ff856d78:       /power-mgt@0,0         [power-mgt]
  ff857c00:   /ATY,mach64_3DUPro@12
  ff85ca88:   /pci10b7,9055@f            [pci10b7,9055]
  ff8570d8: /perch@0                     [Whisper]
   ok

  0 > dev /pci@80000000/pci10b7,9055@f  ok
  0 > ls 
  There are no children of node:
  ff85ca88: /pci10b7,9055@f              [pci10b7,9055] ok
  0 > .properties 
  vendor-id               000010b7 
  device-id               00009055 
  revision-id             00000030 
  class-code              00020000 
  interrupts              00000001 
  min-grant               0000000a 
  max-latency             0000000a 
  subsystem-vendor-id     000010b7 
  subsystem-id            00009055 
  devsel-speed            00000001 
  AAPL,interrupts         00000019 
  AAPL,slot-name          C1
  name                    pci10b7,9055
  compatible              pci10b7,9055
  device_type             ethernet
  reg                     00007800 00000000 00000000  00000000 00000000 
  			  01007810 00000000 00000000  00000000 00000080 
  			  02007814 00000000 00000000  00000000 00000080 
  			  02007830 00000000 00000000  00000000 00020000 
  power-consumption       00000000 00000000 
  assigned-addresses      81007810 00000000 00000880  00000000 00000080 
  			  82007830 00000000 80820000  00000000 00020000 
  			  82007814 00000000 80800000  00000000 00000080 
  
   ok

    Matt> Doubtful.  What are the ofw properties for this adapter?

Is above sufficient?

    Matt> Compile ftp://ftp.netbsd.org/pub/NetBSD/misc/matt/ofdump2.c
    Matt> and send me the output -l -p

Or do you need this in addition?

Thanks for the prompt answers/hints.

Anything else I can do/provide?

Markus.