All of lore.kernel.org
 help / color / mirror / Atom feed
From: j.neuschaefer@gmx.net (Jonathan Neuschäfer)
To: kernelnewbies@lists.kernelnewbies.org
Subject: simple question about accessing pci io registers
Date: Wed, 18 May 2011 19:59:22 +0200	[thread overview]
Message-ID: <20110518175922.GB32227@debian.debian> (raw)
In-Reply-To: <BANLkTinuRcvwkGyNR_cNTgDNgzxg3_btnQ@mail.gmail.com>

On Tue, May 17, 2011 at 12:16:30PM +0530, Prashant Shah wrote:
> Hi,

> 	data16 = 0x0000;
> 	outw(iobase2 + 2, data16);
> 	mb(); udelay(100);

You should probably be using outw_p here, it'll wait until the io
completes (see outb(2)).  But I don't think this will solve your problem.

Greetings,
	Jonathan Neusch?fer

      reply	other threads:[~2011-05-18 17:59 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-17  6:46 simple question about accessing pci io registers Prashant Shah
2011-05-18 17:59 ` Jonathan Neuschäfer [this message]

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=20110518175922.GB32227@debian.debian \
    --to=j.neuschaefer@gmx.net \
    --cc=kernelnewbies@lists.kernelnewbies.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.