xref: /openbmc/linux/arch/m68k/include/asm/hwtest.h (revision 49148020)
149148020SSam Ravnborg /* Routines to test for presence/absence of hardware registers:
249148020SSam Ravnborg  * see arch/m68k/mm/hwtest.c.
349148020SSam Ravnborg  *  -- PMM <pmaydell@chiark.greenend.org.uk> 05/1998
449148020SSam Ravnborg  *
549148020SSam Ravnborg  * Removed __init from decls.  We might want them in modules, and
649148020SSam Ravnborg  * the code is tiny anyway.  16/5/98 pb
749148020SSam Ravnborg  */
849148020SSam Ravnborg 
949148020SSam Ravnborg #ifndef __ASM_HWTEST_H
1049148020SSam Ravnborg #define __ASM_HWTEST_H
1149148020SSam Ravnborg 
1249148020SSam Ravnborg extern int hwreg_present(volatile void *regp);
1349148020SSam Ravnborg extern int hwreg_write(volatile void *regp, unsigned short val);
1449148020SSam Ravnborg 
1549148020SSam Ravnborg #endif
16