OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [linux/] [linux-2.4/] [arch/] [mips64/] [lib/] [ide-no.c] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1275 phoenix
/*
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
#include <asm/ptrace.h>
16
 
17
static int no_ide_default_irq(ide_ioreg_t base)
18
{
19
        return 0;
20
}
21
 
22
static ide_ioreg_t no_ide_default_io_base(int index)
23
{
24
        return 0;
25
}
26
 
27
static void no_ide_init_hwif_ports (hw_regs_t *hw, ide_ioreg_t data_port,
28
                                    ide_ioreg_t ctrl_port, int *irq)
29
{
30
}
31
 
32
struct ide_ops no_ide_ops = {
33
        &no_ide_default_irq,
34
        &no_ide_default_io_base,
35
        &no_ide_init_hwif_ports
36
};

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.