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.
This commit is contained in:
John Baldwin 2011-05-02 19:02:30 +00:00
parent ba95b1e10e
commit 24c93a6fc4
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=221336

View File

@ -268,7 +268,7 @@ acpi_pcib_read_ivar(device_t dev, device_t child, int which, uintptr_t *result)
switch (which) { switch (which) {
case PCIB_IVAR_DOMAIN: case PCIB_IVAR_DOMAIN:
*result = 0; *result = sc->ap_segment;
return (0); return (0);
case PCIB_IVAR_BUS: case PCIB_IVAR_BUS:
*result = sc->ap_bus; *result = sc->ap_bus;