s/timout/timeout/

This commit is contained in:
msaitoh 2021-12-05 08:16:10 +00:00
parent d06486ff81
commit 8589c04303
3 changed files with 9 additions and 9 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: if_qn.c,v 1.49 2020/01/29 05:23:16 thorpej Exp $ */
/* $NetBSD: if_qn.c,v 1.50 2021/12/05 08:16:10 msaitoh Exp $ */
/*
* Copyright (c) 1995 Mika Kortelainen
@ -66,7 +66,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: if_qn.c,v 1.49 2020/01/29 05:23:16 thorpej Exp $");
__KERNEL_RCSID(0, "$NetBSD: if_qn.c,v 1.50 2021/12/05 08:16:10 msaitoh Exp $");
#include "qn.h"
#if NQN > 0
@ -416,13 +416,13 @@ qnstart(struct ifnet *ifp)
/* Wait for the packet to really leave. */
while (!(*sc->nic_t_status & T_TMT_OK) && --timout) {
if ((timout % 10000) == 0)
log(LOG_INFO, "qn: timout...\n");
log(LOG_INFO, "qn: timeout...\n");
}
if (timout == 0)
/* Maybe we should try to recover from this one? */
/* But now, let's just fall thru and hope the best... */
log(LOG_INFO, "qn: transmit timout (fatal?)\n");
log(LOG_INFO, "qn: transmit timeout (fatal?)\n");
sc->transmit_pending = 1;
*sc->nic_t_mask = INT_TMT_OK | INT_SIXTEEN_COL;

View File

@ -1,4 +1,4 @@
/* $NetBSD: ncr53c9x.c,v 1.155 2021/08/07 16:19:12 thorpej Exp $ */
/* $NetBSD: ncr53c9x.c,v 1.156 2021/12/05 08:16:10 msaitoh Exp $ */
/*-
* Copyright (c) 1998, 2002 The NetBSD Foundation, Inc.
@ -70,7 +70,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: ncr53c9x.c,v 1.155 2021/08/07 16:19:12 thorpej Exp $");
__KERNEL_RCSID(0, "$NetBSD: ncr53c9x.c,v 1.156 2021/12/05 08:16:10 msaitoh Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -244,7 +244,7 @@ ncr53c9x_attach(struct ncr53c9x_softc *sc)
* The recommended timeout is 250ms. This register is loaded
* with a value calculated as follows, from the docs:
*
* (timout period) x (CLK frequency)
* (timeout period) x (CLK frequency)
* reg = -------------------------------------
* 8192 x (Clock Conversion Factor)
*

View File

@ -1,4 +1,4 @@
# $NetBSD: t_swsensor.sh,v 1.12 2021/06/13 14:45:36 riastradh Exp $
# $NetBSD: t_swsensor.sh,v 1.13 2021/12/05 08:16:10 msaitoh Exp $
get_sensor_info() {
rump.envstat -x | \
@ -134,7 +134,7 @@ common_body() {
# (use $(( ... )) since the timeout is displayed in hex!)
rump.envstat -c env0.conf
if [ $(( $( get_sensor_key refresh-timeout ) )) -ne 2 ] ; then
atf_fail "1: Could not set refresh-timout to 2s"
atf_fail "1: Could not set refresh-timeout to 2s"
fi
# Step 2 - verify that we can read sensor's value