Date: Thu, 07 Feb 2002 22:26:25 +0900 From: non@ever.sanda.gr.jp To: current@FreeBSD.ORG Cc: non@ever.sanda.gr.jp Subject: Re: ThinkPad X22 PC-Card slot problem Message-ID: <20020207222625S.non@ever.sanda.gr.jp> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
From: "M. Warner Losh" <imp@village.org> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020207222625S.non>