aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata/libata-pmp.c
diff options
context:
space:
mode:
authorTejun Heo <htejun@gmail.com>2008-01-23 10:05:14 -0500
committerJeff Garzik <jgarzik@redhat.com>2008-04-17 15:44:15 -0400
commitd692abd92f22a81b38d52c39601871003262841c (patch)
tree4ff3f35d88762a52fb4d48adda1f39e1966b9f26 /drivers/ata/libata-pmp.c
parentcf48062658e7ab3bc55e10c65676c3c73c16f8bf (diff)
libata: kill ATA_LFLAG_HRST_TO_RESUME
Now that hardreset is the preferred method of resetting, there's no need for ATA_LFLAG_HRST_TO_RESUME flag. Kill it. Signed-off-by: Tejun Heo <htejun@gmail.com>
Diffstat (limited to 'drivers/ata/libata-pmp.c')
-rw-r--r--drivers/ata/libata-pmp.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/drivers/ata/libata-pmp.c b/drivers/ata/libata-pmp.c
index 8439fc8efdd6..7f8bcffa81ad 100644
--- a/drivers/ata/libata-pmp.c
+++ b/drivers/ata/libata-pmp.c
@@ -453,9 +453,6 @@ static void sata_pmp_quirks(struct ata_port *ap)
453 if (vendor == 0x1095 && devid == 0x3726) { 453 if (vendor == 0x1095 && devid == 0x3726) {
454 /* sil3726 quirks */ 454 /* sil3726 quirks */
455 ata_port_for_each_link(link, ap) { 455 ata_port_for_each_link(link, ap) {
456 /* SError.N need a kick in the ass to get working */
457 link->flags |= ATA_LFLAG_HRST_TO_RESUME;
458
459 /* class code report is unreliable */ 456 /* class code report is unreliable */
460 if (link->pmp < 5) 457 if (link->pmp < 5)
461 link->flags |= ATA_LFLAG_ASSUME_ATA; 458 link->flags |= ATA_LFLAG_ASSUME_ATA;
@@ -468,9 +465,6 @@ static void sata_pmp_quirks(struct ata_port *ap)
468 } else if (vendor == 0x1095 && devid == 0x4723) { 465 } else if (vendor == 0x1095 && devid == 0x4723) {
469 /* sil4723 quirks */ 466 /* sil4723 quirks */
470 ata_port_for_each_link(link, ap) { 467 ata_port_for_each_link(link, ap) {
471 /* SError.N need a kick in the ass to get working */
472 link->flags |= ATA_LFLAG_HRST_TO_RESUME;
473
474 /* class code report is unreliable */ 468 /* class code report is unreliable */
475 if (link->pmp < 2) 469 if (link->pmp < 2)
476 link->flags |= ATA_LFLAG_ASSUME_ATA; 470 link->flags |= ATA_LFLAG_ASSUME_ATA;
@@ -483,9 +477,6 @@ static void sata_pmp_quirks(struct ata_port *ap)
483 } else if (vendor == 0x1095 && devid == 0x4726) { 477 } else if (vendor == 0x1095 && devid == 0x4726) {
484 /* sil4726 quirks */ 478 /* sil4726 quirks */
485 ata_port_for_each_link(link, ap) { 479 ata_port_for_each_link(link, ap) {
486 /* SError.N need a kick in the ass to get working */
487 link->flags |= ATA_LFLAG_HRST_TO_RESUME;
488
489 /* Class code report is unreliable and SRST 480 /* Class code report is unreliable and SRST
490 * times out under certain configurations. 481 * times out under certain configurations.
491 * Config device can be at port 0 or 5 and 482 * Config device can be at port 0 or 5 and
@@ -513,13 +504,6 @@ static void sata_pmp_quirks(struct ata_port *ap)
513 * otherwise. Don't try hard to recover it. 504 * otherwise. Don't try hard to recover it.
514 */ 505 */
515 ap->pmp_link[ap->nr_pmp_links - 1].flags |= ATA_LFLAG_NO_RETRY; 506 ap->pmp_link[ap->nr_pmp_links - 1].flags |= ATA_LFLAG_NO_RETRY;
516 } else if (vendor == 0x11ab && devid == 0x4140) {
517 /* Marvell 88SM4140 quirks. Fan-out ports require PHY
518 * reset to work; other than that, it behaves very
519 * nicely.
520 */
521 ata_port_for_each_link(link, ap)
522 link->flags |= ATA_LFLAG_HRST_TO_RESUME;
523 } 507 }
524} 508}
525 509