All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
* mmap problem with personnal code driver
@ 2002-12-19 16:18 Xavier Grave
  2002-12-20 13:51 ` Xavier Grave
  0 siblings, 1 reply; 2+ messages in thread
From: Xavier Grave @ 2002-12-19 16:18 UTC (permalink / raw
  To: linuxppc-dev


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/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: mmap problem with personnal code driver
  2002-12-19 16:18 mmap problem with personnal code driver Xavier Grave
@ 2002-12-20 13:51 ` Xavier Grave
  0 siblings, 0 replies; 2+ messages in thread
From: Xavier Grave @ 2002-12-20 13:51 UTC (permalink / raw
  To: linuxppc-dev


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/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-12-20 13:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-19 16:18 mmap problem with personnal code driver Xavier Grave
2002-12-20 13:51 ` Xavier Grave

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.