mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: nobin matthew <nobin_matthew@yahoo.com>
To: linux-kernel@vger.kernel.org
Cc: linux-net@vger.kernel.org, linux-kernel@vger.kernel.org,
	kernelnewbies@nl.linux.org
Subject: HELP: PC104 IO card driver Problem
Date: Wed, 30 Mar 2005 21:37:44 -0800 (PST)	[thread overview]
Message-ID: <20050331053744.97435.qmail@web53903.mail.yahoo.com> (raw)

Dear Friends,

Can anybody Help me in this Pc104 driver Problem;
What is the basics steps in doing read and write on
Pc104 cards.

Deatails Given Below:
              I am writing a Linux device driver for
Diamond systems
IR104 digital IO card. This is a PC104 bus device(that
means it ISA
bus compatible).
The Platform is Arcom Viper borad(with support for
PC104), This is a
Xscale, Little endian Platform.

The Specification of PC104 interface  given in Viper
borad manual is:
0x3C000000-0x3CFFFFFF PC/104 memory space(16MB)
0x30000000-0x300003FF PC/104 IO space(1KB)

Specification given in IR104 manual is:
I made the jumber setting so that, the IO space
addresses  taken by 8
registers will be 0x300-0x307

The driver should do read and write on this
registers(character device
driver).

I took two approaches one is:
i added IO space and 0x300, did inb() and oub().(IO
space base address
and 0x300)
otherway i did ioremap on added result, did inb() and
oub().

In the second method:
I did same procedures using IO memory space

both methods are giving errors, i think that is
related to paging. i think
there is a need for disabling paging in this space.

Please help regarding this. How to solve this.

Nobin Mathew



		
__________________________________ 
Do you Yahoo!? 
Take Yahoo! Mail with you! Get it on your mobile phone. 
http://mobile.yahoo.com/maildemo 

             reply	other threads:[~2005-03-31  5:38 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-31  5:37 nobin matthew [this message]
2005-03-31  9:29 ` Ian Campbell
2005-04-02  5:24 ` saroj kumar pradhan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050331053744.97435.qmail@web53903.mail.yahoo.com \
    --to=nobin_matthew@yahoo.com \
    --cc=kernelnewbies@nl.linux.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-net@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®