Attribute 9 of ST9160821AS apparently is not the power on time in hours.
Since we have no idea what it is and how it is encoded this adds a quirk
to mark the attribute as 'unknown' for this drive.
See rhbz #497107.
SK_SMART_QUIRK_194_UNKNOWN = 64,
SK_SMART_QUIRK_200_WRITEERRORCOUNT = 128,
SK_SMART_QUIRK_201_DETECTEDTACOUNT = 256,
+ SK_SMART_QUIRK_9_UNKNOWN = 512
} SkSmartQuirk;
/* %STRINGPOOLSTART% */
"194_UNKNOWN",
"200_WRITEERRORCOUNT",
"201_DETECTEDTACOUNT",
+ "9_UNKNOWN",
NULL
};
/* %STRINGPOOLSTOP% */
static const SkSmartQuirkDatabase quirk_database[] = { {
+ /*** Seagate */
+ "^ST9160821AS$",
+ NULL,
+ SK_SMART_QUIRK_9_UNKNOWN
+ }, {
+
/*** Fujitsu */
"^FUJITSU MHR2040AT$",
NULL,
"power-on-half-minutes", SK_SMART_ATTRIBUTE_UNIT_MSECONDS
};
return &a;
- }
+ } else if (quirk & SK_SMART_QUIRK_9_UNKNOWN)
+ return NULL;
/* %STRINGPOOLSTOP% */
break;