Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/acpi acpimcfg_configure_bus_cb can support 16-bit ad...
details: https://anonhg.NetBSD.org/src/rev/cf017648a8d7
branches: trunk
changeset: 995125:cf017648a8d7
user: jmcneill <jmcneill%NetBSD.org@localhost>
date: Sat Dec 08 15:02:06 2018 +0000
description:
acpimcfg_configure_bus_cb can support 16-bit addresses now
diffstat:
sys/dev/acpi/acpi_mcfg.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (28 lines):
diff -r 94a2478a6c56 -r cf017648a8d7 sys/dev/acpi/acpi_mcfg.c
--- a/sys/dev/acpi/acpi_mcfg.c Sat Dec 08 14:57:11 2018 +0000
+++ b/sys/dev/acpi/acpi_mcfg.c Sat Dec 08 15:02:06 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: acpi_mcfg.c,v 1.14 2018/12/03 05:22:03 cherry Exp $ */
+/* $NetBSD: acpi_mcfg.c,v 1.15 2018/12/08 15:02:06 jmcneill Exp $ */
/*-
* Copyright (C) 2015 NONAKA Kimihiro <nonaka%NetBSD.org@localhost>
@@ -28,7 +28,7 @@
#include "opt_pci.h"
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: acpi_mcfg.c,v 1.14 2018/12/03 05:22:03 cherry Exp $");
+__KERNEL_RCSID(0, "$NetBSD: acpi_mcfg.c,v 1.15 2018/12/08 15:02:06 jmcneill Exp $");
#include <sys/param.h>
#include <sys/device.h>
@@ -717,7 +717,8 @@
const char *s;
int error;
- if (res->Type != ACPI_RESOURCE_TYPE_ADDRESS32 &&
+ if (res->Type != ACPI_RESOURCE_TYPE_ADDRESS16 &&
+ res->Type != ACPI_RESOURCE_TYPE_ADDRESS32 &&
res->Type != ACPI_RESOURCE_TYPE_ADDRESS64)
return AE_OK;
Home |
Main Index |
Thread Index |
Old Index