diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2007-02-16 20:40:25 -0500 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2007-02-16 20:40:25 -0500 |
commit | 2ad1e558a2305c2b3d5099ee2f4a5929307c20ca (patch) | |
tree | 79a530648cc26184c3b2e3933c0ebad614329b5b /drivers/ide/legacy/macide.c | |
parent | 0ecdca26e556eae9668ce6de9554757dddb942ef (diff) |
ide: convert ide_hwif_t.mmio into flag (v2)
All users of ->mmio == 1 are gone so convert ->mmio into flag.
Noticed by Alan Cox.
v2:
* updated for scc_pata
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/legacy/macide.c')
-rw-r--r-- | drivers/ide/legacy/macide.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ide/legacy/macide.c b/drivers/ide/legacy/macide.c index b1730d7e414c..4c0079ad52ac 100644 --- a/drivers/ide/legacy/macide.c +++ b/drivers/ide/legacy/macide.c | |||
@@ -141,7 +141,7 @@ void macide_init(void) | |||
141 | } | 141 | } |
142 | 142 | ||
143 | if (index != -1) { | 143 | if (index != -1) { |
144 | hwif->mmio = 2; | 144 | hwif->mmio = 1; |
145 | if (macintosh_config->ide_type == MAC_IDE_QUADRA) | 145 | if (macintosh_config->ide_type == MAC_IDE_QUADRA) |
146 | printk(KERN_INFO "ide%d: Macintosh Quadra IDE interface\n", index); | 146 | printk(KERN_INFO "ide%d: Macintosh Quadra IDE interface\n", index); |
147 | else if (macintosh_config->ide_type == MAC_IDE_PB) | 147 | else if (macintosh_config->ide_type == MAC_IDE_PB) |