# Copyright (c) 2001 by Sun Microsystems, Inc.
# All rights reserved.
#
#pragma	ident	"@(#)fcal_leds.conf	1.1	01/07/23 SMI"
# 
# .conf file for fcal_leds PICL plugin.
VERSION 1.0
fcal-leds: /devices/pci@8,700000/ebus@5/i2c@1,30/ioexp@0,74:pcf8574
fcal-status: /devices/pci@8,700000/ebus@5/i2c@1,30/ioexp@0,7a:pcf8574
fcal-disk-driver: ssd

# number of disks - this must be specified before per disk definitions
n-disks: 2

# logic levels - values are 0 or 1
assert-present: 0
assert-fault: 0
led-on:	0

# per disk definitions

# mask for presence signal: disk, mask
disk-present: 0, 1
disk-present: 1, 2

# mask for fault signal: disk, mask
disk-fault: 0, 0x10
disk-fault: 1, 0x20

# address values for specific LEDs: disk, LED-purpose, bit-sig value
led: 0, remok, 0x20
led: 0, fault, 0x40
led: 0, ready, 0x80
led: 1, remok, 4
led: 1, fault, 8
led: 1, ready, 0x10

# timers in units of seconds
slow-poll: 59
fast-poll: 2
# time before reverting to slow poll
relax-interval: 300

# time for led-test
led-test-interval: 10

# search string for parent node to ssd devices in PICL platform tree
# Note: this name is matched against a full path name from libdevinfo
# so each component must include unit-address information
fcal-disk-parent: name:/platform/pci@8,600000/SUNW,qlc@4/fp@0,0

# search string template for parent node to disk-units in PICL frutree
disk-unit-parent: name:/frutree/chassis/fcal-backplane/disk-slot?Slot=

# search string template for disk-led nodes in PICL platform tree
disk-led-nodes: name:/platform/pci@8,700000/ebus/i2c@1,30/ioexp@0,74/disk-led@
