[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ioremap and iounmap


I'm using ioremap in my device driver to access a memory mapped device. I
call ioremap at module load.

Most of the times the driver works fine. Sometimes it crashes (and reboots
the linux) when i write to the remapped
memory area.

Any idea what's wrong? Do I have to call iounmap at driver unload? (I
suppose not since it's not made "public")