[PATCH] uml: add -ffreestanding to CFLAGS
[linux/fpc-iii.git] / include / asm-sh / bigsur / io.h
blob939735ee8dc525e3841f98e93ae6d52af04cd4e2
1 /*
2 * include/asm-sh/io_bigsur.h
4 * By Dustin McIntire (dustin@sensoria.com) (c)2001
5 * Derived from io_hd64465.h, which bore the message:
6 * By Greg Banks <gbanks@pocketpenguins.com>
7 * (c) 2000 PocketPenguins Inc.
8 * and from io_hd64461.h, which bore the message:
9 * Copyright 2000 Stuart Menefy (stuart.menefy@st.com)
11 * May be copied or modified under the terms of the GNU General Public
12 * License. See linux/COPYING for more information.
14 * IO functions for a Hitachi Big Sur Evaluation Board.
17 #ifndef _ASM_SH_IO_BIGSUR_H
18 #define _ASM_SH_IO_BIGSUR_H
20 #include <linux/types.h>
22 extern unsigned long bigsur_isa_port2addr(unsigned long offset);
23 extern int bigsur_irq_demux(int irq);
24 /* Provision for generic secondary demux step -- used by PCMCIA code */
25 extern void bigsur_register_irq_demux(int irq,
26 int (*demux)(int irq, void *dev), void *dev);
27 extern void bigsur_unregister_irq_demux(int irq);
28 /* Set this variable to 1 to see port traffic */
29 extern int bigsur_io_debug;
30 /* Map a range of ports to a range of kernel virtual memory. */
31 extern void bigsur_port_map(u32 baseport, u32 nports, u32 addr, u8 shift);
32 extern void bigsur_port_unmap(u32 baseport, u32 nports);
34 #endif /* _ASM_SH_IO_BIGSUR_H */