Ticket #942: Swissbit-SFCF4096H2BU4TO-I-MS-527-STD.patch

File Swissbit-SFCF4096H2BU4TO-I-MS-527-STD.patch, 1.1 KB (added by Gabriele Pohl, 3 years ago)

Patch for drivedb.h

  • drivedb.h

    diff -Naur a/drivedb.h b/drivedb.h
    a b  
    155155    //  251-253 Unknown_Attribute
    156156    "-v 254,raw48,Free_Fall_Sensor,HDD"
    157157  },
     158  { "Swissbit C440 Industrial CompactFlash Card",
     159    // spec v1.23 found at http://www.farnell.com/datasheets/1821167.pdf
     160    // tested with SFCF4096H2BU4TO-I-MS-527-STD
     161    "SFCF(2048|4096|8192|16GB|32GB|64GB)H[0-9]BU[24]TO-(C|I)-(MS|QT|NU)-5[0-9]7-STD",
     162    "", "",
     163    "-v 196,raw24/raw24,Spare_Blocks "
     164    "-v 213,raw24/raw24,Spare_Blocks_Worst_Chip "
     165    "-v 229,raw48,Erase_Count "
     166    "-v 203,raw48,Total_ECC_Errors "
     167    "-v 232,raw48,Total_Number_of_Reads "
     168    "-v 214,raw48,Reserved_Attribute " // Spec says "to be determined"
     169    "-v 215,raw48,Current_TRIM_Percent "
     170  },
    158171  { "Apacer SSD",
    159172    "(2|4|8|16|32)GB SATA Flash Drive", // tested with APSDM002G15AN-CT/SFDDA01C and SFI2101D, APSDM004G13AN-AT/SFDE001A
    160173    "SF(DDA01C|I2101D|DE001A)", "", // spec found at http://wfcache.advantech.com/www/certified-peripherals/documents/96fmcff-04g-cs-ap_Datasheet.pdf