Hello,
I hava developed a driver to comunicate with pc/104 board. No problems to check_region and no problems to request_region.
But if have tried to read a byte (inb) always return me a 0xFF, but value must be other.
I have search in google about port access permission (IOPERM and IOPL), but when I try to compile my driver with this functions, Compiler return me a error:
Quote:
error: implicit declaration of function ‘ioperm’
error: implicit declaration of function ‘iopl’
|
I have this includes in my code:
#include <unistd.h>
#include <sys/io.h>
I use kernel 2.6.24.7-rt20.
Any advice