diff options
| author | John Baldwin <jhb@FreeBSD.org> | 2002-08-26 15:12:47 +0000 |
|---|---|---|
| committer | John Baldwin <jhb@FreeBSD.org> | 2002-08-26 15:12:47 +0000 |
| commit | 473f1ca90de1a38aeda068e55bed1e186cf5d730 (patch) | |
| tree | 4582718d460a65ee70565c1f633fed327dff4735 | |
| parent | dd1d26511dd0971f7afef525fb387f2dda6daa27 (diff) | |
Notes
| -rw-r--r-- | sys/dev/acpica/acpi_pcib.c | 4 | ||||
| -rw-r--r-- | sys/dev/acpica/acpi_pcib_acpi.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/acpica/acpi_pcib.c b/sys/dev/acpica/acpi_pcib.c index 5bc77946f17c6..2549387bbf185 100644 --- a/sys/dev/acpica/acpi_pcib.c +++ b/sys/dev/acpica/acpi_pcib.c @@ -395,8 +395,8 @@ acpi_pcib_route_interrupt(device_t pcib, device_t dev, int pin) prt->Source, devinfo.HardwareId); goto out; } - if (!acpi_DeviceIsPresent(sc->ap_dev)) { - device_printf(sc->ap_dev, "PCI interrupt link device %s not present\n", + if (devinfo.Valid & ACPI_VALID_STA && (devinfo.CurrentStatus & 0x9) != 0x9) { + device_printf(pcib, "PCI interrupt link device %s not present\n", prt->Source); goto out; } diff --git a/sys/dev/acpica/acpi_pcib_acpi.c b/sys/dev/acpica/acpi_pcib_acpi.c index 5bc77946f17c6..2549387bbf185 100644 --- a/sys/dev/acpica/acpi_pcib_acpi.c +++ b/sys/dev/acpica/acpi_pcib_acpi.c @@ -395,8 +395,8 @@ acpi_pcib_route_interrupt(device_t pcib, device_t dev, int pin) prt->Source, devinfo.HardwareId); goto out; } - if (!acpi_DeviceIsPresent(sc->ap_dev)) { - device_printf(sc->ap_dev, "PCI interrupt link device %s not present\n", + if (devinfo.Valid & ACPI_VALID_STA && (devinfo.CurrentStatus & 0x9) != 0x9) { + device_printf(pcib, "PCI interrupt link device %s not present\n", prt->Source); goto out; } |
