xref: /openbmc/linux/drivers/net/fddi/skfp/h/types.h (revision 2874c5fd)
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /******************************************************************************
3  *
4  *	(C)Copyright 1998,1999 SysKonnect,
5  *	a business unit of Schneider & Koch & Co. Datensysteme GmbH.
6  *
7  *	The information in this file is provided "AS IS" without warranty.
8  *
9  ******************************************************************************/
10 
11 #include	<linux/types.h>
12 /*
13 	----------------------
14 	Basic SMT system types
15 	----------------------
16 */
17 #ifndef _TYPES_
18 #define	_TYPES_
19 
20 #define _packed
21 #ifndef far
22 #define far
23 #endif
24 #ifndef _far
25 #define _far
26 #endif
27 
28 #define inp(p)  ioread8(p)
29 #define inpw(p)	ioread16(p)
30 #define inpd(p) ioread32(p)
31 #define outp(p,c)  iowrite8(c,p)
32 #define outpw(p,s) iowrite16(s,p)
33 #define outpd(p,l) iowrite32(l,p)
34 
35 #endif	/* _TYPES_ */
36