Here is an example of mapping driver memory to user space.
example source code for linux 2.6 is here.
Linux: mapping driver memory into user space: "Linux 2.6 Device Driver
With Linux 2.6 a new build process is used. This and the amount of changes made me split the example from the 2.2 and 2.4 code. Please download it from here."