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/pci/sgiioc4.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/pci/sgiioc4.c')
-rw-r--r-- | drivers/ide/pci/sgiioc4.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/ide/pci/sgiioc4.c b/drivers/ide/pci/sgiioc4.c index 22ac0f70c423..e16597ddbd91 100644 --- a/drivers/ide/pci/sgiioc4.c +++ b/drivers/ide/pci/sgiioc4.c | |||
@@ -551,7 +551,6 @@ static int sgiioc4_ide_dma_setup(ide_drive_t *drive) | |||
551 | static void __devinit | 551 | static void __devinit |
552 | ide_init_sgiioc4(ide_hwif_t * hwif) | 552 | ide_init_sgiioc4(ide_hwif_t * hwif) |
553 | { | 553 | { |
554 | hwif->mmio = 1; | ||
555 | hwif->INB = &sgiioc4_INB; | 554 | hwif->INB = &sgiioc4_INB; |
556 | 555 | ||
557 | if (hwif->dma_base == 0) | 556 | if (hwif->dma_base == 0) |