/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. #include <linux/types.h>
  11. /*
  12. ----------------------
  13. Basic SMT system types
  14. ----------------------
  15. */
  16. #ifndef _TYPES_
  17. #define _TYPES_
  18. #define _packed
  19. #ifndef far
  20. #define far
  21. #endif
  22. #ifndef _far
  23. #define _far
  24. #endif
  25. #define inp(p) ioread8(p)
  26. #define inpw(p) ioread16(p)
  27. #define inpd(p) ioread32(p)
  28. #define outp(p,c) iowrite8(c,p)
  29. #define outpw(p,s) iowrite16(s,p)
  30. #define outpd(p,l) iowrite32(l,p)
  31. #endif /* _TYPES_ */