libata: force PIO on IOMEGA ZIP 250 ATAPI
PATCH 1/1 libata: force PIO on IOMEGA ZIP 250 ATAPI
IOMEGA ZIP 250 ATAPI claims MWDMA0 support but fails SETXFERMODE if asked to configure itself to MWDMA0. Force PIO.
This fixes bugzilla bug#8497.
---
There was another proposed patch which lowers transfer mode if device rejects transfer mode but I'm not sure whether that's the right thing to do. Such behavior change might affect other devices, so I'm opting for blacklisting for now.
Thanks.
drivers/ata/libata-core.c | 1 + 1 file changed, 1 insertion(+)
drivers/ata/libata-core.c +1 -0
@@ -3769,6 +3769,7 @@ static const struct ata_blacklist_entry ata_device_blacklist [] = { { "_NEC DV5800A", NULL, ATA_HORKAGE_NODMA }, { "SAMSUNG CD-ROM SN-124","N001", ATA_HORKAGE_NODMA }, { "Seagate STT20000A", NULL, ATA_HORKAGE_NODMA }, + { "IOMEGA ZIP 250 ATAPI", NULL, ATA_HORKAGE_NODMA },/* Weird ATAPI devices */ { "TORiSAN DVD-ROM DRD-N216", NULL, ATA_HORKAGE_MAX_SEC_128 |
Quoted 2 lines · On Sun, 10 Jun 2007 14:52:36 +0900 Tejun Heo <[email protected]> wrote:
IOMEGA ZIP 250 ATAPI claims MWDMA0 support but fails SETXFERMODE if asked to configure itself to MWDMA0. Force PIO.
This is only really a temporary fix. It appears to manage MWDMA0 in some cases with old IDE..
Quoted 8 lines · Alan Cox
Quoted 2 lines · On Sun, 10 Jun 2007 14:52:36 +0900 Tejun Heo <[email protected]> wrote:
IOMEGA ZIP 250 ATAPI claims MWDMA0 support but fails SETXFERMODE if asked to configure itself to MWDMA0. Force PIO.
This is only really a temporary fix. It appears to manage MWDMA0 in some cases with old IDE..
Tejun, please add the comment that this is a libata issue so nobody ever tries to sync this blacklist entry with ide-dma.c.
Thanks,
Bart
Jeff Garzik
AppliedQuoted 23 lines · Tejun Heo
IOMEGA ZIP 250 ATAPI claims MWDMA0 support but fails SETXFERMODE if asked to configure itself to MWDMA0. Force PIO.
This fixes bugzilla bug#8497.
Signed-off-by Tejun Heo <[email protected]>Cc Calvin Walton <[email protected]>---
There was another proposed patch which lowers transfer mode if device rejects transfer mode but I'm not sure whether that's the right thing to do. Such behavior change might affect other devices, so I'm opting for blacklisting for now.Thanks.
drivers/ata/libata-core.c | 1 + 1 file changed, 1 insertion(+)drivers/ata/libata-core.c +0
-0
drivers/ata/libata-core.c static const struct ata_blacklist_entry ata_device_blacklist [] = { · line 3772
Quoted 4 lines
drivers/ata/libata-core.c +1
-0@@ -3769,6 +3769,7 @@ static const struct ata_blacklist_entry ata_device_blacklist [] = { { "_NEC DV5800A", NULL, ATA_HORKAGE_NODMA }, { "SAMSUNG CD-ROM SN-124","N001", ATA_HORKAGE_NODMA }, { "Seagate STT20000A", NULL, ATA_HORKAGE_NODMA }, + { "IOMEGA ZIP 250 ATAPI", NULL, ATA_HORKAGE_NODMA }, /* temporary fix */
applied, after adding the "temporary fix" comment based on Alan's comments
Quoted 10 lines · Jeff Garzik
Quoted 7 lines · Tejun Heo
drivers/ata/libata-core.c +1
-0@@ -3769,6 +3769,7 @@ static const struct ata_blacklist_entry ata_device_blacklist [] = { { "_NEC DV5800A", NULL, ATA_HORKAGE_NODMA }, { "SAMSUNG CD-ROM SN-124","N001", ATA_HORKAGE_NODMA }, { "Seagate STT20000A", NULL, ATA_HORKAGE_NODMA }, + { "IOMEGA ZIP 250 ATAPI", NULL, ATA_HORKAGE_NODMA }, /*temporary fix */
applied, after adding the "temporary fix" comment based on Alan's comments
Thanks.
Signature · 1 line
tejun