different mmap request to the same device driver.

arun4linux (arun4linux@indiatimes.com)
Thu, 14 Nov 2002 05:54:44 +0530


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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/