Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/acpi baud_rate is signed now



details:   https://anonhg.NetBSD.org/src/rev/cd978844bd26
branches:  trunk
changeset: 989939:cd978844bd26
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Thu Oct 21 00:09:28 2021 +0000

description:
baud_rate is signed now

diffstat:

 sys/arch/arm/acpi/acpi_platform.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 92fcc177235a -r cd978844bd26 sys/arch/arm/acpi/acpi_platform.c
--- a/sys/arch/arm/acpi/acpi_platform.c Wed Oct 20 23:45:09 2021 +0000
+++ b/sys/arch/arm/acpi/acpi_platform.c Thu Oct 21 00:09:28 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: acpi_platform.c,v 1.29 2021/10/20 23:03:40 jakllsch Exp $ */
+/* $NetBSD: acpi_platform.c,v 1.30 2021/10/21 00:09:28 jmcneill Exp $ */
 
 /*-
  * Copyright (c) 2018 The NetBSD Foundation, Inc.
@@ -35,7 +35,7 @@
 #include "opt_multiprocessor.h"
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: acpi_platform.c,v 1.29 2021/10/20 23:03:40 jakllsch Exp $");
+__KERNEL_RCSID(0, "$NetBSD: acpi_platform.c,v 1.30 2021/10/21 00:09:28 jmcneill Exp $");
 
 #include <sys/param.h>
 #include <sys/bus.h>
@@ -91,7 +91,7 @@
 
 static const struct acpi_spcr_baud_rate {
        uint8_t         id;
-       uint32_t        baud_rate;
+       int             baud_rate;
 } acpi_spcr_baud_rates[] = {
        { SPCR_BAUD_DEFAULT,    -1 },
        { SPCR_BAUD_9600,       9600 },



Home | Main Index | Thread Index | Old Index