aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi
diff options
context:
space:
mode:
authorTejun Heo <htejun@gmail.com>2005-08-17 00:09:02 -0400
committerJeff Garzik <jgarzik@pobox.com>2005-08-17 00:51:50 -0400
commit33d015b9f24d143859bb40dbe7bbb4c7805cee7d (patch)
tree5a9471333c9c265686df2b3a3a2f13eeab6ef8e5 /drivers/scsi
parent8746618d4f18fab25916686b0d8a6be2c2912de1 (diff)
[PATCH] sil24: remove PORT_TF
05_sil24_remove-PORT_TF.patch Remove PORT_TF, as taskfile isn't located at PORT_TF. Signed-off-by: Tejun Heo <htejun@gmail.com> sata_sil24.c | 7 +------ 1 files changed, 1 insertion(+), 6 deletions(-) Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
Diffstat (limited to 'drivers/scsi')
-rw-r--r--drivers/scsi/sata_sil24.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/scsi/sata_sil24.c b/drivers/scsi/sata_sil24.c
index 6544226c1b28..47a7bfc4a6d8 100644
--- a/drivers/scsi/sata_sil24.c
+++ b/drivers/scsi/sata_sil24.c
@@ -104,9 +104,6 @@ enum {
104 */ 104 */
105 PORT_REGS_SIZE = 0x2000, 105 PORT_REGS_SIZE = 0x2000,
106 PORT_PRB = 0x0000, /* (32 bytes PRB + 16 bytes SGEs * 6) * 31 (3968 bytes) */ 106 PORT_PRB = 0x0000, /* (32 bytes PRB + 16 bytes SGEs * 6) * 31 (3968 bytes) */
107 /* TF is overlayed w/ PRB regs in the preview driver,
108 * but it doesn't seem to work. */
109 PORT_TF = 0x0000,
110 107
111 PORT_PM = 0x0f80, /* 8 bytes PM * 16 (128 bytes) */ 108 PORT_PM = 0x0f80, /* 8 bytes PM * 16 (128 bytes) */
112 /* 32 bit regs */ 109 /* 32 bit regs */
@@ -703,9 +700,7 @@ static int sil24_init_one(struct pci_dev *pdev, const struct pci_device_id *ent)
703 u32 tmp; 700 u32 tmp;
704 int cnt; 701 int cnt;
705 702
706 probe_ent->port[i].cmd_addr = portu + PORT_TF; 703 probe_ent->port[i].cmd_addr = portu;
707 probe_ent->port[i].ctl_addr = portu + PORT_TF + 0xa;
708 probe_ent->port[i].altstatus_addr = portu + PORT_TF + 0xa;
709 probe_ent->port[i].scr_addr = portu + PORT_SCONTROL; 704 probe_ent->port[i].scr_addr = portu + PORT_SCONTROL;
710 705
711 ata_std_ports(&probe_ent->port[i]); 706 ata_std_ports(&probe_ent->port[i]);