Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 04-14-2015, 01:27 AM   #1
LQ Newbie
Registered: Dec 2010
Posts: 26

Rep: Reputation: 1
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.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Printing registers with gdb: "No registers" is all I get. stf92 Slackware 2 03-09-2015 02:41 PM
problem with registers mr.cracker Programming 11 05-16-2012 12:35 PM
cli utility to view hardware register values/ registers slugman Linux - Hardware 1 06-11-2011 09:29 AM
What are the registers and hardware counters present in an Intel Core 2 duo? agniv Linux - Hardware 5 03-17-2009 04:38 PM
registers strycnine Programming 4 05-17-2007 11:44 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:05 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration