ioremapping the hardware registers
Hi all,
I have simple doubts about ioremapping.
1) In the same driver what will happen if I do multiple times ioremapping to the same physiacal address.
2) I already did ioremaping for ethernet registers in ethernt driver. Now I have written a small character driver, that has read and write funtions which are doing ioremap and iounamp for the address sent from userspace.
From userspcae we are sending each register physical addres to read contents.
Can we do like this or should I need to aproach any ohterway to read the those register.
Thanks,
Harinath
|