diff options
author | Tejun Heo <htejun@gmail.com> | 2005-10-05 22:43:34 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2005-10-06 05:51:24 -0400 |
commit | 46b93e7bce80a08ea07e250d03b0b596cbd32595 (patch) | |
tree | d140cda3f6acebcfc8d85907114747c6a8468975 /drivers/scsi/sata_sil24.c | |
parent | ad6e90f6d0c4243cc35e07e2681a3323af533ce4 (diff) |
[PATCH] sil24: remove CMDERR clearing
02_sil24_remove-cmderr-clearing.patch
CMDERR register doesn't need clearing. This is from Edward's
driver.
Signed-off-by: Tejun Heo <htejun@gmail.com>
sata_sil24.c | 4 ----
1 file changed, 4 deletions(-)
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
Diffstat (limited to 'drivers/scsi/sata_sil24.c')
-rw-r--r-- | drivers/scsi/sata_sil24.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/scsi/sata_sil24.c b/drivers/scsi/sata_sil24.c index 571302dc48a3..032d9c093979 100644 --- a/drivers/scsi/sata_sil24.c +++ b/drivers/scsi/sata_sil24.c | |||
@@ -502,10 +502,6 @@ static void sil24_error_intr(struct ata_port *ap, u32 slot_stat) | |||
502 | cmd_err = readl(port + PORT_CMD_ERR); | 502 | cmd_err = readl(port + PORT_CMD_ERR); |
503 | sstatus = readl(port + PORT_SSTATUS); | 503 | sstatus = readl(port + PORT_SSTATUS); |
504 | serror = readl(port + PORT_SERROR); | 504 | serror = readl(port + PORT_SERROR); |
505 | |||
506 | /* Clear IRQ/errors */ | ||
507 | if (cmd_err) | ||
508 | writel(cmd_err, port + PORT_CMD_ERR); | ||
509 | if (serror) | 505 | if (serror) |
510 | writel(serror, port + PORT_SERROR); | 506 | writel(serror, port + PORT_SERROR); |
511 | 507 | ||