2013-08-28 06:43:45 +02:00
|
|
|
#include "kernel/system.h"
|
|
|
|
#include <minix/endpoint.h>
|
|
|
|
|
|
|
|
#if USE_PADCONF
|
|
|
|
|
|
|
|
/* get arch specific arch_padconf_set() */
|
2014-02-07 08:46:29 +01:00
|
|
|
#include "bsp_padconf.h"
|
2013-08-28 06:43:45 +02:00
|
|
|
|
|
|
|
/*===========================================================================*
|
|
|
|
* do_padconf *
|
|
|
|
*===========================================================================*/
|
|
|
|
int do_padconf(struct proc *caller_ptr, message *m_ptr)
|
|
|
|
{
|
2014-02-07 08:46:29 +01:00
|
|
|
return bsp_padconf_set(m_ptr->PADCONF_PADCONF, m_ptr->PADCONF_MASK,
|
2013-08-28 06:43:45 +02:00
|
|
|
m_ptr->PADCONF_VALUE);
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif /* USE_PADCONF */
|