home *** CD-ROM | disk | FTP | other *** search
/ PC Welt 2006 November (DVD) / PCWELT_11_2006.ISO / casper / filesystem.squashfs / usr / src / linux-headers-2.6.17-6 / include / asm-m68k / hwtest.h < prev    next >
Encoding:
C/C++ Source or Header  |  2006-08-11  |  428 b   |  16 lines

  1. /* Routines to test for presence/absence of hardware registers:
  2.  * see arch/m68k/mm/hwtest.c.
  3.  *  -- PMM <pmaydell@chiark.greenend.org.uk> 05/1998
  4.  *
  5.  * Removed __init from decls.  We might want them in modules, and
  6.  * the code is tiny anyway.  16/5/98 pb
  7.  */
  8.  
  9. #ifndef __ASM_HWTEST_H
  10. #define __ASM_HWTEST_H
  11.  
  12. extern int hwreg_present(volatile void *regp);
  13. extern int hwreg_write(volatile void *regp, unsigned short val);
  14.  
  15. #endif
  16.