LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Problem with ioperm???? (https://www.linuxquestions.org/questions/linux-newbie-8/problem-with-ioperm-688258/)

webquinty 12-04-2008 05:33 AM

Problem with ioperm????
 
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


All times are GMT -5. The time now is 09:07 PM.