Depending on the pattern of access, you can probably accomplish this with a standard char driver. IOControl's come to mind. More advanced scenarios would probably call for a block driver with memory map support. There's lots of stuff out there on writing a simple char driver, and even the most trivial usually have some IOControl's implemented. Only trouble with howto's is that they tend to be old and writing simple drivers is actually much easier on newer kernel's. Lots of infrastructure for making them in very few lines of code.
-- unsubscribe: android-kernel+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-kernel