From mboxrd@z Thu Jan 1 00:00:00 1970 Received: with ECARTIS (v1.0.0; list linux-mips); Sat, 05 Jun 2004 09:23:40 +0100 (BST) Received: from witte.sonytel.be ([IPv6:::ffff:80.88.33.193]:30879 "EHLO witte.sonytel.be") by linux-mips.org with ESMTP id ; Sat, 5 Jun 2004 09:23:36 +0100 Received: from CAHOW (localhost [127.0.0.1]) by witte.sonytel.be (8.12.10/8.12.10) with SMTP id i558MxXJ020080 for ; Sat, 5 Jun 2004 10:23:25 +0200 (MEST) Message-ID: <00a501c44ad6$2ffb4670$f304308a@CAHOW> From: "VU Khac Tri \(Sony\)" To: Subject: pcmcia on MIPS Date: Sat, 5 Jun 2004 10:20:56 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 Return-Path: X-Envelope-To: <"|/home/ecartis/ecartis -s linux-mips"> (uid 0) X-Orcpt: rfc822;linux-mips@linux-mips.org Original-Recipient: rfc822;linux-mips@linux-mips.org X-archive-position: 5256 X-ecartis-version: Ecartis v1.0.0 Sender: linux-mips-bounce@linux-mips.org Errors-to: linux-mips-bounce@linux-mips.org X-original-sender: tri.vukhac@sonycom.com Precedence: bulk X-list: linux-mips 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; From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from CAHOW (localhost [127.0.0.1]) by witte.sonytel.be (8.12.10/8.12.10) with SMTP id i558MxXJ020080 for ; Sat, 5 Jun 2004 10:23:25 +0200 (MEST) Message-ID: <00a501c44ad6$2ffb4670$f304308a@CAHOW> From: "VU Khac Tri \(Sony\)" Subject: pcmcia on MIPS Date: Sat, 5 Jun 2004 10:20:56 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Return-Path: Sender: linux-mips-bounce@linux-mips.org Errors-to: linux-mips-bounce@linux-mips.org To: linux-mips@linux-mips.org Message-ID: <20040605082056.pv_2Zxr-tNTE-YU_Q0avwJPwT7-ti8CQ1G81dnGr5nQ@z> 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;