Ticket #597: bx100.patch

File bx100.patch, 2.6 KB (added by R00kie, 6 years ago)

Patch to add BX100 to the DB

  • drivedb.h

    diff -u a/drivedb.h b/drivedb.h
    a b  
    270270    "-v 202,raw48,Perc_Rated_Life_Used "
    271271    "-v 206,raw48,Write_Error_Rate"
    272272  },
     273  { "Crucial/Micron BX100 Client SSDs",
     274    "CT(120|250|500|1000)BX100SSD1", //Tested with CT250BX100SSD1
     275    "", "",
     276    //"-v 1,raw48,Raw_Read_Error_Rate " //(Errors/Page)
     277    //"-v 5,raw16(raw16),Reallocated_Sectors_Count " //(NAND Blocks)
     278    //"-v 9,raw48,Power_On_Hours_Count " //(Hours)
     279    //"-v 12,raw48,Power_Cycle_Count " //(Power Cycles)
     280    "-v 160,raw48,Uncorrectable_Sector_Ct " //Uncorrectable_Sector_Count (Errors)
     281    "-v 161,raw48,Valid_Spare_Block_Cnt " //Valid_Spare_Blocks (Spare Blocks)
     282    "-v 163,raw48,Initial_Bad_Block_Count " //Initial_Invalid_Blocks (Bad Blocks)
     283    "-v 164,raw48,Total_Erase_Count " //(Erase Operations)
     284    "-v 165,raw48,Maximum_Erase_Count " //(Erase Operations)
     285    "-v 166,raw48,Minimum_Erase_Count " //(Erase Operations)
     286    "-v 167,raw48,Average_Erase_Count " //Average_Block_Erase_Count (Erase Operations)
     287    "-v 168,raw48,Max_Erase_Count_of_Spec " //(Erase Operations)
     288    "-v 169,raw48,Remaining_Lifetime_Perc " //Percentage_Lifetime_Remaining (Percent)
     289    //"-v 175,raw48,Worst_Program_Fail_Count " //(Program Failures)
     290    //"-v 176,raw48,Worst_Erase_Fail_Count " //(Erase Failures)
     291    //"-v 177,raw48,Total_Wearlevel_Count " //(Events)
     292    "-v 178,raw48,Runtime_Invalid_Blk_Cnt " //Runtime_Invalid_Block_Count (Blocks)
     293    //"-v 181,raw48,Program_Fail_Count " //(Program Failures)
     294    //"-v 182,raw48,Erase_Fail_Count " //(Erase Failures)
     295    //"-v 192,raw48,Power-off_Retract_Count " //(Power Loss Events)
     296    //"-v 194,tempminmax,Enclosure_Temperature " //(Current Temperature (C))
     297    //"-v 195,raw48,Hardware_ECC_Recovered " //(Corrected ECC)
     298    //"-v 196,raw16(raw16),Reallocation_Event_Count " //(Events)
     299    //"-v 197,raw48,Current_Pending_Sector_Count " //(512 Byte Sectors)
     300    //"-v 198,raw48,SMART_Off-line_Scan_Uncorrectable_Errors " //(Pages)
     301    //"-v 199,raw48,Ultra-DMA_CRC_Error_Count " //(Errors)
     302    //"-v 232,raw48,Available_Reserved_Space " //(% Spare Blocks Remaining)
     303    //"-v 241,raw48,Total_LBA_Write " //(32MB Units)
     304    //"-v 242,raw48,Total_LBA_Read " //(32MB Units)
     305    "-v 245,raw48,Total_Flash_Write_Count " //(32MB Units)
     306  },
    273307  { "Crucial/Micron MX100/MX200/M5x0/M600 Client SSDs",
    274308    "Crucial_CT(128|256|512)MX100SSD1|"// tested with Crucial_CT256MX100SSD1/MU01
    275309    "Crucial_CT(200|256|500|512|1000|1024)MX200SSD[1346]|" // tested with Crucial_CT500MX200SSD1/MU01,