]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
ide/libata: ST310211A has buggy HPA too
authorMikko Rapeli <mikko.rapeli@teleca.com>
Tue, 19 Feb 2008 00:41:25 +0000 (01:41 +0100)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Tue, 19 Feb 2008 00:41:25 +0000 (01:41 +0100)
Signed-off-by: Mikko Rapeli <mikko.rapeli@teleca.com>
Tested-by: Bart Champagne <bart@as35701.net>
Cc: Jeff Garzik <jgarzik@pobox.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ata/libata-core.c
drivers/ide/ide-disk.c

index beaa3a9d8b6d8b8c6ee02ac424be460ddbfe2f59..f46eb6f6dc9ff05ba905d926a7f296e4414db0cb 100644 (file)
@@ -4190,6 +4190,7 @@ static const struct ata_blacklist_entry ata_device_blacklist [] = {
        /* Devices which report 1 sector over size HPA */
        { "ST340823A",          NULL,           ATA_HORKAGE_HPA_SIZE, },
        { "ST320413A",          NULL,           ATA_HORKAGE_HPA_SIZE, },
+       { "ST310211A",          NULL,           ATA_HORKAGE_HPA_SIZE, },
 
        /* Devices which get the IVB wrong */
        { "QUANTUM FIREBALLlct10 05", "A03.0900", ATA_HORKAGE_IVB, },
index aed8b31ca561512bf1f048175a2c88d14102f11a..8f5bed471050d955713f5d5230aa7327ad993dec 100644 (file)
@@ -397,6 +397,7 @@ static inline int idedisk_supports_lba48(const struct hd_driveid *id)
 static const struct drive_list_entry hpa_list[] = {
        { "ST340823A",  NULL },
        { "ST320413A",  NULL },
+       { "ST310211A",  NULL },
        { NULL,         NULL }
 };