/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License, Version 1.0 only
* (the "License"). You may not use this file except in compliance
* with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* or http://www.opensolaris.org/os/licensing.
* See the License for the specific language governing permissions
* and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at usr/src/OPENSOLARIS.LICENSE.
* If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
* Copyright 2003 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*
* #ident "%Z%%M% %I% %E% SMI"
*
* This file creates the system board structure
*/
/*
* define a macro to force a #ident line into the output stream
* otherwise cpp removes it. Use #ifndef because of #included definitions.
*/
#ifndef id
#define id(s) #ident s
#endif
id("%Z%%M% %I% %E% SMI")
/*
* add a Devices table to RMD0
*/
name:/frutree/chassis/RMD0/cdrom
TABLE Devices
ROW
PROP Class string r 0 "cdrom"
REFPROP _cdrom_ name:/platform/pci@1e,600000/ide@d/sd@0,0
ENDROW
ENDTABLE
name:/frutree/chassis/RMD0/tape
TABLE Devices
ROW
PROP Class string r 0 "tape"
REFPROP _tape_ name:/platform/pci@1d,700000/scsi@4/st@4,0
ENDROW
ENDTABLE
/*
* add a Devices table to RMD1
*/
name:/frutree/chassis/RMD1/cdrom
TABLE Devices
ROW
PROP Class string r 0 "cdrom"
REFPROP _cdrom_ name:/platform/pci@1e,600000/ide@d/sd@2,0
ENDROW
ENDTABLE
name:/platform/pci@1e,600000/ide@d/sd@0,0
REFPROP _fru_parent name:/frutree/chassis/RMD0/cdrom
name:/platform/pci@1d,700000/scsi@4/st@4,0
REFPROP _fru_parent name:/frutree/chassis/RMD0/tape
name:/platform/pci@1e,600000/ide@d/sd@2,0
REFPROP _fru_parent name:/frutree/chassis/RMD1/cdrom
/*
* add a Devices table to the SCCR
*/
name:/frutree/chassis/SCCR/sccr
TABLE Devices
ROW
PROP Class string r 0 "temperature-sensor"
REFPROP _temperature-sensor_ name:RMCLOMV/sccr_t_amb
ENDROW
ROW
PROP Class string r 0 "led"
REFPROP _led_ name:RMCLOMV/sccr_act
ENDROW
ROW
PROP Class string r 0 "led"
REFPROP _led_ name:RMCLOMV/sccr_service
ENDROW
ROW
PROP Class string r 0 "led"
REFPROP _led_ name:RMCLOMV/sccr_locate
ENDROW
ROW
PROP Class string r 0 "keyswitch"
REFPROP _keyswitch_ name:RMCLOMV/keyswitch
ENDROW
ENDTABLE
/*
* add a Devices table to the SCSI backplane
*/
name:/frutree/chassis/SCSIBP/scsibp
TABLE Devices
ROW
PROP Class string r 0 "temperature-sensor"
REFPROP _temperature-sensor_ name:RMCLOMV/scsibp_t_enc0
ENDROW
ROW
PROP Class string r 0 "temperature-sensor"
REFPROP _temperature-sensor_ name:RMCLOMV/scsibp_t_enc1
ENDROW
ROW
PROP Class string r 0 "temperature-sensor"
REFPROP _temperature-sensor_ name:RMCLOMV/scsibp_t_enc2
ENDROW
ENDTABLE
/*
* add a Devices table to the system-board
*/
name:/frutree/chassis/MB/system-board
TABLE Devices
ROW
PROP Class string r 0 "temperature-sensor"
REFPROP _temperature-sensor_ name:RMCLOMV/mb_t_enc0
ENDROW
ROW
PROP Class string r 0 "temperature-sensor"
REFPROP _temperature-sensor_ name:RMCLOMV/mb_t_enc1
ENDROW
ROW
PROP Class string r 0 "temperature-sensor"
REFPROP _temperature-sensor_ name:RMCLOMV/mb_t_enc2
ENDROW
ROW
PROP Class string r 0 "temperature-sensor"
REFPROP _temperature-sensor_ name:RMCLOMV/mb_t_enc3
ENDROW
ENDTABLE
/*
* add a Devices table to the service-processor
*/
name:/frutree/chassis/MB/system-board/SC/sc
TABLE Devices
ROW
PROP Class string r 0 "service-processor"
REFPROP _service-processor_ name:RMCLOMV
ENDROW
ENDTABLE
/*
* fru parents for mother-board sensors
*/
name:RMCLOMV/sccr_t_amb
REFPROP _fru_parent name:/frutree/chassis/SCCR/sccr
name:RMCLOMV/mb_t_enc0
REFPROP _fru_parent name:/frutree/chassis/MB/system-board
name:RMCLOMV/mb_t_enc1
REFPROP _fru_parent name:/frutree/chassis/MB/system-board
name:RMCLOMV/mb_t_enc2
REFPROP _fru_parent name:/frutree/chassis/MB/system-board
name:RMCLOMV/mb_t_enc3
REFPROP _fru_parent name:/frutree/chassis/MB/system-board
name:RMCLOMV/scsibp_t_enc0
REFPROP _fru_parent name:/frutree/chassis/SCSIBP/scsibp
name:RMCLOMV/scsibp_t_enc1
REFPROP _fru_parent name:/frutree/chassis/SCSIBP/scsibp
name:RMCLOMV/scsibp_t_enc2
REFPROP _fru_parent name:/frutree/chassis/SCSIBP/scsibp
name:RMCLOMV/sccr_act
REFPROP _fru_parent name:/frutree/chassis/SCCR/sccr
name:RMCLOMV/sccr_service
REFPROP _fru_parent name:/frutree/chassis/SCCR/sccr
name:RMCLOMV/sccr_locate
REFPROP _fru_parent name:/frutree/chassis/SCCR/sccr
PROP IsLocator string r 0 "true"
PROP LocatorName string r 0 "system"
name:RMCLOMV/keyswitch
REFPROP _fru_parent name:/frutree/chassis/SCCR/sccr
PROP Label string r 0 "SYSCTRL"
/*
* add Devices tables for cpu-related sensors
*/
name:/frutree/chassis/MB/system-board/CPU0/cpu
TABLE Devices
ROW
PROP Class string r 0 "cpu"
REFPROP _cpu_ name:/platform/SUNW,UltraSPARC-IIIi@0,0
ENDROW
ROW
PROP Class string r 0 "temperature-sensor"
REFPROP _temperature-sensor_ name:RMCLOMV/mb_cpu0_t_core
ENDROW
ENDTABLE
name:RMCLOMV/mb_cpu0_t_core
REFPROP _fru_parent name:/frutree/chassis/MB/system-board/CPU0/cpu
name:/frutree/chassis/MB/system-board/CPU1/cpu
TABLE Devices
ROW
PROP Class string r 0 "cpu"
REFPROP _cpu_ name:/platform/SUNW,UltraSPARC-IIIi@1,0
ENDROW
ROW
PROP Class string r 0 "temperature-sensor"
REFPROP _temperature-sensor_ name:RMCLOMV/mb_cpu1_t_core
ENDROW
ENDTABLE
name:RMCLOMV/mb_cpu1_t_core
REFPROP _fru_parent name:/frutree/chassis/MB/system-board/CPU1/cpu
name:/frutree/chassis/MB/system-board/DIMM0/mem-module
TABLE Devices
ROW
PROP Class string r 0 "memory-module"
REFPROP _memory-module_ name:/platform/memory-controller@0,0/memory-module-group?ID=0/memory-module?ID=0
ENDROW
ENDTABLE
name:/frutree/chassis/MB/system-board/DIMM1/mem-module
TABLE Devices
ROW
PROP Class string r 0 "memory-module"
REFPROP _memory-module_ name:/platform/memory-controller@0,0/memory-module-group?ID=0/memory-module?ID=1
ENDROW
ENDTABLE
name:/frutree/chassis/MB/system-board/DIMM2/mem-module
TABLE Devices
ROW
PROP Class string r 0 "memory-module"
REFPROP _memory-module_ name:/platform/memory-controller@0,0/memory-module-group?ID=1/memory-module?ID=0
ENDROW
ENDTABLE
name:/frutree/chassis/MB/system-board/DIMM3/mem-module
TABLE Devices
ROW
PROP Class string r 0 "memory-module"
REFPROP _memory-module_ name:/platform/memory-controller@0,0/memory-module-group?ID=1/memory-module?ID=1
ENDROW
ENDTABLE
name:/frutree/chassis/MB/system-board/DIMM4/mem-module
TABLE Devices
ROW
PROP Class string r 0 "memory-module"
REFPROP _memory-module_ name:/platform/memory-controller@1,0/memory-module-group?ID=0/memory-module?ID=0
ENDROW
ENDTABLE
name:/frutree/chassis/MB/system-board/DIMM5/mem-module
TABLE Devices
ROW
PROP Class string r 0 "memory-module"
REFPROP _memory-module_ name:/platform/memory-controller@1,0/memory-module-group?ID=0/memory-module?ID=1
ENDROW
ENDTABLE
name:/frutree/chassis/MB/system-board/DIMM6/mem-module
TABLE Devices
ROW
PROP Class string r 0 "memory-module"
REFPROP _memory-module_ name:/platform/memory-controller@1,0/memory-module-group?ID=1/memory-module?ID=0
ENDROW
ENDTABLE
name:/frutree/chassis/MB/system-board/DIMM7/mem-module
TABLE Devices
ROW
PROP Class string r 0 "memory-module"
REFPROP _memory-module_ name:/platform/memory-controller@1,0/memory-module-group?ID=1/memory-module?ID=1
ENDROW
ENDTABLE
/*
* add tables and fru parents for cpu fans
*/
name:/frutree/chassis/MB/system-board/CPU0/cpu/F0/fan-unit
TABLE Devices
ROW
PROP Class string r 0 "fan"
REFPROP _fan_ name:RMCLOMV/mb_cpu0_f0_rs
ENDROW
ENDTABLE
name:/frutree/chassis/MB/system-board/CPU1/cpu/F0/fan-unit
TABLE Devices
ROW
PROP Class string r 0 "fan"
REFPROP _fan_ name:RMCLOMV/mb_cpu1_f0_rs
ENDROW
ENDTABLE
name:RMCLOMV/mb_cpu0_f0_rs
REFPROP _fru_parent name:/frutree/chassis/MB/system-board/CPU0/cpu/F0/fan-unit
name:RMCLOMV/mb_cpu1_f0_rs
REFPROP _fru_parent name:/frutree/chassis/MB/system-board/CPU1/cpu/F0/fan-unit