/* * 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 2005 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. * * #ident "%Z%%M% %I% %E% SMI" * * supported prop types: void, int, uint, float, string * supported prop access_modes: r, w, rw * * VERSION -- supported version number is 1.0 * * name: -- gives the anchor node * where is [@][?=] * * _class: -- gives the anchor node * where is [@][?=] * * NODE * {describes a subtree} * ENDNODE * * PROP [ ] -- per property * * REFPROP * * REFNODE with -- Associates a new node * with if exists * where * is the nodename * is the picl class. * is name: or _class: * * If "name:" or "_class:" is not specified in the , * the default is "name:" * */ /* * 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") /* * There are a lot of nodes below the rmclomv node, define a shortname */ #define RMCLOMV /platform/pci@1e,600000/isa@7/rmc-comm@0,3e8/SUNW,rmclomv /* * add disk leds */ name:/frutree/chassis/HDD0 TABLE Devices ROW PROP Class string r 0 "led" REFPROP _led_ name:RMCLOMV/hdd0_act ENDROW ROW PROP Class string r 0 "led" REFPROP _led_ name:RMCLOMV/hdd0_service ENDROW ROW PROP Class string r 0 "led" REFPROP _led_ name:RMCLOMV/hdd0_ok2rm ENDROW ENDTABLE name:RMCLOMV/hdd0_act REFPROP _location_parent name:/frutree/chassis/HDD0 name:RMCLOMV/hdd0_service REFPROP _location_parent name:/frutree/chassis/HDD0 name:RMCLOMV/hdd0_ok2rm REFPROP _location_parent name:/frutree/chassis/HDD0 name:/frutree/chassis/HDD1 TABLE Devices ROW PROP Class string r 0 "led" REFPROP _led_ name:RMCLOMV/hdd1_act ENDROW ROW PROP Class string r 0 "led" REFPROP _led_ name:RMCLOMV/hdd1_service ENDROW ROW PROP Class string r 0 "led" REFPROP _led_ name:RMCLOMV/hdd1_ok2rm ENDROW ENDTABLE name:RMCLOMV/hdd1_act REFPROP _location_parent name:/frutree/chassis/HDD1 name:RMCLOMV/hdd1_service REFPROP _location_parent name:/frutree/chassis/HDD1 name:RMCLOMV/hdd1_ok2rm REFPROP _location_parent name:/frutree/chassis/HDD1 name:/frutree/chassis/HDD2 TABLE Devices ROW PROP Class string r 0 "led" REFPROP _led_ name:RMCLOMV/hdd2_act ENDROW ROW PROP Class string r 0 "led" REFPROP _led_ name:RMCLOMV/hdd2_service ENDROW ROW PROP Class string r 0 "led" REFPROP _led_ name:RMCLOMV/hdd2_ok2rm ENDROW ENDTABLE name:RMCLOMV/hdd2_act REFPROP _location_parent name:/frutree/chassis/HDD2 name:RMCLOMV/hdd2_service REFPROP _location_parent name:/frutree/chassis/HDD2 name:RMCLOMV/hdd2_ok2rm REFPROP _location_parent name:/frutree/chassis/HDD2 name:/frutree/chassis/HDD3 TABLE Devices ROW PROP Class string r 0 "led" REFPROP _led_ name:RMCLOMV/hdd3_act ENDROW ROW PROP Class string r 0 "led" REFPROP _led_ name:RMCLOMV/hdd3_service ENDROW ROW PROP Class string r 0 "led" REFPROP _led_ name:RMCLOMV/hdd3_ok2rm ENDROW ENDTABLE name:RMCLOMV/hdd3_act REFPROP _location_parent name:/frutree/chassis/HDD3 name:RMCLOMV/hdd3_service REFPROP _location_parent name:/frutree/chassis/HDD3 name:RMCLOMV/hdd3_ok2rm REFPROP _location_parent name:/frutree/chassis/HDD3 /* add disk Device tables and _fru_parent refprops */ #include "fru_HDD0_data.info" #include "fru_HDD1_data.info" #include "fru_HDD2_data.info" #include "fru_HDD3_data.info" name:/frutree/chassis/HCM/hcm TABLE Devices ROW PROP Class string r 0 "hcm" REFPROP _hcm_ name:/platform/pci@1c,600000/cpu?DeviceID=1 ENDROW ENDTABLE /* * power supplies */ #include "fru_PS0_data.info" #include "fru_PS1_data.info" /* * USB ports */ #include "fru_usb-a-1_data.info" #include "fru_usb-a-2_data.info" /* * add tables and fru parents for system fans */ name:/frutree/chassis/F0/fan-unit TABLE Devices ROW PROP Class string r 0 "fan" REFPROP _fan_ name:RMCLOMV/f0_rs ENDROW ENDTABLE name:/frutree/chassis/F1/fan-unit TABLE Devices ROW PROP Class string r 0 "fan" REFPROP _fan_ name:RMCLOMV/f1_rs ENDROW ENDTABLE name:/frutree/chassis/F2/fan-unit TABLE Devices ROW PROP Class string r 0 "fan" REFPROP _fan_ name:RMCLOMV/f2_rs ENDROW ENDTABLE name:/frutree/chassis/F3/fan-unit TABLE Devices ROW PROP Class string r 0 "fan" REFPROP _fan_ name:RMCLOMV/f3_rs ENDROW ENDTABLE name:RMCLOMV/f0_rs REFPROP _fru_parent name:/frutree/chassis/F0/fan-unit name:RMCLOMV/f1_rs REFPROP _fru_parent name:/frutree/chassis/F1/fan-unit name:RMCLOMV/f2_rs REFPROP _fru_parent name:/frutree/chassis/F2/fan-unit name:RMCLOMV/f3_rs REFPROP _fru_parent name:/frutree/chassis/F3/fan-unit /* * Sas_controller */ name:/frutree/chassis/SASPCI/saspci TABLE Devices ROW PROP Class string r 0 "temperature-sensor" REFPROP _temperature-sensor_ name:/platform/pci@1e,600000/isa@7/rmc-comm@0,3e8/SUNW,rmclomv/sas_controller ENDROW ENDTABLE name:/platform/pci@1e,600000/isa@7/rmc-comm@0,3e8/SUNW,rmclomv/sas_controller REFPROP _fru_parent name:/frutree/chassis/SASPCI/saspci