. pci driver now returns devices, even when they have been pci_reserve()d
[minix3.git] / lib / other / sys_eniop.c
blob5cda897b41fae80bcea0c1686d97829b68d6c331
1 #include "../syslib/syslib.h"
3 /*===========================================================================*
4 * sys_enable_iop *
5 *===========================================================================*/
6 PUBLIC int sys_enable_iop(proc_nr)
7 int proc_nr; /* number of process to allow I/O */
9 message m_iop;
10 m_iop.IO_ENDPT = proc_nr;
11 return _taskcall(SYSTASK, SYS_IOPENABLE, &m_iop);