home *** CD-ROM | disk | FTP | other *** search
/ Il CD di internet / CD.iso / SOURCE / KERNEL-S / V1.2 / LINUX-1.2 / LINUX-1 / linux / include / asm-alpha / io.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-02-03  |  420 b   |  22 lines

  1. #ifndef __ALPHA_IO_H
  2. #define __ALPHA_IO_H
  3.  
  4. #include <linux/config.h>
  5.  
  6. #ifndef mb
  7. #define mb() __asm__ __volatile__("mb": : :"memory")
  8. #endif
  9.  
  10. /*
  11.  * There are different version of the alpha motherboards: the
  12.  * "interesting" (read: slightly braindead) Jensen type hardware
  13.  * and the PCI version
  14.  */
  15. #ifdef CONFIG_PCI
  16. #include <asm/lca.h>        /* get chip-specific definitions */
  17. #else
  18. #include <asm/jensen.h>
  19. #endif
  20.  
  21. #endif
  22.