1*7c478bd9Sstevel@tonic-gate# 2*7c478bd9Sstevel@tonic-gate# CDDL HEADER START 3*7c478bd9Sstevel@tonic-gate# 4*7c478bd9Sstevel@tonic-gate# The contents of this file are subject to the terms of the 5*7c478bd9Sstevel@tonic-gate# Common Development and Distribution License, Version 1.0 only 6*7c478bd9Sstevel@tonic-gate# (the "License"). You may not use this file except in compliance 7*7c478bd9Sstevel@tonic-gate# with the License. 8*7c478bd9Sstevel@tonic-gate# 9*7c478bd9Sstevel@tonic-gate# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 10*7c478bd9Sstevel@tonic-gate# or http://www.opensolaris.org/os/licensing. 11*7c478bd9Sstevel@tonic-gate# See the License for the specific language governing permissions 12*7c478bd9Sstevel@tonic-gate# and limitations under the License. 13*7c478bd9Sstevel@tonic-gate# 14*7c478bd9Sstevel@tonic-gate# When distributing Covered Code, include this CDDL HEADER in each 15*7c478bd9Sstevel@tonic-gate# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 16*7c478bd9Sstevel@tonic-gate# If applicable, add the following below this CDDL HEADER, with the 17*7c478bd9Sstevel@tonic-gate# fields enclosed by brackets "[]" replaced with your own identifying 18*7c478bd9Sstevel@tonic-gate# information: Portions Copyright [yyyy] [name of copyright owner] 19*7c478bd9Sstevel@tonic-gate# 20*7c478bd9Sstevel@tonic-gate# CDDL HEADER END 21*7c478bd9Sstevel@tonic-gate# 22*7c478bd9Sstevel@tonic-gate# Copyright (c) 2001 by Sun Microsystems, Inc. 23*7c478bd9Sstevel@tonic-gate# All rights reserved. 24*7c478bd9Sstevel@tonic-gate# 25*7c478bd9Sstevel@tonic-gate# .conf file for fcal_leds PICL plugin. 26*7c478bd9Sstevel@tonic-gateVERSION 1.0 27*7c478bd9Sstevel@tonic-gatefcal-leds: /devices/pci@8,700000/ebus@5/i2c@1,30/ioexp@0,74:pcf8574 28*7c478bd9Sstevel@tonic-gatefcal-status: /devices/pci@8,700000/ebus@5/i2c@1,30/ioexp@0,7a:pcf8574 29*7c478bd9Sstevel@tonic-gatefcal-disk-driver: ssd 30*7c478bd9Sstevel@tonic-gate 31*7c478bd9Sstevel@tonic-gate# number of disks - this must be specified before per disk definitions 32*7c478bd9Sstevel@tonic-gaten-disks: 2 33*7c478bd9Sstevel@tonic-gate 34*7c478bd9Sstevel@tonic-gate# logic levels - values are 0 or 1 35*7c478bd9Sstevel@tonic-gateassert-present: 0 36*7c478bd9Sstevel@tonic-gateassert-fault: 0 37*7c478bd9Sstevel@tonic-gateled-on: 0 38*7c478bd9Sstevel@tonic-gate 39*7c478bd9Sstevel@tonic-gate# per disk definitions 40*7c478bd9Sstevel@tonic-gate 41*7c478bd9Sstevel@tonic-gate# mask for presence signal: disk, mask 42*7c478bd9Sstevel@tonic-gatedisk-present: 0, 1 43*7c478bd9Sstevel@tonic-gatedisk-present: 1, 2 44*7c478bd9Sstevel@tonic-gate 45*7c478bd9Sstevel@tonic-gate# mask for fault signal: disk, mask 46*7c478bd9Sstevel@tonic-gatedisk-fault: 0, 0x10 47*7c478bd9Sstevel@tonic-gatedisk-fault: 1, 0x20 48*7c478bd9Sstevel@tonic-gate 49*7c478bd9Sstevel@tonic-gate# address values for specific LEDs: disk, LED-purpose, bit-sig value 50*7c478bd9Sstevel@tonic-gateled: 0, remok, 0x20 51*7c478bd9Sstevel@tonic-gateled: 0, fault, 0x40 52*7c478bd9Sstevel@tonic-gateled: 0, ready, 0x80 53*7c478bd9Sstevel@tonic-gateled: 1, remok, 4 54*7c478bd9Sstevel@tonic-gateled: 1, fault, 8 55*7c478bd9Sstevel@tonic-gateled: 1, ready, 0x10 56*7c478bd9Sstevel@tonic-gate 57*7c478bd9Sstevel@tonic-gate# timers in units of seconds 58*7c478bd9Sstevel@tonic-gateslow-poll: 59 59*7c478bd9Sstevel@tonic-gatefast-poll: 2 60*7c478bd9Sstevel@tonic-gate# time before reverting to slow poll 61*7c478bd9Sstevel@tonic-gaterelax-interval: 300 62*7c478bd9Sstevel@tonic-gate 63*7c478bd9Sstevel@tonic-gate# time for led-test 64*7c478bd9Sstevel@tonic-gateled-test-interval: 10 65*7c478bd9Sstevel@tonic-gate 66*7c478bd9Sstevel@tonic-gate# search string for parent node to ssd devices in PICL platform tree 67*7c478bd9Sstevel@tonic-gate# Note: this name is matched against a full path name from libdevinfo 68*7c478bd9Sstevel@tonic-gate# so each component must include unit-address information 69*7c478bd9Sstevel@tonic-gatefcal-disk-parent: name:/platform/pci@8,600000/SUNW,qlc@4/fp@0,0 70*7c478bd9Sstevel@tonic-gate 71*7c478bd9Sstevel@tonic-gate# search string template for parent node to disk-units in PICL frutree 72*7c478bd9Sstevel@tonic-gatedisk-unit-parent: name:/frutree/chassis/fcal-backplane/disk-slot?Slot= 73*7c478bd9Sstevel@tonic-gate 74*7c478bd9Sstevel@tonic-gate# search string template for disk-led nodes in PICL platform tree 75*7c478bd9Sstevel@tonic-gatedisk-led-nodes: name:/platform/pci@8,700000/ebus/i2c@1,30/ioexp@0,74/disk-led@ 76