linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* "lseek/write char driver" versus "usermode iomem access"
@ 2006-03-29  8:22 Josef Angermeier
  2006-03-29 16:46 ` David Hawkins
  0 siblings, 1 reply; 2+ messages in thread
From: Josef Angermeier @ 2006-03-29  8:22 UTC (permalink / raw)
  To: linuxppc-embedded


Hello,

besides adapting linux to my custom board, i now have to write a driver 
for a special device. This device mainly consists of an up to 512 bytes 
big IO memory. Because performance matters alot, i wonder if i shall 
write a simple char driver offering a write/lseek-interface to access 
this memory or if i shall do something new to me, mapping the IO-memory 
to the userspace, so that the user-program can directly access the 
device memory. Can anyone tell me how performance probably differs 
between those two design.

Thanks, you probably save me alot of time to tryout!

Josef

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

end of thread, other threads:[~2006-03-29 16:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-29  8:22 "lseek/write char driver" versus "usermode iomem access" Josef Angermeier
2006-03-29 16:46 ` David Hawkins

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).