Brett McNerney wrote: [...] >I am open for other options on how I can do this other then mmap. And am still not against a driver >built into the kernel if someone has a an example I could see and can explain how to add it in so it >builds into the kernel since I have had no success on that either and have tried a couple different >tutorials I found online with no success.
Ah, this is the first one of 2006. Happy new year! Your question is a linuxppc-embedded FAQ, coming at least every 3 months here. It is documented in Denx's FAQ[1], and accessible through shorter URL[2]. For more information, please follow this thread[3] (not ppc specific actually). A good book of C language about what are pointers and how scanf works might help too in case of confusion :-) [1] http://www.denx.de/twiki/bin/view/PPCEmbedded/DeviceDrivers#Section_Acce ssingPeripheralsFromUserSpace [2] http://tinyurl.com/6c7th [3] http://lists.linuxppc.org/linuxppc-embedded/200403/msg00059.html Regards, -- Stephane