Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 May 2011 19:02:30 +0000 (UTC)
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r221336 - head/sys/dev/acpica
Message-ID:  <201105021902.p42J2UVd050382@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201105021902.p42J2UVd050382>