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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [linux/] [linux-2.4/] [drivers/] [ide/] [pci/] [alim15x3.h] - Blame information for rev 1780

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1275 phoenix
#ifndef ALI15X3_H
2
#define ALI15X3_H
3
 
4
#include <linux/config.h>
5
#include <linux/pci.h>
6
#include <linux/ide.h>
7
 
8
#define DISPLAY_ALI_TIMINGS
9
 
10
#if defined(DISPLAY_ALI_TIMINGS) && defined(CONFIG_PROC_FS)
11
#include <linux/stat.h>
12
#include <linux/proc_fs.h>
13
 
14
static u8 ali_proc;
15
 
16
static int ali_get_info(char *, char **, off_t, int);
17
 
18
static ide_pci_host_proc_t ali_procs[] __initdata = {
19
        {
20
                .name           = "ali",
21
                .set            = 1,
22
                .get_info       = ali_get_info,
23
                .parent         = NULL,
24
        },
25
};
26
#endif /* DISPLAY_ALI_TIMINGS && CONFIG_PROC_FS */
27
 
28
static unsigned int init_chipset_ali15x3(struct pci_dev *, const char *);
29
static void init_hwif_common_ali15x3(ide_hwif_t *);
30
static void init_hwif_ali15x3(ide_hwif_t *);
31
static void init_dma_ali15x3(ide_hwif_t *, unsigned long);
32
 
33
static ide_pci_device_t ali15x3_chipsets[] __devinitdata = {
34
        {       /* 0 */
35
                .vendor         = PCI_VENDOR_ID_AL,
36
                .device         = PCI_DEVICE_ID_AL_M5229,
37
                .name           = "ALI15X3",
38
                .init_chipset   = init_chipset_ali15x3,
39
                .init_iops      = NULL,
40
                .init_hwif      = init_hwif_ali15x3,
41
                .init_dma       = init_dma_ali15x3,
42
                .channels       = 2,
43
                .autodma        = AUTODMA,
44
                .enablebits     = {{0x00,0x00,0x00}, {0x00,0x00,0x00}},
45
                .bootable       = ON_BOARD,
46
                .extra          = 0
47
        },{
48
                .vendor         = 0,
49
                .device         = 0,
50
                .channels       = 0,
51
                .bootable       = EOL,
52
        }
53
};
54
 
55
#endif /* ALI15X3 */

powered by: WebSVN 2.1.0

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