PageRenderTime 12ms CodeModel.GetById 1ms app.highlight 6ms RepoModel.GetById 1ms app.codeStats 0ms

/arch/sh/boards/unknown/io.c

https://bitbucket.org/evzijst/gittest
C | 46 lines | 33 code | 3 blank | 10 comment | 0 complexity | 29b33dd88518b50177b3104f70121eae MD5 | raw file
 1/*
 2 * linux/arch/sh/kernel/io_unknown.c
 3 *
 4 * Copyright (C) 2000 Stuart Menefy (stuart.menefy@st.com)
 5 *
 6 * May be copied or modified under the terms of the GNU General Public
 7 * License.  See linux/COPYING for more information.
 8 *
 9 * I/O routine for unknown hardware.
10 */
11
12static unsigned int unknown_handler(void)
13{
14	return 0;
15}
16
17#define UNKNOWN_ALIAS(fn) \
18	void unknown_##fn(void) __attribute__ ((alias ("unknown_handler")));
19
20UNKNOWN_ALIAS(inb)
21UNKNOWN_ALIAS(inw)
22UNKNOWN_ALIAS(inl)
23UNKNOWN_ALIAS(outb)
24UNKNOWN_ALIAS(outw)
25UNKNOWN_ALIAS(outl)
26UNKNOWN_ALIAS(inb_p)
27UNKNOWN_ALIAS(inw_p)
28UNKNOWN_ALIAS(inl_p)
29UNKNOWN_ALIAS(outb_p)
30UNKNOWN_ALIAS(outw_p)
31UNKNOWN_ALIAS(outl_p)
32UNKNOWN_ALIAS(insb)
33UNKNOWN_ALIAS(insw)
34UNKNOWN_ALIAS(insl)
35UNKNOWN_ALIAS(outsb)
36UNKNOWN_ALIAS(outsw)
37UNKNOWN_ALIAS(outsl)
38UNKNOWN_ALIAS(readb)
39UNKNOWN_ALIAS(readw)
40UNKNOWN_ALIAS(readl)
41UNKNOWN_ALIAS(writeb)
42UNKNOWN_ALIAS(writew)
43UNKNOWN_ALIAS(writel)
44UNKNOWN_ALIAS(isa_port2addr)
45UNKNOWN_ALIAS(ioremap)
46UNKNOWN_ALIAS(iounmap)