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

Subversion Repositories or1k

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1275 phoenix
/*
2
 *      $Id: io_dc.h,v 1.1.1.1 2004-04-15 02:37:45 phoenix Exp $
3
 *      IO functions for SEGA Dreamcast
4
 */
5
 
6
#ifndef _ASM_SH_IO_DREAMCAST_H
7
#define _ASM_SH_IO_DREAMCAST_H
8
 
9
#include <asm/io_generic.h>
10
 
11
unsigned long dreamcast_isa_port2addr(unsigned long offset);
12
 
13
#ifdef __WANT_IO_DEF
14
 
15
# define __inb                  generic_inb
16
# define __inw                  generic_inw
17
# define __inl                  generic_inl
18
# define __outb                 generic_outb
19
# define __outw                 generic_outw
20
# define __outl                 generic_outl
21
 
22
# define __inb_p                generic_inb_p
23
# define __inw_p                generic_inw
24
# define __inl_p                generic_inl
25
# define __outb_p               generic_outb_p
26
# define __outw_p               generic_outw
27
# define __outl_p               generic_outl
28
 
29
# define __insb                 generic_insb
30
# define __insw                 generic_insw
31
# define __insl                 generic_insl
32
# define __outsb                generic_outsb
33
# define __outsw                generic_outsw
34
# define __outsl                generic_outsl
35
 
36
# define __readb                generic_readb
37
# define __readw                generic_readw
38
# define __readl                generic_readl
39
# define __writeb               generic_writeb
40
# define __writew               generic_writew
41
# define __writel               generic_writel
42
 
43
# define __isa_port2addr        dreamcast_isa_port2addr
44
# define __ioremap              generic_ioremap
45
# define __iounmap              generic_iounmap
46
 
47
#endif
48
 
49
#endif /* _ASM_SH_IO_DREAMCAST_H */

powered by: WebSVN 2.1.0

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