sata_uli: hardreset is broken
authorTejun Heo <tj@kernel.org>
Sat, 21 Jun 2008 07:07:32 +0000 (16:07 +0900)
committerJeff Garzik <jgarzik@redhat.com>
Fri, 27 Jun 2008 06:57:48 +0000 (02:57 -0400)
sata_uli can't do hardresets reliably and lock up.  This went
unnoticed till now as softreset was the default and hardreset was only
used after softreset failed.

Reported by Christian Casteyde in bz#10860.

Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Christian Casteyde <casteyde.christian@free.fr>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/sata_uli.c

index f277cea904ce89bc90adc909ca5fe0809a13c621..db529b8499482fc08c3f4b6de08fcc4d43a6f2cc 100644 (file)
@@ -83,6 +83,7 @@ static struct ata_port_operations uli_ops = {
        .inherits               = &ata_bmdma_port_ops,
        .scr_read               = uli_scr_read,
        .scr_write              = uli_scr_write,
+       .hardreset              = ATA_OP_NULL,
 };
 
 static const struct ata_port_info uli_port_info = {