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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [linux/] [linux-2.4/] [include/] [asm-sh/] [io_ec3104.h] - Blame information for rev 1774

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

Line No. Rev Author Line
1 1275 phoenix
#ifndef _ASM_SH_IO_EC3104_H
2
#define _ASM_SH_IO_EC3104_H
3
 
4
#include <asm/io_generic.h>
5
#include <linux/types.h>
6
 
7
extern unsigned char ec3104_inb(unsigned long port);
8
extern unsigned short ec3104_inw(unsigned long port);
9
extern unsigned long ec3104_inl(unsigned long port);
10
 
11
extern void ec3104_outb(unsigned char value, unsigned long port);
12
extern void ec3104_outw(unsigned short value, unsigned long port);
13
extern void ec3104_outl(unsigned long value, unsigned long port);
14
 
15
extern int ec3104_irq_demux(int irq);
16
 
17
#ifdef __WANT_IO_DEF
18
 
19
# define __inb                  ec3104_inb
20
# define __inw                  ec3104_inw
21
# define __inl                  ec3104_inl
22
# define __outb                 ec3104_outb
23
# define __outw                 ec3104_outw
24
# define __outl                 ec3104_outl
25
 
26
# define __inb_p                ec3104_inb
27
# define __inw_p                ec3104_inw
28
# define __inl_p                ec3104_inl
29
# define __outb_p               ec3104_outb
30
# define __outw_p               ec3104_outw
31
# define __outl_p               ec3104_outl
32
 
33
# define __insb                 generic_insb
34
# define __insw                 generic_insw
35
# define __insl                 generic_insl
36
# define __outsb                generic_outsb
37
# define __outsw                generic_outsw
38
# define __outsl                generic_outsl
39
 
40
# define __readb                generic_readb
41
# define __readw                generic_readw
42
# define __readl                generic_readl
43
# define __writeb               generic_writeb
44
# define __writew               generic_writew
45
# define __writel               generic_writel
46
 
47
# define __isa_port2addr        generic_isa_port2addr
48
# define __ioremap              generic_ioremap
49
# define __ioremap_nocache      generic_ioremap_nocache
50
# define __iounmap              generic_iounmap
51
 
52
#endif
53
 
54
#endif /* _ASM_SH_IO_EC3104_H */

powered by: WebSVN 2.1.0

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