>virtual_address = __va(0xfdf00000) to get the virtual address for >CCSRBAR , which contains fdf00000 at offset zero.(It contains it's >address at the offset zero from the CCSRBAR). >If I dereference the virtual_address( *virtual_address = fdf00000) >it should contain the same address. But when i tried this , it result in >segmentation fault. pls give me any clue. I am not sure, but probably you should use ioremap(). -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/