PageRenderTime 12ms CodeModel.GetById 9ms app.highlight 0ms RepoModel.GetById 1ms app.codeStats 0ms

/drivers/net/fddi/skfp/h/types.h

http://github.com/mirrors/linux
C Header | 35 lines | 17 code | 4 blank | 14 comment | 0 complexity | 7ec393ea0046bd9af51afd057ce57c47 MD5 | raw file
 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_ */