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;
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to