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/pmac.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/pmac.c')
-rw-r--r-- | drivers/ide/ppc/pmac.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/ide/ppc/pmac.c b/drivers/ide/ppc/pmac.c index 4e0583907413..16869cf95e1a 100644 --- a/drivers/ide/ppc/pmac.c +++ b/drivers/ide/ppc/pmac.c | |||
@@ -1045,8 +1045,6 @@ pmac_ide_setup_device(pmac_ide_hwif_t *pmif, ide_hwif_t *hwif, hw_regs_t *hw) | |||
1045 | default_hwif_mmiops(hwif); | 1045 | default_hwif_mmiops(hwif); |
1046 | hwif->OUTBSYNC = pmac_outbsync; | 1046 | hwif->OUTBSYNC = pmac_outbsync; |
1047 | 1047 | ||
1048 | /* Tell common code _not_ to mess with resources */ | ||
1049 | hwif->mmio = 1; | ||
1050 | hwif->hwif_data = pmif; | 1048 | hwif->hwif_data = pmif; |
1051 | ide_init_port_hw(hwif, hw); | 1049 | ide_init_port_hw(hwif, hw); |
1052 | hwif->cbl = pmif->cable_80 ? ATA_CBL_PATA80 : ATA_CBL_PATA40; | 1050 | hwif->cbl = pmif->cable_80 ? ATA_CBL_PATA80 : ATA_CBL_PATA40; |