. pci driver now returns devices, even when they have been pci_reserve()d
[minix3.git] / lib / syslib / sys_voutb.c
blob42467274e7845f8a378d50821f6c9d4a0bf7036f
1 #include "syslib.h"
3 /*===========================================================================*
4 * sys_voutb *
5 *===========================================================================*/
6 PUBLIC int sys_voutb(pvb_pairs, nr_ports)
7 pvb_pair_t *pvb_pairs; /* (port,byte-value)-pairs */
8 int nr_ports; /* nr of pairs to be processed */
10 message m_io;
11 m_io.DIO_REQUEST = _DIO_OUTPUT | _DIO_BYTE;
12 m_io.DIO_VEC_ADDR = (char *) pvb_pairs;
13 m_io.DIO_VEC_SIZE = nr_ports;
14 return _taskcall(SYSTASK, SYS_VDEVIO, &m_io);