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 SPCR_BAUD_DEFAULT maps better to -1 than 0
details: https://anonhg.NetBSD.org/src/rev/7364c13a0004
branches: trunk
changeset: 989935:7364c13a0004
user: jakllsch <jakllsch%NetBSD.org@localhost>
date: Wed Oct 20 23:03:40 2021 +0000
description:
SPCR_BAUD_DEFAULT maps better to -1 than 0
Suggested by jmcneill@
diffstat:
sys/arch/arm/acpi/acpi_platform.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 5d769137847a -r 7364c13a0004 sys/arch/arm/acpi/acpi_platform.c
--- a/sys/arch/arm/acpi/acpi_platform.c Wed Oct 20 20:29:33 2021 +0000
+++ b/sys/arch/arm/acpi/acpi_platform.c Wed Oct 20 23:03:40 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: acpi_platform.c,v 1.28 2021/08/07 21:24:56 jmcneill Exp $ */
+/* $NetBSD: acpi_platform.c,v 1.29 2021/10/20 23:03:40 jakllsch 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.28 2021/08/07 21:24:56 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: acpi_platform.c,v 1.29 2021/10/20 23:03:40 jakllsch Exp $");
#include <sys/param.h>
#include <sys/bus.h>
@@ -93,7 +93,7 @@
uint8_t id;
uint32_t baud_rate;
} acpi_spcr_baud_rates[] = {
- { SPCR_BAUD_DEFAULT, 0 },
+ { SPCR_BAUD_DEFAULT, -1 },
{ SPCR_BAUD_9600, 9600 },
{ SPCR_BAUD_19200, 19200 },
{ SPCR_BAUD_57600, 57600 },
Home |
Main Index |
Thread Index |
Old Index