getting bytes in and out of ports

b michiel at cadlab1.UUCP
Thu Nov 24 02:27:48 AEST 1988


Can anybody tell me how to use the files /src/inb.c & /src/outb.c included
in the microport V/386 SDS. My first problem is that the file io_op.h is
missing. The examples use an ioctl call IOCIOP_RB (read byte I presume) 
to read from /dev/mem and a struct called iop_op_t to pass the parameters.

I received the V/286 version of iop_op_t but using that gives an error device
"no such device" (errno 19). I'm pretty sure /dev/mem is there so i assume
the 286 header file is not correct.

michiel



More information about the Comp.unix.microport mailing list