To: linus, akpm Cc: lkml Subject: [PATCH] Amiga Buddha/CatWeasel IDE Buddha/CatWeasel IDE: Make sure the core IDE driver doesn't try to request the MMIO ports a second time, since this will fail. --- buddha.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) --- linux-2.6.0/drivers/ide/legacy/buddha.c 2003-02-25 10:21:12.000000000 +0100 +++ linux-m68k-2.6.0/drivers/ide/legacy/buddha.c 2003-12-07 10:44:56.000000000 +0100 @@ -146,6 +146,7 @@ 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 @@ 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: