• Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/net/skfp/h/
1/******************************************************************************
2 *
3 *	(C)Copyright 1998,1999 SysKonnect,
4 *	a business unit of Schneider & Koch & Co. Datensysteme GmbH.
5 *
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.
10 *
11 *	The information in this file is provided "AS IS" without warranty.
12 *
13 ******************************************************************************/
14
15#include	<linux/types.h>
16/*
17	----------------------
18	Basic SMT system types
19	----------------------
20*/
21#ifndef _TYPES_
22#define	_TYPES_
23
24#define _packed
25#ifndef far
26#define far
27#endif
28#ifndef _far
29#define _far
30#endif
31
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)
38
39#endif	/* _TYPES_ */
40