Skip to contentSkip to conversation

pcmcia on MIPS

DISCUSSION VU Khac Tri (Sony) 1 participant 1 message Jun 5, 2004 MIPS

lore
Share & tools
lore
#0 lore 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;