Date: Tue, 18 Jan 2011 14:58:44 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/dev/acpica acpi_pci.c Message-ID: <201101181459.p0IEx1tj081182@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jhb 2011-01-18 14:58:44 UTC FreeBSD src repository Modified files: sys/dev/acpica acpi_pci.c Log: SVN rev 217537 on 2011-01-18 14:58:44Z by jhb Remove bogus check. pcib_get_bus() (like other BUS_ACCESSOR() methods) doesn't "fail", it may merely return garbage if it is not a valid ivar for a given device. Our parent device must be a 'pcib' device, so we can just assume it implements pcib IVARs, and all pcib devices have a bus number. Submitted by: clang via rdivacky Revision Changes Path 1.38 +0 -2 src/sys/dev/acpica/acpi_pci.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201101181459.p0IEx1tj081182>