RT-AC56 3.0.0.4.374.37 core
[tomato.git] / release / src-rt-6.x.4708 / linux / linux-2.6.36 / drivers / net / skfp / h / types.h
blob5a3bf8378f9ef9e177580253ee6d1cc7f8785302
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 ----------------------
21 #ifndef _TYPES_
22 #define _TYPES_
24 #define _packed
25 #ifndef far
26 #define far
27 #endif
28 #ifndef _far
29 #define _far
30 #endif
32 #define inp(p) ioread8(p)
33 #define inpw(p) ioread16(p)
34 #define inpd(p) ioread32(p)
35 #define outp(p,c) iowrite8(c,p)
36 #define outpw(p,s) iowrite16(s,p)
37 #define outpd(p,l) iowrite32(l,p)
39 #endif /* _TYPES_ */