From 992b45040f4b84fa388c1420a80a8670b6b5ddbd Mon Sep 17 00:00:00 2001 From: dholland Date: Mon, 25 Aug 2008 00:45:56 +0000 Subject: [PATCH] Add two missing SMART attributes; PR 37967 from Henry Bent. Also add a third I found while digging around, and fix one whose name was typoed. --- sbin/atactl/atactl.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/sbin/atactl/atactl.c b/sbin/atactl/atactl.c index 4235c73ede97..3664d027166f 100644 --- a/sbin/atactl/atactl.c +++ b/sbin/atactl/atactl.c @@ -1,4 +1,4 @@ -/* $NetBSD: atactl.c,v 1.51 2008/07/24 05:21:12 dholland Exp $ */ +/* $NetBSD: atactl.c,v 1.52 2008/08/25 00:45:56 dholland Exp $ */ /*- * Copyright (c) 1998 The NetBSD Foundation, Inc. @@ -35,7 +35,7 @@ #include #ifndef lint -__RCSID("$NetBSD: atactl.c,v 1.51 2008/07/24 05:21:12 dholland Exp $"); +__RCSID("$NetBSD: atactl.c,v 1.52 2008/08/25 00:45:56 dholland Exp $"); #endif @@ -265,7 +265,10 @@ static const struct { { 10, "Spin retry count", NULL }, { 11, "Calibration retry count", NULL }, { 12, "Device power cycle count", NULL }, - { 191, "Gsense error rate", NULL }, + { 13, "Soft read error rate", NULL }, + { 189, "High Fly Writes", NULL }, + { 190, "Airflow Temperature", device_smart_temp }, + { 191, "G-sense error rate", NULL }, { 192, "Power-off retract count", NULL }, { 193, "Load cycle count", NULL }, { 194, "Temperature", device_smart_temp},