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