All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ralf Baechle <ralf@linux-mips.org>
To: Manuel Lauss <manuel.lauss@googlemail.com>
Cc: Linux-MIPS <linux-mips@linux-mips.org>
Subject: Re: [PATCH] MIPS: remove port limit in ioport_map
Date: Fri, 4 Nov 2011 17:43:19 +0000	[thread overview]
Message-ID: <20111104174319.GA18037@linux-mips.org> (raw)
In-Reply-To: <1320418191-22096-1-git-send-email-manuel.lauss@googlemail.com>

On Fri, Nov 04, 2011 at 03:49:51PM +0100, Manuel Lauss wrote:

> Alchemy PCMCIA IO lies outside the 32bit address space and needs to
> be ioremapped to be accessible.  The resulting address is
> then fed as IO-port base to all PCMCIA client drivers attached
> to a particular socket.  pata_pcmcia does devm_ioport_map() on
> the port address, which returns errors because MIPS' ioport_map()
> implementation rejects incoming port addresses which are not
> within the 0..64k window.  Other embedded architectures don't
> bother with a check like this;  this patch brings MIPS in line
> and in turn makes pata_pcmcia work on all my Alchemy systems
> (and doesn't break PCI).

The reason for this had something to do with multiple PCI busses with
devices using I/O ports but I forgot what it was :).  Need to think about
this one.

  Ralf

      reply	other threads:[~2011-11-04 17:43 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-04 14:49 [PATCH] MIPS: remove port limit in ioport_map Manuel Lauss
2011-11-04 17:43 ` Ralf Baechle [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=20111104174319.GA18037@linux-mips.org \
    --to=ralf@linux-mips.org \
    --cc=linux-mips@linux-mips.org \
    --cc=manuel.lauss@googlemail.com \
    /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.