Source-Changes-HG archive

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

[src/trunk]: src/sys/external/bsd/vchiq/dist/interface/vchiq_arm build fix



details:   https://anonhg.NetBSD.org/src/rev/7c1975aefaf4
branches:  trunk
changeset: 969513:7c1975aefaf4
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Sat Feb 22 19:37:31 2020 +0000

description:
build fix

diffstat:

 sys/external/bsd/vchiq/dist/interface/vchiq_arm/vchiq_netbsd_acpi.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 13d7afe43f7b -r 7c1975aefaf4 sys/external/bsd/vchiq/dist/interface/vchiq_arm/vchiq_netbsd_acpi.c
--- a/sys/external/bsd/vchiq/dist/interface/vchiq_arm/vchiq_netbsd_acpi.c       Sat Feb 22 19:25:25 2020 +0000
+++ b/sys/external/bsd/vchiq/dist/interface/vchiq_arm/vchiq_netbsd_acpi.c       Sat Feb 22 19:37:31 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vchiq_netbsd_acpi.c,v 1.1 2019/12/31 01:00:23 jmcneill Exp $ */
+/* $NetBSD: vchiq_netbsd_acpi.c,v 1.2 2020/02/22 19:37:31 jmcneill Exp $ */
 
 /*-
  * Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: vchiq_netbsd_acpi.c,v 1.1 2019/12/31 01:00:23 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vchiq_netbsd_acpi.c,v 1.2 2020/02/22 19:37:31 jmcneill Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -105,7 +105,7 @@
                return;
        }
 
-       if (bus_space_map(sc->sc_iot, mem->ar_base, mem->ar_size, 0,
+       if (bus_space_map(sc->sc_iot, mem->ar_base, mem->ar_length, 0,
            &sc->sc_ioh) != 0) {
                aprint_error_dev(sc->sc_dev, "unable to map device\n");
                return;



Home | Main Index | Thread Index | Old Index