I have a requirement to allow a user space application be able to memory map to some of the data buffers within a network driver.
As far as I can see, I will need to make the network driver register as a character device driver as well so that I can eventually get an entry under "/dev" and then I can use file I/O to open and perform the memory map.
I've been running into some problems so far and I'm just wondering if there is any reason why I would not be able to do this.
Can this be done and is there perhaps a better way to setup the memory map from the driver into user space?
Cheers!!