/* * 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 2002 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 */ NODE system-board fru PROP SlotType string r 0 "system-board" NODE cpu-slot location PROP SlotType string r 0 "cpu" PROP Label string r 0 "CPU0" PROP Slot uint r 4 0 ENDNODE NODE fan-slot location PROP SlotType string r 0 "fan-unit" PROP Label string r 0 "cpu-fan" PROP Slot uint r 4 0 ENDNODE NODE mem-slot location PROP SlotType string r 0 "memory-module" PROP Slot uint r 4 0 PROP Label string r 0 "DIMM0" ENDNODE NODE mem-slot location PROP SlotType string r 0 "memory-module" PROP Slot uint r 4 1 PROP Label string r 0 "DIMM1" ENDNODE ENDNODE /* * create the fru modules for CPUs in the fru tree */ name:/frutree/chassis/system-board/cpu-slot?Slot=0 REFNODE cpu-module fru WITH _class:/upa/cpu?ID=0 /* * seeprom source for motherboard */ name:/frutree/chassis/system-board PROP FRUDataAvailable void r REFPROP _seeprom_source name:/platform/pci/isa/bscbus/i2c/motherboard-fru /* * Set up memory module fru */ name:/frutree/chassis/system-board/mem-slot?Label=DIMM0 REFNODE mem-module fru WITH name:/platform/pci/pmu/i2c/dimm-fru-prom?UnitAddress=0,a8 name:/frutree/chassis/system-board/mem-slot?Label=DIMM1 REFNODE mem-module fru WITH name:/platform/pci/pmu/i2c/dimm-fru-prom?UnitAddress=0,aa /* * _fru_parent memory seeprom devices */ name:/platform/pci/pmu/i2c/dimm-fru-prom?UnitAddress=0,a8 REFPROP _fru_parent name:/frutree/chassis/system-board/mem-slot?Label=DIMM0/mem-module name:/platform/pci/pmu/i2c/dimm-fru-prom?UnitAddress=0,aa REFPROP _fru_parent name:/frutree/chassis/system-board/mem-slot?Label=DIMM1/mem-module /* * _fru_parent CPU, memory-controller devices */ _class:cpu?ID=0 REFPROP _fru_parent /frutree/chassis/system-board/cpu-slot?Slot=0/cpu-module name:/platform/memory-controller?portid=0 REFPROP _fru_parent /frutree/chassis/system-board/cpu-slot?Slot=0/cpu-module /* * _fru_parent motherboard & platform */ name:/platform/pci/isa/bscbus/i2c/motherboard-fru REFPROP _fru_parent /frutree/chassis/system-board name:/platform REFPROP _fru_parent /frutree/chassis/system-board /* * _fru_parent memory modules */ name:/platform/memory-controller/memory-module?ID=0 REFPROP _fru_parent name:/frutree/chassis/system-board/mem-slot?Label=DIMM0/mem-module name:/platform/memory-controller/memory-module?ID=1 REFPROP _fru_parent name:/frutree/chassis/system-board/mem-slot?Label=DIMM1/mem-module