Date: Thu, 17 Nov 2005 17:25:27 -0500 From: John Baldwin <jhb@freebsd.org> To: acpi@freebsd.org Subject: [PATCH] Fix weird PCI bus numbers with pci_linkX Message-ID: <200511171725.27877.jhb@freebsd.org>
next in thread | raw e-mail | index | archive | help
--Boundary-00=_XNQfD9rFPouyaeS Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline I think I figured out why some people get messages like: pci_linkX: BIOS IRQ 11 for -17777216.6.INTA is invalid I was not reading the bus number from the bridge device correctly (the normal __BUS_ACCESSOR() macros assume that the passed in argument is a child device, but at the time I'm reading the bus there is no child device, so I was passing in the pcib device, the parent of the pcib device probably returned an error, and the bus variable ended up being some random stack garbage). The attached patch (also at URL) should fix it I think. http://www.FreeBSD.org/~jhb/patches/acpi_pci_link.patch -- John Baldwin <jhb@FreeBSD.org> <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org --Boundary-00=_XNQfD9rFPouyaeS--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200511171725.27877.jhb>