diff --git a/sys/dev/pci/arcmsr.c b/sys/dev/pci/arcmsr.c index 220814c6e89d..a01f87638c00 100644 --- a/sys/dev/pci/arcmsr.c +++ b/sys/dev/pci/arcmsr.c @@ -1,4 +1,4 @@ -/* $NetBSD: arcmsr.c,v 1.12 2008/02/29 12:37:43 xtraeme Exp $ */ +/* $NetBSD: arcmsr.c,v 1.13 2008/02/29 12:56:03 xtraeme Exp $ */ /* $OpenBSD: arc.c,v 1.68 2007/10/27 03:28:27 dlg Exp $ */ /* @@ -21,7 +21,7 @@ #include "bio.h" #include -__KERNEL_RCSID(0, "$NetBSD: arcmsr.c,v 1.12 2008/02/29 12:37:43 xtraeme Exp $"); +__KERNEL_RCSID(0, "$NetBSD: arcmsr.c,v 1.13 2008/02/29 12:56:03 xtraeme Exp $"); #include #include @@ -1841,6 +1841,10 @@ arc_refresh_sensors(struct sysmon_envsys *sme, envsys_data_t *edata) edata->value_cur = ENVSYS_DRIVE_CHECK; edata->state = ENVSYS_SVALID; break; + case BIOC_SVREBUILD: + edata->value_cur = ENVSYS_DRIVE_REBUILD; + edata->state = ENVSYS_SCRITICAL; + break; case BIOC_SVSCRUB: case BIOC_SVONLINE: edata->value_cur = ENVSYS_DRIVE_ONLINE;