2 * This file is subject to the terms and conditions of the GNU General Public
3 * License. See the file "COPYING" in the main directory of this archive
6 * Stub IDE routines to keep Linux from crashing on machine which don't
7 * have IDE like the Indy.
9 * Copyright (C) 1998, 1999 by Ralf Baechle
11 #include <linux/hdreg.h>
12 #include <linux/kernel.h>
13 #include <linux/ide.h>
14 #include <asm/hdreg.h>
16 static int no_ide_default_irq(ide_ioreg_t base)
21 static ide_ioreg_t no_ide_default_io_base(int index)
26 static void no_ide_init_hwif_ports (hw_regs_t *hw, ide_ioreg_t data_port,
27 ide_ioreg_t ctrl_port, int *irq)
31 struct ide_ops no_ide_ops = {
33 &no_ide_default_io_base,
34 &no_ide_init_hwif_ports