From d1aecb8a44f6087e8a985b18d5101ef36fb52e17 Mon Sep 17 00:00:00 2001
From: ballen4705 <ballen4705@4ea69e1a-61f1-4043-bf83-b5c94c648137>
Date: Tue, 26 Nov 2002 12:37:12 +0000
Subject: [PATCH] Added new attribute (200) name="Multi_Zone_Error_Rate";

git-svn-id: https://smartmontools.svn.sourceforge.net/svnroot/smartmontools/trunk@332 4ea69e1a-61f1-4043-bf83-b5c94c648137
---
 sm5/atacmds.c   | 6 +++++-
 sm5/atacmds.cpp | 6 +++++-
 2 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/sm5/atacmds.c b/sm5/atacmds.c
index a1bcd56d0..d6fd84443 100644
--- a/sm5/atacmds.c
+++ b/sm5/atacmds.c
@@ -29,7 +29,7 @@
 #include <stdlib.h>
 #include "atacmds.h"
 
-const char *CVSid1="$Id: atacmds.c,v 1.42 2002/11/25 08:40:48 ballen4705 Exp $" CVSID1;
+const char *CVSid1="$Id: atacmds.c,v 1.43 2002/11/26 12:37:12 ballen4705 Exp $" CVSID1;
 
 // These Drive Identity tables are taken from hdparm 5.2, and are also
 // given in the ATA/ATAPI specs for the IDENTIFY DEVICE command.  Note
@@ -800,6 +800,10 @@ void ataPrintSmartAttribName(char *out, unsigned char id){
   case 199:
     name="UDMA_CRC_Error_Count";
     break;
+  case 200:
+    // Western Digital
+    name="Multi_Zone_Error_Rate";
+    break;
   case 220:
     // Note -- this is also apparently used for temperature.
     name="Disk_Shift";
diff --git a/sm5/atacmds.cpp b/sm5/atacmds.cpp
index 1154bc2a2..dea0f9edd 100644
--- a/sm5/atacmds.cpp
+++ b/sm5/atacmds.cpp
@@ -29,7 +29,7 @@
 #include <stdlib.h>
 #include "atacmds.h"
 
-const char *CVSid1="$Id: atacmds.cpp,v 1.42 2002/11/25 08:40:48 ballen4705 Exp $" CVSID1;
+const char *CVSid1="$Id: atacmds.cpp,v 1.43 2002/11/26 12:37:12 ballen4705 Exp $" CVSID1;
 
 // These Drive Identity tables are taken from hdparm 5.2, and are also
 // given in the ATA/ATAPI specs for the IDENTIFY DEVICE command.  Note
@@ -800,6 +800,10 @@ void ataPrintSmartAttribName(char *out, unsigned char id){
   case 199:
     name="UDMA_CRC_Error_Count";
     break;
+  case 200:
+    // Western Digital
+    name="Multi_Zone_Error_Rate";
+    break;
   case 220:
     // Note -- this is also apparently used for temperature.
     name="Disk_Shift";
-- 
GitLab