Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/acpi Fix signature for acpimcfg_configure_bus in non...



details:   https://anonhg.NetBSD.org/src/rev/7f870f5c7748
branches:  trunk
changeset: 445158:7f870f5c7748
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Mon Oct 15 12:46:43 2018 +0000

description:
Fix signature for acpimcfg_configure_bus in non-PCI_NETBSD_CONFIGURE case

diffstat:

 sys/dev/acpi/acpi_mcfg.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r ad4aec418b7e -r 7f870f5c7748 sys/dev/acpi/acpi_mcfg.c
--- a/sys/dev/acpi/acpi_mcfg.c  Mon Oct 15 12:45:52 2018 +0000
+++ b/sys/dev/acpi/acpi_mcfg.c  Mon Oct 15 12:46:43 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: acpi_mcfg.c,v 1.8 2018/10/15 10:01:32 jmcneill Exp $   */
+/*     $NetBSD: acpi_mcfg.c,v 1.9 2018/10/15 12:46:43 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.8 2018/10/15 10:01:32 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: acpi_mcfg.c,v 1.9 2018/10/15 12:46:43 jmcneill Exp $");
 
 #include <sys/param.h>
 #include <sys/device.h>
@@ -878,7 +878,7 @@
 #else
 int
 acpimcfg_configure_bus(device_t self, pci_chipset_tag_t pc, ACPI_HANDLE handle,
-    int cacheline_size)
+    int bus, int cacheline_size)
 {
        return ENXIO;
 }



Home | Main Index | Thread Index | Old Index