Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/acpi expose acpi_pcidev_pciroot_bus



details:   https://anonhg.NetBSD.org/src/rev/8dee0e2f9dc3
branches:  trunk
changeset: 932474:8dee0e2f9dc3
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Fri May 08 14:42:38 2020 +0000

description:
expose acpi_pcidev_pciroot_bus

diffstat:

 sys/dev/acpi/acpi_pci.c |  7 +++----
 sys/dev/acpi/acpi_pci.h |  3 ++-
 2 files changed, 5 insertions(+), 5 deletions(-)

diffs (52 lines):

diff -r 70029d5cc864 -r 8dee0e2f9dc3 sys/dev/acpi/acpi_pci.c
--- a/sys/dev/acpi/acpi_pci.c   Fri May 08 14:35:19 2020 +0000
+++ b/sys/dev/acpi/acpi_pci.c   Fri May 08 14:42:38 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: acpi_pci.c,v 1.28 2020/01/18 12:32:57 jmcneill Exp $ */
+/* $NetBSD: acpi_pci.c,v 1.29 2020/05/08 14:42:38 jmcneill Exp $ */
 
 /*
  * Copyright (c) 2009, 2010 The NetBSD Foundation, Inc.
@@ -29,7 +29,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: acpi_pci.c,v 1.28 2020/01/18 12:32:57 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: acpi_pci.c,v 1.29 2020/05/08 14:42:38 jmcneill Exp $");
 
 #include <sys/param.h>
 #include <sys/device.h>
@@ -53,7 +53,6 @@
 #define ACPI_HILODWORD(x) ACPI_HIWORD(ACPI_LODWORD((x)))
 #define ACPI_LOLODWORD(x) ACPI_LOWORD(ACPI_LODWORD((x)))
 
-static ACPI_STATUS       acpi_pcidev_pciroot_bus(ACPI_HANDLE, uint16_t *);
 static ACPI_STATUS       acpi_pcidev_pciroot_bus_callback(ACPI_RESOURCE *,
                                                           void *);
 
@@ -106,7 +105,7 @@
  *     If successful, return AE_OK and fill *busp.  Otherwise, return an
  *     exception code and leave *busp unchanged.
  */
-static ACPI_STATUS
+ACPI_STATUS
 acpi_pcidev_pciroot_bus(ACPI_HANDLE handle, uint16_t *busp)
 {
        ACPI_STATUS rv;
diff -r 70029d5cc864 -r 8dee0e2f9dc3 sys/dev/acpi/acpi_pci.h
--- a/sys/dev/acpi/acpi_pci.h   Fri May 08 14:35:19 2020 +0000
+++ b/sys/dev/acpi/acpi_pci.h   Fri May 08 14:42:38 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: acpi_pci.h,v 1.11 2020/01/17 17:06:32 jmcneill Exp $ */
+/* $NetBSD: acpi_pci.h,v 1.12 2020/05/08 14:42:38 jmcneill Exp $ */
 
 /*
  * Copyright (c) 2009 The NetBSD Foundation, Inc.
@@ -32,6 +32,7 @@
 #define _SYS_DEV_ACPI_ACPI_PCI_H
 
 ACPI_STATUS             acpi_pcidev_scan(struct acpi_devnode *);
+ACPI_STATUS             acpi_pcidev_pciroot_bus(ACPI_HANDLE, uint16_t *);
 ACPI_STATUS             acpi_pcidev_ppb_downbus(pci_chipset_tag_t,
                                                 uint16_t, uint16_t, uint16_t,
                                                 uint16_t, uint16_t *);



Home | Main Index | Thread Index | Old Index