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/legacy/ide-4drives.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/legacy/ide-4drives.c')
-rw-r--r-- | drivers/ide/legacy/ide-4drives.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/ide/legacy/ide-4drives.c b/drivers/ide/legacy/ide-4drives.c index e69566284ab7..17f94d0cb539 100644 --- a/drivers/ide/legacy/ide-4drives.c +++ b/drivers/ide/legacy/ide-4drives.c | |||
@@ -43,7 +43,6 @@ static int __init ide_4drives_init(void) | |||
43 | hwif = ide_find_port(); | 43 | hwif = ide_find_port(); |
44 | if (hwif) { | 44 | if (hwif) { |
45 | ide_init_port_hw(hwif, &hw); | 45 | ide_init_port_hw(hwif, &hw); |
46 | hwif->mmio = 1; | ||
47 | idx[0] = hwif->index; | 46 | idx[0] = hwif->index; |
48 | } | 47 | } |
49 | 48 | ||
@@ -52,7 +51,6 @@ static int __init ide_4drives_init(void) | |||
52 | ide_init_port_hw(mate, &hw); | 51 | ide_init_port_hw(mate, &hw); |
53 | mate->drives[0].select.all ^= 0x20; | 52 | mate->drives[0].select.all ^= 0x20; |
54 | mate->drives[1].select.all ^= 0x20; | 53 | mate->drives[1].select.all ^= 0x20; |
55 | mate->mmio = 1; | ||
56 | idx[1] = mate->index; | 54 | idx[1] = mate->index; |
57 | 55 | ||
58 | if (hwif) { | 56 | if (hwif) { |