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# .conf file for fcal_leds PICL plugin.
26VERSION 1.0
27fcal-leds: /devices/pci@8,700000/ebus@5/i2c@1,30/ioexp@0,74:pcf8574
28fcal-status: /devices/pci@8,700000/ebus@5/i2c@1,30/ioexp@0,7a:pcf8574
29fcal-disk-driver: ssd
30
31# number of disks - this must be specified before per disk definitions
32n-disks: 2
33
34# logic levels - values are 0 or 1
35assert-present: 0
36assert-fault: 0
37led-on:	0
38
39# per disk definitions
40
41# mask for presence signal: disk, mask
42disk-present: 0, 1
43disk-present: 1, 2
44
45# mask for fault signal: disk, mask
46disk-fault: 0, 0x10
47disk-fault: 1, 0x20
48
49# address values for specific LEDs: disk, LED-purpose, bit-sig value
50led: 0, remok, 0x20
51led: 0, fault, 0x40
52led: 0, ready, 0x80
53led: 1, remok, 4
54led: 1, fault, 8
55led: 1, ready, 0x10
56
57# timers in units of seconds
58slow-poll: 59
59fast-poll: 2
60# time before reverting to slow poll
61relax-interval: 300
62
63# time for led-test
64led-test-interval: 10
65
66# search string for parent node to ssd devices in PICL platform tree
67# Note: this name is matched against a full path name from libdevinfo
68# so each component must include unit-address information
69fcal-disk-parent: name:/platform/pci@8,600000/SUNW,qlc@4/fp@0,0
70
71# search string template for parent node to disk-units in PICL frutree
72disk-unit-parent: name:/frutree/chassis/fcal-backplane/disk-slot?Slot=
73
74# search string template for disk-led nodes in PICL platform tree
75disk-led-nodes: name:/platform/pci@8,700000/ebus/i2c@1,30/ioexp@0,74/disk-led@
76