Read in /dev/port with Segmentation Fault

From: <hidden>
Date: 2005-06-09 07:29:10

Hi all,

I want to access to IO ports on a MPC885. The iopl() is not implemented, in
my distribution, to use inw() outw().
So I use /dev/port. It works for open("/dev/port",..) and lseek() but when
i do a read()  i have a segmentation fault. I gave all the right to
/dev/port
Does anybody have an idea ?
Thanks a lot.

Sophie CARAYOL
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help