Subject: pcmcia on MIPS

From: "VU Khac Tri \(Sony\)" <[email-masked]>
Date: Sat, 5 Jun 2004 10:20:56 +0200

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;