1 /******************************************************************************
3 * (C)Copyright 1998,1999 SysKonnect,
4 * a business unit of Schneider & Koch & Co. Datensysteme GmbH.
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
11 * The information in this file is provided "AS IS" without warranty.
13 ******************************************************************************/
15 #include <linux/types.h>
17 ----------------------
18 Basic SMT system types
19 ----------------------
32 #ifndef MEM_MAPPED_IO // "normal" IO
34 #define inpw(p) inw(p)
35 #define inpd(p) inl(p)
36 #define outp(p,c) outb(c,p)
37 #define outpw(p,s) outw(s,p)
38 #define outpd(p,l) outl(l,p)
39 #else // memory mapped io
40 #define inp(a) readb(a)
41 #define inpw(a) readw(a)
42 #define inpd(a) readl(a)
43 #define outp(a,v) writeb(v, a)
44 #define outpw(a,v) writew(v, a)
45 #define outpd(a,v) writel(v, a)