1*433d6423SLionel Sambuc #include "kernel/system.h" 2*433d6423SLionel Sambuc #include <minix/endpoint.h> 3*433d6423SLionel Sambuc 4*433d6423SLionel Sambuc #if USE_PADCONF 5*433d6423SLionel Sambuc 6*433d6423SLionel Sambuc /* get arch specific arch_padconf_set() */ 7*433d6423SLionel Sambuc #include "bsp_padconf.h" 8*433d6423SLionel Sambuc 9*433d6423SLionel Sambuc /*===========================================================================* 10*433d6423SLionel Sambuc * do_padconf * 11*433d6423SLionel Sambuc *===========================================================================*/ do_padconf(struct proc * caller_ptr,message * m_ptr)12*433d6423SLionel Sambucint do_padconf(struct proc *caller_ptr, message *m_ptr) 13*433d6423SLionel Sambuc { 14*433d6423SLionel Sambuc return bsp_padconf_set(m_ptr->PADCONF_PADCONF, m_ptr->PADCONF_MASK, 15*433d6423SLionel Sambuc m_ptr->PADCONF_VALUE); 16*433d6423SLionel Sambuc } 17*433d6423SLionel Sambuc 18*433d6423SLionel Sambuc #endif /* USE_PADCONF */ 19