[PATCH] sil24: remove PORT_TF
authorTejun Heo <htejun@gmail.com>
Wed, 17 Aug 2005 04:09:02 +0000 (13:09 +0900)
committerJeff Garzik <jgarzik@pobox.com>
Wed, 17 Aug 2005 04:51:50 +0000 (00:51 -0400)
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>
drivers/scsi/sata_sil24.c

index 6544226c1b285e2448bd1e62c48cbd3b2cf54e28..47a7bfc4a6d8b8dd085a02e487ca0bd684fb6d2a 100644 (file)
@@ -104,9 +104,6 @@ enum {
         */
        PORT_REGS_SIZE          = 0x2000,
        PORT_PRB                = 0x0000, /* (32 bytes PRB + 16 bytes SGEs * 6) * 31 (3968 bytes) */
-               /* TF is overlayed w/ PRB regs in the preview driver,
-                * but it doesn't seem to work. */
-       PORT_TF                 = 0x0000,
 
        PORT_PM                 = 0x0f80, /* 8 bytes PM * 16 (128 bytes) */
                /* 32 bit regs */
@@ -703,9 +700,7 @@ static int sil24_init_one(struct pci_dev *pdev, const struct pci_device_id *ent)
                u32 tmp;
                int cnt;
 
-               probe_ent->port[i].cmd_addr = portu + PORT_TF;
-               probe_ent->port[i].ctl_addr = portu + PORT_TF + 0xa;
-               probe_ent->port[i].altstatus_addr = portu + PORT_TF + 0xa;
+               probe_ent->port[i].cmd_addr = portu;
                probe_ent->port[i].scr_addr = portu + PORT_SCONTROL;
 
                ata_std_ports(&probe_ent->port[i]);