From b59f7713a1d6ed604b1b35987b3ab6d2ec610aa8 Mon Sep 17 00:00:00 2001 From: Tejun Heo Date: Tue, 11 Apr 2006 22:32:19 +0900 Subject: [PATCH] --- yaml --- r: 29265 b: refs/heads/master c: 2555d6c268240fb3f5f335bd62d0518025343c0f h: refs/heads/master i: 29263: ee3ac0beac845cc1e0b4905f6be353a22e20b6c7 v: v3 --- [refs] | 2 +- trunk/drivers/scsi/sata_sil24.c | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 010b09dc5f32..37e5766e3399 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: b5bc421c96ca56a9abaad4619da01fe0071904a2 +refs/heads/master: 2555d6c268240fb3f5f335bd62d0518025343c0f diff --git a/trunk/drivers/scsi/sata_sil24.c b/trunk/drivers/scsi/sata_sil24.c index 8199527966eb..bfbd630a889c 100644 --- a/trunk/drivers/scsi/sata_sil24.c +++ b/trunk/drivers/scsi/sata_sil24.c @@ -474,6 +474,12 @@ static int sil24_softreset(struct ata_port *ap, unsigned int *class) irq_enable = readl(port + PORT_IRQ_ENABLE_SET); writel(irq_enable, port + PORT_IRQ_ENABLE_CLR); + /* put the port into known state */ + if (sil24_init_port(ap)) { + reason ="port not ready"; + goto err; + } + /* * XXX: Not sure whether the following sleep is needed or not. * The original driver had it. So....