summaryrefslogtreecommitdiff
path: root/usr/src/uts/sun4u/io/pic16f747.c
diff options
context:
space:
mode:
authorvenki <none@none>2005-10-19 02:08:58 -0700
committervenki <none@none>2005-10-19 02:08:58 -0700
commitb29b9e18acbca49b266e291e6dc75a886c5d3d2b (patch)
tree1b09799704ce8c569f889820d43b63f2d88206ed /usr/src/uts/sun4u/io/pic16f747.c
parent3c04777e760a0ff56ed78e3cd151f923a271e8df (diff)
downloadillumos-joyent-b29b9e18acbca49b266e291e6dc75a886c5d3d2b.tar.gz
6333857 picl needs to monitor psu temperature
Diffstat (limited to 'usr/src/uts/sun4u/io/pic16f747.c')
-rw-r--r--usr/src/uts/sun4u/io/pic16f747.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/usr/src/uts/sun4u/io/pic16f747.c b/usr/src/uts/sun4u/io/pic16f747.c
index 83d0a220dc..dbdc42ff95 100644
--- a/usr/src/uts/sun4u/io/pic16f747.c
+++ b/usr/src/uts/sun4u/io/pic16f747.c
@@ -90,11 +90,11 @@ static struct dev_ops pic_dev_ops = {
*/
static struct minor_node_info pic_nodes[N_PIC_NODES] = {
{NULL, 0, 0}, /* Reserved */
- {"fan_0", RF_FAN0_PERIOD, 0}, /* System Fan 0 */
- {"fan_1", RF_FAN1_PERIOD, 1}, /* System Fan 1 */
- {"fan_2", RF_FAN2_PERIOD, 2}, /* System Fan 2 */
- {"fan_3", RF_FAN3_PERIOD, 3}, /* System Fan 3 */
- {"fan_4", RF_FAN4_PERIOD, 4}, /* System Fan 4 in P0.1 */
+ {"fan_0", RF_FAN0_PERIOD, F0_FLT_BIT}, /* System Fan 0 */
+ {"fan_1", RF_FAN1_PERIOD, F1_FLT_BIT}, /* System Fan 1 */
+ {"fan_2", RF_FAN2_PERIOD, F2_FLT_BIT}, /* System Fan 2 */
+ {"fan_3", RF_FAN3_PERIOD, F3_FLT_BIT}, /* System Fan 3 */
+ {"fan_4", RF_FAN4_PERIOD, F4_FLT_BIT}, /* System Fan 4 */
{"adt7462", RF_LOCAL_TEMP, 0}, /* ADT7462 Local Temperature */
{"cpu_0", RF_REMOTE1_TEMP, 0}, /* CPU 0 temp */
{"cpu_1", RF_REMOTE2_TEMP, 0}, /* CPU 1 temp */
@@ -102,7 +102,8 @@ static struct minor_node_info pic_nodes[N_PIC_NODES] = {
{"lm95221", RF_LM95221_TEMP, 0}, /* LM95221 Local Temperature */
{"fire", RF_FIRE_TEMP, 0}, /* FIRE Temp */
{"lsi1064", RF_LSI1064_TEMP, 0}, /* LSI1064 Temp */
- {"front_panel", RF_FRONT_TEMP, 0} /* Front Panel Temperature */
+ {"front_panel", RF_FRONT_TEMP, 0}, /* Front Panel Temperature */
+ {"psu", RF_PSU_TEMP, PSUF_FLT_BIT} /* PSU Temp (and ffault) */
};
/*