From owner-freebsd-current Thu Feb 7 5:26:32 2002 Delivered-To: freebsd-current@freebsd.org Received: from ns.sanda.gr.jp (ns.sanda.gr.jp [210.232.122.18]) by hub.freebsd.org (Postfix) with ESMTP id C6AE637B400 for ; Thu, 7 Feb 2002 05:26:28 -0800 (PST) Received: from ever.sanda.gr.jp (epoch [10.93.63.51]) by ns.sanda.gr.jp (8.11.6/3.7W) with ESMTP id g17DQQa70818 for ; Thu, 7 Feb 2002 22:26:26 +0900 (JST) Received: from localhost (localhost [127.0.0.1]) by ever.sanda.gr.jp (8.8.8/3.3W9) with ESMTP id WAA22812; Thu, 7 Feb 2002 22:26:26 +0900 (JST) To: current@FreeBSD.ORG Cc: non@ever.sanda.gr.jp Subject: Re: ThinkPad X22 PC-Card slot problem In-Reply-To: <20020206.193332.02879103.imp@village.org> References: <200202061416.XAA71946@shidahara1.planet.sci.kobe-u.ac.jp> <20020207091016A.non@ever.sanda.gr.jp> <20020206.193332.02879103.imp@village.org> X-Mailer: Mew version 1.94 on Emacs 19.28 / Mule 2.3 =?iso-2022-jp?B?KBskQkt2RSYyVhsoQik=?= Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20020207222625S.non@ever.sanda.gr.jp> Date: Thu, 07 Feb 2002 22:26:25 +0900 From: non@ever.sanda.gr.jp X-Dispatcher: imput version 20000228(IM140) Lines: 41 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG From: "M. Warner Losh" Date: Wed, 06 Feb 2002 19:33:32 -0700 (MST) > Hmmm. This looks ugly. :-( I can't boot with acpi enabled on my Dell > Inspiron 8000. I can boot with apm enabled. There are issues with > routing interrupts accross PCI PCI bridges at the moment when the > slots on the other side of the bridge are in the PIR table. It turned out that this was not a intterupt routing problem. By disabling the memory/port range checks in sys/dev/pci/pci_pci.c solved the problem (below is the patch). pci_pci.c claims that both the memory adderss for pcic and the PC-Cards are not supported but I could use the addresses. // Noriaki Mitsunga // Index: pci_pci.c =================================================================== RCS file: /home/ncvs/src/sys/dev/pci/pci_pci.c,v retrieving revision 1.6 diff -u -r1.6 pci_pci.c --- pci_pci.c 15 Jan 2002 06:46:59 -0000 1.6 +++ pci_pci.c 7 Feb 2002 09:55:44 -0000 @@ -282,15 +282,18 @@ */ switch (type) { case SYS_RES_IOPORT: +#if 0 if (start < sc->iobase) start = sc->iobase; if (end > sc->iolimit && start < end) end = sc->iolimit; +#endif if ((start < sc->iobase) || (end > sc->iolimit)) { device_printf(dev, "device %s%d requested unsupported I/O range 0x%lx-0x%lx" " (decoding 0x%x-0x%x)\n", device_get_name(child), device_get_unit(child), start, end, sc->iobase, sc->iolimit); +#define PCI_ALLOW_UNSUPPORTED_IO_RANGE #ifndef PCI_ALLOW_UNSUPPORTED_IO_RANGE return(NULL); #endif To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message