svn commit: r221336 - head/sys/dev/acpica
John Baldwin
jhb at FreeBSD.org
Mon May 2 19:02:30 UTC 2011
Author: jhb
Date: Mon May 2 19:02:30 2011
New Revision: 221336
URL: http://svn.freebsd.org/changeset/base/221336
Log:
The ACPI Host-PCI bridge driver actually supports multiple domains via
the optional _SEG function. Return that value (ap->segment) rather than
0 for the pcib domain ivar.
Modified:
head/sys/dev/acpica/acpi_pcib_acpi.c
Modified: head/sys/dev/acpica/acpi_pcib_acpi.c
==============================================================================
--- head/sys/dev/acpica/acpi_pcib_acpi.c Mon May 2 18:41:54 2011 (r221335)
+++ head/sys/dev/acpica/acpi_pcib_acpi.c Mon May 2 19:02:30 2011 (r221336)
@@ -268,7 +268,7 @@ acpi_pcib_read_ivar(device_t dev, device
switch (which) {
case PCIB_IVAR_DOMAIN:
- *result = 0;
+ *result = sc->ap_segment;
return (0);
case PCIB_IVAR_BUS:
*result = sc->ap_bus;
More information about the svn-src-head
mailing list