Skip to contentSkip to conversation

different mmap request to the same device driver.

DISCUSSION arun4linux 1 participant 1 message Nov 14, 2002

lore
Share & tools
lore

arun4linux

author
#0 lore raw

Hello,

I'm writing a character for my PCI based device.

As per the requirement I need to export couple of base address to the user space.

I have implemented mmap to achieve this. I'm differentating these two base address with the help of the second parameter, size as these two address spaces vary in size.

I'd like to know is there any other better way of differentiating both these mmaps.

Warm Regards

Arun

Get Your Private, Free E-mail from Indiatimes at http://email.indiatimes.com

Buy Music, Video, CD-ROM, Audio-Books and Music Accessories from http://www.planetm.co.in