All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Paolo Scaffardi" <arsenio@tin.it>
To: "linuxppc-emb" <linuxppc-embedded@lists.linuxppc.org>
Subject: outb_p(0xc, 0x3f2) with _IO_BASE remapped!
Date: Fri, 13 Oct 2000 10:26:07 +0200	[thread overview]
Message-ID: <016f01c034ef$3cf52220$0a00010a@airvent.it> (raw)


I discovered that my kernel hangs into 'drivers/block/ll_rw_blk.c', in
function 'blk_dev_init', at the instruction outb_p(0xc, 0x3f2), if i remap
_IO_BASE to 0xfe0000000 (to use m8xx_pcmcia).

I think that this instruction simply wrote something to the memory (if
_IO_BASE was 0 and wasn't ioremapped), but now it shouldn't do nothing
(nothing is at that address).

But why is it needed? What is supposed to do that instruction? Why not
writing that value to the memory instead of using outb_p instruction?

This is really a problem to me... i need to remap _IO_BASE to use
m8xx_pcmcia!

- may the pinguin b with u -

Have a nice day,
Paolo Scaffardi.
AIRVENT SAM s.p.a. - RIMINI - ITALY


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

             reply	other threads:[~2000-10-13  8:26 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-10-13  8:26 Paolo Scaffardi [this message]
2000-10-16 20:16 ` outb_p(0xc, 0x3f2) with _IO_BASE remapped! Dan Malek

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='016f01c034ef$3cf52220$0a00010a@airvent.it' \
    --to=arsenio@tin.it \
    --cc=linuxppc-embedded@lists.linuxppc.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.