Hi, On Wed, Jun 1, 2011 at 12:04 PM, sandeep kumar <[email protected]> wrote: > Hi, > > ioremap() : > 2) ioremap does mapping of a particular i/o device to kernel logical memory > address.
Please correct me if I am wrong. I think this function will remap the I/O registers location to a memory location, so instead of using inb/outb you can use the memory based functions like readb/writeb. eg : lets say I want to read from I/O port 0x80. I will have to use the inb() function. Now if I ioremap() it to a memory location it I can use the readb() instead. _______________________________________________ Kernelnewbies mailing list [email protected] http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
