diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-04-26 16:25:19 -0400 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-04-26 16:25:19 -0400 |
commit | 3dd89a9b2af37d8e3efd785e20b12b785e50e48f (patch) | |
tree | 5dd755629cc9c0daaf4114f27a05ddd6d947813a /drivers/ide/ppc/mpc8xx.c | |
parent | 5add22241752a3c689bea2a9d0e71c2a5909ed8a (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/ppc/mpc8xx.c')
-rw-r--r-- | drivers/ide/ppc/mpc8xx.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/ide/ppc/mpc8xx.c b/drivers/ide/ppc/mpc8xx.c index 0fd98489d587..6d62adefd976 100644 --- a/drivers/ide/ppc/mpc8xx.c +++ b/drivers/ide/ppc/mpc8xx.c | |||
@@ -814,7 +814,6 @@ static int __init mpc8xx_ide_probe(void) | |||
814 | ide_hwif_t *hwif = &ide_hwifs[0]; | 814 | ide_hwif_t *hwif = &ide_hwifs[0]; |
815 | 815 | ||
816 | ide_init_port_hw(hwif, &hw); | 816 | ide_init_port_hw(hwif, &hw); |
817 | hwif->mmio = 1; | ||
818 | hwif->pio_mask = ATA_PIO4; | 817 | hwif->pio_mask = ATA_PIO4; |
819 | hwif->port_ops = &m8xx_port_ops; | 818 | hwif->port_ops = &m8xx_port_ops; |
820 | 819 | ||
@@ -826,7 +825,6 @@ static int __init mpc8xx_ide_probe(void) | |||
826 | ide_hwif_t *mate = &ide_hwifs[1]; | 825 | ide_hwif_t *mate = &ide_hwifs[1]; |
827 | 826 | ||
828 | ide_init_port_hw(mate, &hw); | 827 | ide_init_port_hw(mate, &hw); |
829 | mate->mmio = 1; | ||
830 | mate->pio_mask = ATA_PIO4; | 828 | mate->pio_mask = ATA_PIO4; |
831 | mate->port_ops = &m8xx_port_ops; | 829 | mate->port_ops = &m8xx_port_ops; |
832 | 830 | ||