All of lore.kernel.org
 help / color / mirror / Atom feed
From: "VU Khac Tri \(Sony\)" <tri.vukhac@sonycom.com>
To: <linux-mips@linux-mips.org>
Subject: pcmcia on MIPS
Date: Sat, 5 Jun 2004 10:20:56 +0200	[thread overview]
Message-ID: <00a501c44ad6$2ffb4670$f304308a@CAHOW> (raw)

Hi,
I am trying running pcmcia on mips and got some problem of memory mapping.
On mips, the memory windows start at the physical addresses that are higher
than 0x10000000. However, in the pcmcia code, i82365.c, I found that the
start address must be in the interval 0x000000-0xFFFFFF.
Does this mean that the linux pcmcia stack does not work on mips? What is
the correct sys_start value?
Kind regards,
Tri

=========
PCMCIA 3.2.7, i82365.c, i365_set_mem_map():

    if ((map > 4) || (mem->card_start > 0x3ffffff) ||
        (mem->sys_start > mem->sys_stop) || (mem->speed > 1000))
        return -EINVAL;
    if (!(s->flags & (IS_PCI|IS_CARDBUS)) &&
        ((mem->sys_start > 0xffffff) || (mem->sys_stop > 0xffffff)))
        return -EINVAL;

WARNING: multiple messages have this Message-ID (diff)
From: "VU Khac Tri \(Sony\)" <tri.vukhac@sonycom.com>
To: linux-mips@linux-mips.org
Subject: pcmcia on MIPS
Date: Sat, 5 Jun 2004 10:20:56 +0200	[thread overview]
Message-ID: <00a501c44ad6$2ffb4670$f304308a@CAHOW> (raw)
Message-ID: <20040605082056.pv_2Zxr-tNTE-YU_Q0avwJPwT7-ti8CQ1G81dnGr5nQ@z> (raw)

Hi,
I am trying running pcmcia on mips and got some problem of memory mapping.
On mips, the memory windows start at the physical addresses that are higher
than 0x10000000. However, in the pcmcia code, i82365.c, I found that the
start address must be in the interval 0x000000-0xFFFFFF.
Does this mean that the linux pcmcia stack does not work on mips? What is
the correct sys_start value?
Kind regards,
Tri

=========
PCMCIA 3.2.7, i82365.c, i365_set_mem_map():

    if ((map > 4) || (mem->card_start > 0x3ffffff) ||
        (mem->sys_start > mem->sys_stop) || (mem->speed > 1000))
        return -EINVAL;
    if (!(s->flags & (IS_PCI|IS_CARDBUS)) &&
        ((mem->sys_start > 0xffffff) || (mem->sys_stop > 0xffffff)))
        return -EINVAL;

             reply	other threads:[~2004-06-05  8:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-05  8:20 VU Khac Tri (Sony) [this message]
2004-06-05  8:20 ` pcmcia on MIPS VU Khac Tri (Sony)

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='00a501c44ad6$2ffb4670$f304308a@CAHOW' \
    --to=tri.vukhac@sonycom.com \
    --cc=linux-mips@linux-mips.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.