diff options
author | Tejun Heo <htejun@gmail.com> | 2008-04-07 15:47:21 +0200 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2008-04-17 21:44:24 +0200 |
commit | 350756f6dab6d37ef9ed3f18dec520e88969ddac (patch) | |
tree | 825bb133cf0059e21949d31dda127fd13847339e /drivers/ata/sata_fsl.c | |
parent | libata: clean up dummy port_ops (diff) | |
download | linux-350756f6dab6d37ef9ed3f18dec520e88969ddac.tar.xz linux-350756f6dab6d37ef9ed3f18dec520e88969ddac.zip |
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.c | 5 |
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, /* host->iomap is not used currently */ host->private_data = host_priv; - /* setup port(s) */ - - host->ports[0]->ioaddr.cmd_addr = host_priv->hcr_base; - host->ports[0]->ioaddr.scr_addr = host_priv->ssr_base; - /* initialize host controller */ sata_fsl_init_controller(host); |