Date: Sun, 24 Nov 2002 21:41:00 -0800 (PST) From: Marcel Moolenaar <marcel@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 21471 for review Message-ID: <200211250541.gAP5f0kl043451@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=21471 Change 21471 by marcel@marcel_nfs on 2002/11/24 21:40:55 Attach the `else' to the inner `if': If we cannot parse the PCI bus number by evaluating _BBN, and the error is AE_NOT_FOUND, we assume bus 0. Previously we set the bus to 0 if we could get the bus number through _BBN. Affected files ... .. //depot/projects/ia64/sys/dev/acpica/acpi_pcib_acpi.c#4 edit Differences ... ==== //depot/projects/ia64/sys/dev/acpica/acpi_pcib_acpi.c#4 (text+ko) ==== @@ -164,12 +164,12 @@ device_printf(dev, "could not evaluate _BBN - %s\n", AcpiFormatException(status)); return_VALUE(ENXIO); + } else { + /* if it's not found, assume 0 */ + sc->ap_bus = 0; } - } else { - /* if it's not found, assume 0 */ - sc->ap_bus = 0; } - + /* * If the bus is zero and pcib0 already exists, read the bus number * via PCI config space. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe p4-projects" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200211250541.gAP5f0kl043451>