also update spec file ...
[linux-flexiantxendom0-3.2.10.git] / arch / mips64 / lib / ide-no.c
1 /*
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
4  * for more details.
5  *
6  * Stub IDE routines to keep Linux from crashing on machine which don't
7  * have IDE like the Indy.
8  *
9  * Copyright (C) 1998, 1999 by Ralf Baechle
10  */
11 #include <linux/hdreg.h>
12 #include <linux/kernel.h>
13 #include <linux/ide.h>
14 #include <asm/hdreg.h>
15
16 static int no_ide_default_irq(ide_ioreg_t base)
17 {
18         return 0;
19 }
20
21 static ide_ioreg_t no_ide_default_io_base(int index)
22 {
23         return 0;
24 }
25
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)
28 {
29 }
30
31 struct ide_ops no_ide_ops = {
32         &no_ide_default_irq,
33         &no_ide_default_io_base,
34         &no_ide_init_hwif_ports
35 };