mmap problem with personnal code driver

2 messages, 1 author, 2002-12-20 · open the first message on its own page

mmap problem with personnal code driver

From: Xavier Grave <hidden>
Date: 2002-12-19 16:18:52

Hi all,

I have written a driver for a pci to vme bridge and I have the following
problem : when I try to mmap some pci space to the user memory read is ok but
write seems broken on ppc arch. (it run without problem on x86 arch).

I think the problem is in the pgprot_val(vma->vm_page_prot) value.

I wonder if I haven't see something about that in the list before but I
couldn't find it for the moment.
Does anyone have an idea to help me ? :-)

xavier
PS: for people interested in the vme driver the new version support both
rtlinux, rtai and standard linux.

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

Re: mmap problem with personnal code driver

From: Xavier Grave <hidden>
Date: 2002-12-20 13:51:33

Now that I have reduced the number of thing in my crate (CPU + vme analyser)
I can see that my driver works fine, no more mmap problem.
Sorry for the disturbance...

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help