aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata/sata_fsl.c
diff options
context:
space:
mode:
authorTejun Heo <htejun@gmail.com>2008-04-07 09:47:21 -0400
committerJeff Garzik <jgarzik@redhat.com>2008-04-17 15:44:24 -0400
commit350756f6dab6d37ef9ed3f18dec520e88969ddac (patch)
tree825bb133cf0059e21949d31dda127fd13847339e /drivers/ata/sata_fsl.c
parent182d7bbac322d6921ce81f8e6aa23d250816381d (diff)
libata: don't use ap->ioaddr in non-SFF drivers
ap->ioaddr is to carry addresses for TF and BMDMA registers of a SFF controller, don't abuse it in non-SFF controllers. Signed-off-by: Tejun Heo <htejun@gmail.com>
Diffstat (limited to 'drivers/ata/sata_fsl.c')
-rw-r--r--drivers/ata/sata_fsl.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/ata/sata_fsl.c b/drivers/ata/sata_fsl.c
index 0cb0a57ddb36..9c4e6a6698c2 100644
--- a/drivers/ata/sata_fsl.c
+++ b/drivers/ata/sata_fsl.c
@@ -1222,11 +1222,6 @@ static int sata_fsl_probe(struct of_device *ofdev,
1222 /* host->iomap is not used currently */ 1222 /* host->iomap is not used currently */
1223 host->private_data = host_priv; 1223 host->private_data = host_priv;
1224 1224
1225 /* setup port(s) */
1226
1227 host->ports[0]->ioaddr.cmd_addr = host_priv->hcr_base;
1228 host->ports[0]->ioaddr.scr_addr = host_priv->ssr_base;
1229
1230 /* initialize host controller */ 1225 /* initialize host controller */
1231 sata_fsl_init_controller(host); 1226 sata_fsl_init_controller(host);
1232 1227