diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2019-08-22 17:14:22 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2019-08-22 17:14:22 +0000 |
commit | d477acf0e09e217f0b05272f404b759aecf44ad6 (patch) | |
tree | 1f2908705f9eefdafbb47b87d99c399252e4b478 | |
parent | e147aca36d09821ea1020614dd16c18e53d16790 (diff) |
Don't check _TTP for io windows.
ok patrick@, jsg@
-rw-r--r-- | sys/arch/arm64/dev/acpipci.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/arch/arm64/dev/acpipci.c b/sys/arch/arm64/dev/acpipci.c index 915ef77cc1a..ecb69f43c85 100644 --- a/sys/arch/arm64/dev/acpipci.c +++ b/sys/arch/arm64/dev/acpipci.c @@ -1,4 +1,4 @@ -/* $OpenBSD: acpipci.c,v 1.12 2019/07/30 21:44:15 kettenis Exp $ */ +/* $OpenBSD: acpipci.c,v 1.13 2019/08/22 17:14:21 kettenis Exp $ */ /* * Copyright (c) 2018 Mark Kettenis * @@ -253,8 +253,10 @@ acpipci_parse_resources(int crsidx, union acpi_resource *crs, void *arg) sc->sc_mem_trans = at; break; case LR_TYPE_IO: - if ((tflags & LR_IO_TTP) == 0) - return 0; + /* + * Don't check _TTP as various firmwares don't set it, + * even though they should!! + */ extent_free(sc->sc_ioex, min, len, EX_WAITOK); at = malloc(sizeof(struct acpipci_trans), M_DEVBUF, M_WAITOK); at->at_iot = sc->sc_iot; |