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