Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/acpi acpi: expose acpimcfg_configure_bus_cb
details: https://anonhg.NetBSD.org/src/rev/1b82207aecf0
branches: trunk
changeset: 1022793:1b82207aecf0
user: jmcneill <jmcneill%NetBSD.org@localhost>
date: Sat Aug 07 21:19:15 2021 +0000
description:
acpi: expose acpimcfg_configure_bus_cb
diffstat:
sys/dev/acpi/acpi_mcfg.c | 6 +++---
sys/dev/acpi/acpi_mcfg.h | 3 ++-
2 files changed, 5 insertions(+), 4 deletions(-)
diffs (44 lines):
diff -r 512125d72781 -r 1b82207aecf0 sys/dev/acpi/acpi_mcfg.c
--- a/sys/dev/acpi/acpi_mcfg.c Sat Aug 07 20:41:17 2021 +0000
+++ b/sys/dev/acpi/acpi_mcfg.c Sat Aug 07 21:19:15 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: acpi_mcfg.c,v 1.23 2021/01/26 15:30:05 skrll Exp $ */
+/* $NetBSD: acpi_mcfg.c,v 1.24 2021/08/07 21:19:15 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.23 2021/01/26 15:30:05 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: acpi_mcfg.c,v 1.24 2021/08/07 21:19:15 jmcneill Exp $");
#include <sys/param.h>
#include <sys/device.h>
@@ -693,7 +693,7 @@
}
#ifdef PCI_NETBSD_CONFIGURE
-static ACPI_STATUS
+ACPI_STATUS
acpimcfg_configure_bus_cb(ACPI_RESOURCE *res, void *ctx)
{
struct pciconf_resources *pcires = ctx;
diff -r 512125d72781 -r 1b82207aecf0 sys/dev/acpi/acpi_mcfg.h
--- a/sys/dev/acpi/acpi_mcfg.h Sat Aug 07 20:41:17 2021 +0000
+++ b/sys/dev/acpi/acpi_mcfg.h Sat Aug 07 21:19:15 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: acpi_mcfg.h,v 1.3 2020/02/02 16:31:25 jmcneill Exp $ */
+/* $NetBSD: acpi_mcfg.h,v 1.4 2021/08/07 21:19:15 jmcneill Exp $ */
/*-
* Copyright (C) 2015 NONAKA Kimihiro <nonaka%NetBSD.org@localhost>
@@ -33,6 +33,7 @@
int acpimcfg_init(bus_space_tag_t, const struct acpimcfg_ops *);
int acpimcfg_map_bus(device_t, pci_chipset_tag_t, int);
int acpimcfg_configure_bus(device_t, pci_chipset_tag_t, ACPI_HANDLE, int, int);
+ACPI_STATUS acpimcfg_configure_bus_cb(ACPI_RESOURCE *, void *);
int acpimcfg_conf_read(pci_chipset_tag_t, pcitag_t, int, pcireg_t *);
int acpimcfg_conf_write(pci_chipset_tag_t, pcitag_t, int, pcireg_t);
Home |
Main Index |
Thread Index |
Old Index