Commit 2b45d70f authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] Amiga Buddha/CatWeasel IDE

From: Geert Uytterhoeven <geert@linux-m68k.org>

Buddha/CatWeasel IDE: Make sure the core IDE driver doesn't try to request the
MMIO ports a second time, since this will fail.
parent 49176262
......@@ -146,6 +146,7 @@ static int xsurf_ack_intr(ide_hwif_t *hwif)
void __init buddha_init(void)
{
hw_regs_t hw;
ide_hwif_t *hwif;
int i, index;
struct zorro_dev *z = NULL;
......@@ -212,8 +213,9 @@ void __init buddha_init(void)
IRQ_AMIGA_PORTS);
}
index = ide_register_hw(&hw, NULL);
index = ide_register_hw(&hw, &hwif);
if (index != -1) {
hwif->mmio = 2;
printk("ide%d: ", index);
switch(type) {
case BOARD_BUDDHA:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment