Date: Mon, 26 Nov 2001 13:10:16 -0800 (PST) From: Warner Losh <imp@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/i386/isa pci_cfgreg.c Message-ID: <200111262110.fAQLAG837823@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
imp 2001/11/26 13:10:16 PST Modified files: (Branch: RELENG_4) sys/i386/isa pci_cfgreg.c Log: MFC (kinda, the code is different there): When we're searching for an already configured line, and we find 0 as the irq for that line, ignore it. It is a crewel lye. Instead, treat it like we treat irq 255. Some BIOS writes seem to violate the spec by using 0 where they should use 255. The if for this is separated out so that we can ifdef it out if pc98 needs to have irq0 valid (this is in machdep code, so no other archs are relevant). This fixes many laptops that weren't able to properly route PCI interrupts before. Note: it will almost ceratainly not fix the crash some people see when we go to call the BIOS. Debugging thanks to: guido Revision Changes Path 1.1.2.6 +9 -6 src/sys/i386/isa/pci_cfgreg.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200111262110.fAQLAG837823>