aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/mips
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-04-26 16:25:19 -0400
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-04-26 16:25:19 -0400
commit3dd89a9b2af37d8e3efd785e20b12b785e50e48f (patch)
tree5dd755629cc9c0daaf4114f27a05ddd6d947813a /drivers/ide/mips
parent5add22241752a3c689bea2a9d0e71c2a5909ed8a (diff)
ide: cleanup setting hwif->mmio flag
It is no longer needed to set hwif->mmio flag to tell IDE layer to not manage resources so cleanup host drivers that used hwif->mmio flag only for this purpose. Ditto for ide_legacy_init_one(). Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/mips')
-rw-r--r--drivers/ide/mips/au1xxx-ide.c2
-rw-r--r--drivers/ide/mips/swarm.c3
2 files changed, 1 insertions, 4 deletions
diff --git a/drivers/ide/mips/au1xxx-ide.c b/drivers/ide/mips/au1xxx-ide.c
index 51dddc0f154e..e539977b3348 100644
--- a/drivers/ide/mips/au1xxx-ide.c
+++ b/drivers/ide/mips/au1xxx-ide.c
@@ -624,8 +624,6 @@ static int au_ide_probe(struct device *dev)
624 624
625 hwif->dev = dev; 625 hwif->dev = dev;
626 626
627 hwif->mmio = 1;
628
629 /* If the user has selected DDMA assisted copies, 627 /* If the user has selected DDMA assisted copies,
630 then set up a few local I/O function entry points 628 then set up a few local I/O function entry points
631 */ 629 */
diff --git a/drivers/ide/mips/swarm.c b/drivers/ide/mips/swarm.c
index 4769ec2ff290..112fe566bb93 100644
--- a/drivers/ide/mips/swarm.c
+++ b/drivers/ide/mips/swarm.c
@@ -110,8 +110,7 @@ static int __devinit swarm_ide_probe(struct device *dev)
110 110
111 /* Setup MMIO ops. */ 111 /* Setup MMIO ops. */
112 default_hwif_mmiops(hwif); 112 default_hwif_mmiops(hwif);
113 /* Prevent resource map manipulation. */ 113
114 hwif->mmio = 1;
115 hwif->chipset = ide_generic; 114 hwif->chipset = ide_generic;
116 115
117 for (i = IDE_DATA_OFFSET; i <= IDE_STATUS_OFFSET; i++) 116 for (i = IDE_DATA_OFFSET; i <= IDE_STATUS_OFFSET; i++)