summaryrefslogtreecommitdiff
path: root/drivers/scsi/sata_sil24.c
diff options
context:
space:
mode:
authorTejun Heo <htejun@gmail.com>2006-04-11 17:32:19 +0400
committerJeff Garzik <jeff@garzik.org>2006-04-11 21:31:36 +0400
commita5b4c47a2731f1dd685f28b79464e4442f3682ec (patch)
tree00394defab68b5457eb79b46c0c50e7cbcf20231 /drivers/scsi/sata_sil24.c
parentecc2e2b9c97719592b3078d5a5a8666551c91115 (diff)
downloadlinux-a5b4c47a2731f1dd685f28b79464e4442f3682ec.tar.xz
[PATCH] sata_sil24: don't do hardreset during driver initialization
There's no need to perform hardreset during driver initialization. It's already done during host reset and even if the controller is in some wacky state, we now have proper hardreset to back us up. Signed-off-by: Tejun Heo <htejun@gmail.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/scsi/sata_sil24.c')
-rw-r--r--drivers/scsi/sata_sil24.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/scsi/sata_sil24.c b/drivers/scsi/sata_sil24.c
index 4180c81f639c..a8328a88e8c9 100644
--- a/drivers/scsi/sata_sil24.c
+++ b/drivers/scsi/sata_sil24.c
@@ -1069,11 +1069,6 @@ static int sil24_init_one(struct pci_dev *pdev, const struct pci_device_id *ent)
/* Clear port multiplier enable and resume bits */
writel(PORT_CS_PM_EN | PORT_CS_RESUME, port + PORT_CTRL_CLR);
-
- /* Reset itself */
- if (__sil24_reset_controller(port))
- dev_printk(KERN_ERR, &pdev->dev,
- "failed to reset controller\n");
}
/* Turn on interrupts */