Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/evbarm Apply the
details: https://anonhg.NetBSD.org/src/rev/7706151c5044
branches: trunk
changeset: 1019777:7706151c5044
user: skrll <skrll%NetBSD.org@localhost>
date: Sat Mar 20 05:58:22 2021 +0000
description:
Apply the
earlyconsgetc: return -1 instead of 0 because we will never produce input
fix to all copies.
diffstat:
sys/arch/evbarm/bcm53xx/bcm53xx_machdep.c | 6 +++---
sys/arch/evbarm/beagle/beagle_machdep.c | 6 +++---
sys/arch/evbarm/zynq/zynq_machdep.c | 6 +++---
3 files changed, 9 insertions(+), 9 deletions(-)
diffs (81 lines):
diff -r ef9e1abf0f86 -r 7706151c5044 sys/arch/evbarm/bcm53xx/bcm53xx_machdep.c
--- a/sys/arch/evbarm/bcm53xx/bcm53xx_machdep.c Sat Mar 20 04:56:52 2021 +0000
+++ b/sys/arch/evbarm/bcm53xx/bcm53xx_machdep.c Sat Mar 20 05:58:22 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: bcm53xx_machdep.c,v 1.26 2020/12/03 07:45:52 skrll Exp $ */
+/* $NetBSD: bcm53xx_machdep.c,v 1.27 2021/03/20 05:58:22 skrll Exp $ */
/*-
* Copyright (c) 2012 The NetBSD Foundation, Inc.
@@ -33,7 +33,7 @@
#define IDM_PRIVATE
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: bcm53xx_machdep.c,v 1.26 2020/12/03 07:45:52 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: bcm53xx_machdep.c,v 1.27 2021/03/20 05:58:22 skrll Exp $");
#include "opt_arm_debug.h"
#include "opt_console.h"
@@ -123,7 +123,7 @@
static int
earlyconsgetc(dev_t dev)
{
- return 0;
+ return -1;
}
static struct consdev earlycons = {
diff -r ef9e1abf0f86 -r 7706151c5044 sys/arch/evbarm/beagle/beagle_machdep.c
--- a/sys/arch/evbarm/beagle/beagle_machdep.c Sat Mar 20 04:56:52 2021 +0000
+++ b/sys/arch/evbarm/beagle/beagle_machdep.c Sat Mar 20 05:58:22 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: beagle_machdep.c,v 1.86 2020/12/03 07:45:52 skrll Exp $ */
+/* $NetBSD: beagle_machdep.c,v 1.87 2021/03/20 05:58:22 skrll Exp $ */
/*
* Machine dependent functions for kernel setup for TI OSK5912 board.
@@ -125,7 +125,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: beagle_machdep.c,v 1.86 2020/12/03 07:45:52 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: beagle_machdep.c,v 1.87 2021/03/20 05:58:22 skrll Exp $");
#include "opt_arm_debug.h"
#include "opt_console.h"
@@ -297,7 +297,7 @@
static int
earlyconsgetc(dev_t dev)
{
- return 0;
+ return -1;
}
static struct consdev earlycons = {
diff -r ef9e1abf0f86 -r 7706151c5044 sys/arch/evbarm/zynq/zynq_machdep.c
--- a/sys/arch/evbarm/zynq/zynq_machdep.c Sat Mar 20 04:56:52 2021 +0000
+++ b/sys/arch/evbarm/zynq/zynq_machdep.c Sat Mar 20 05:58:22 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: zynq_machdep.c,v 1.16 2020/12/03 07:45:53 skrll Exp $ */
+/* $NetBSD: zynq_machdep.c,v 1.17 2021/03/20 05:58:23 skrll Exp $ */
/*-
* Copyright (c) 2012 The NetBSD Foundation, Inc.
* All rights reserved.
@@ -29,7 +29,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: zynq_machdep.c,v 1.16 2020/12/03 07:45:53 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: zynq_machdep.c,v 1.17 2021/03/20 05:58:23 skrll Exp $");
#include "opt_evbarm_boardtype.h"
#include "opt_arm_debug.h"
@@ -116,7 +116,7 @@
static int
earlyconsgetc(dev_t dev)
{
- return 0;
+ return -1;
}
static struct consdev earlycons = {
Home |
Main Index |
Thread Index |
Old Index