From owner-freebsd-current Mon Feb 11 19:47:51 2002 Delivered-To: freebsd-current@freebsd.org Received: from newman2.bestweb.net (newman2.bestweb.net [209.94.102.67]) by hub.freebsd.org (Postfix) with ESMTP id DA6D437B654 for ; Mon, 11 Feb 2002 18:19:10 -0800 (PST) Received: from okeeffe.bestweb.net (okeefe.bestweb.net [209.94.100.110]) by newman2.bestweb.net (Postfix) with ESMTP id 5DA472330F; Mon, 11 Feb 2002 21:18:05 -0500 (EST) Received: by okeeffe.bestweb.net (Postfix, from userid 0) id D85929F151; Mon, 11 Feb 2002 21:12:44 -0500 (EST) To: current@FreeBSD.ORG Cc: non@ever.sanda.gr.jp Subject: Re: ThinkPad X22 PC-Card slot problem Date: Thu, 07 Feb 2002 22:26:25 +0900 From: non@ever.sanda.gr.jp Message-Id: <20020212021244.D85929F151@okeeffe.bestweb.net> 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message