acknowleg -> acknowledg, proceedure -> procedure.
only comments were changed. from miod
This commit is contained in:
parent
b2644509c2
commit
21cc7f1b6b
|
@ -1,4 +1,4 @@
|
||||||
/* $NetBSD: state.c,v 1.29 2012/01/09 16:36:48 christos Exp $ */
|
/* $NetBSD: state.c,v 1.30 2016/12/12 15:58:44 maya Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 1989, 1993
|
* Copyright (c) 1989, 1993
|
||||||
|
@ -34,7 +34,7 @@
|
||||||
#if 0
|
#if 0
|
||||||
static char sccsid[] = "@(#)state.c 8.5 (Berkeley) 5/30/95";
|
static char sccsid[] = "@(#)state.c 8.5 (Berkeley) 5/30/95";
|
||||||
#else
|
#else
|
||||||
__RCSID("$NetBSD: state.c,v 1.29 2012/01/09 16:36:48 christos Exp $");
|
__RCSID("$NetBSD: state.c,v 1.30 2016/12/12 15:58:44 maya Exp $");
|
||||||
#endif
|
#endif
|
||||||
#endif /* not lint */
|
#endif /* not lint */
|
||||||
|
|
||||||
|
@ -401,14 +401,14 @@ gotiac: switch (c) {
|
||||||
* Finally, there is one catch. If we send a negative response to a
|
* Finally, there is one catch. If we send a negative response to a
|
||||||
* positive request, my_state will be the positive while want_state will
|
* positive request, my_state will be the positive while want_state will
|
||||||
* remain negative. my_state will revert to negative when the negative
|
* remain negative. my_state will revert to negative when the negative
|
||||||
* acknowlegment arrives from the peer. Thus, my_state generally tells
|
* acknowledgment arrives from the peer. Thus, my_state generally tells
|
||||||
* us not only the last negotiated state, but also tells us what the peer
|
* us not only the last negotiated state, but also tells us what the peer
|
||||||
* wants to be doing as well. It is important to understand this difference
|
* wants to be doing as well. It is important to understand this difference
|
||||||
* as we may wish to be processing data streams based on our desired state
|
* as we may wish to be processing data streams based on our desired state
|
||||||
* (want_state) or based on what the peer thinks the state is (my_state).
|
* (want_state) or based on what the peer thinks the state is (my_state).
|
||||||
*
|
*
|
||||||
* This all works fine because if the peer sends a positive request, the data
|
* This all works fine because if the peer sends a positive request, the data
|
||||||
* that we receive prior to negative acknowlegment will probably be affected
|
* that we receive prior to negative acknowledgment will probably be affected
|
||||||
* by the positive state, and we can process it as such (if we can; if we
|
* by the positive state, and we can process it as such (if we can; if we
|
||||||
* can't then it really doesn't matter). If it is that important, then the
|
* can't then it really doesn't matter). If it is that important, then the
|
||||||
* peer probably should be buffering until this option state negotiation
|
* peer probably should be buffering until this option state negotiation
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
; $NetBSD: siop2_script.ss,v 1.7 2009/10/21 23:53:38 snj Exp $
|
; $NetBSD: siop2_script.ss,v 1.8 2016/12/12 15:58:44 maya Exp $
|
||||||
|
|
||||||
;
|
;
|
||||||
; Copyright (c) 1998 Michael L. Hitch
|
; Copyright (c) 1998 Michael L. Hitch
|
||||||
|
@ -146,7 +146,7 @@ wait_reselect:
|
||||||
INT err9, WHEN NOT MSG_IN ; didn't get IDENTIFY
|
INT err9, WHEN NOT MSG_IN ; didn't get IDENTIFY
|
||||||
MOVE FROM ds_Msg, WHEN MSG_IN
|
MOVE FROM ds_Msg, WHEN MSG_IN
|
||||||
INT err3 ; let host know about reconnect
|
INT err3 ; let host know about reconnect
|
||||||
CLEAR ACK ; acknowlege the message
|
CLEAR ACK ; acknowledge the message
|
||||||
JUMP REL(switch)
|
JUMP REL(switch)
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
; $NetBSD: siop_script.ss,v 1.5 2009/10/21 23:53:38 snj Exp $
|
; $NetBSD: siop_script.ss,v 1.6 2016/12/12 15:58:44 maya Exp $
|
||||||
|
|
||||||
;
|
;
|
||||||
; Copyright (c) 1995 Michael L. Hitch
|
; Copyright (c) 1995 Michael L. Hitch
|
||||||
|
@ -141,7 +141,7 @@ wait_reselect:
|
||||||
INT err9, WHEN NOT MSG_IN ; didn't get IDENTIFY
|
INT err9, WHEN NOT MSG_IN ; didn't get IDENTIFY
|
||||||
MOVE FROM ds_Msg, WHEN MSG_IN
|
MOVE FROM ds_Msg, WHEN MSG_IN
|
||||||
INT err3 ; let host know about reconnect
|
INT err3 ; let host know about reconnect
|
||||||
CLEAR ACK ; acknowlege the message
|
CLEAR ACK ; acknowledge the message
|
||||||
JUMP REL(switch)
|
JUMP REL(switch)
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* $NetBSD: btl.c,v 1.26 2014/10/18 08:33:24 snj Exp $ */
|
/* $NetBSD: btl.c,v 1.27 2016/12/12 15:58:44 maya Exp $ */
|
||||||
/* NetBSD: bt.c,v 1.10 1996/05/12 23:51:54 mycroft Exp */
|
/* NetBSD: bt.c,v 1.10 1996/05/12 23:51:54 mycroft Exp */
|
||||||
|
|
||||||
#undef BTDIAG
|
#undef BTDIAG
|
||||||
|
@ -51,7 +51,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <sys/cdefs.h>
|
#include <sys/cdefs.h>
|
||||||
__KERNEL_RCSID(0, "$NetBSD: btl.c,v 1.26 2014/10/18 08:33:24 snj Exp $");
|
__KERNEL_RCSID(0, "$NetBSD: btl.c,v 1.27 2016/12/12 15:58:44 maya Exp $");
|
||||||
|
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <sys/param.h>
|
#include <sys/param.h>
|
||||||
|
@ -515,7 +515,7 @@ btintr(void *arg)
|
||||||
#endif /* BTDEBUG */
|
#endif /* BTDEBUG */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* First acknowlege the interrupt, Then if it's not telling about
|
* First acknowledge the interrupt, Then if it's not telling about
|
||||||
* a completed operation just return.
|
* a completed operation just return.
|
||||||
*/
|
*/
|
||||||
sts = isa_inb(iobase + BT_INTR_PORT);
|
sts = isa_inb(iobase + BT_INTR_PORT);
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* $NetBSD: sii.c,v 1.12 2016/06/20 20:19:43 maya Exp $ */
|
/* $NetBSD: sii.c,v 1.13 2016/12/12 15:58:44 maya Exp $ */
|
||||||
|
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 1992, 1993
|
* Copyright (c) 1992, 1993
|
||||||
|
@ -38,7 +38,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <sys/cdefs.h>
|
#include <sys/cdefs.h>
|
||||||
__KERNEL_RCSID(0, "$NetBSD: sii.c,v 1.12 2016/06/20 20:19:43 maya Exp $");
|
__KERNEL_RCSID(0, "$NetBSD: sii.c,v 1.13 2016/12/12 15:58:44 maya Exp $");
|
||||||
|
|
||||||
#include "sii.h"
|
#include "sii.h"
|
||||||
/*
|
/*
|
||||||
|
@ -352,7 +352,7 @@ sii_Reset(struct siisoftc* sc, int reset)
|
||||||
/*
|
/*
|
||||||
* Start a SCSI command by sending the cmd data
|
* Start a SCSI command by sending the cmd data
|
||||||
* to a SCSI controller via the SII.
|
* to a SCSI controller via the SII.
|
||||||
* Call the device done proceedure if it can't be started.
|
* Call the device done procedure if it can't be started.
|
||||||
* NOTE: we should be called with interrupts disabled.
|
* NOTE: we should be called with interrupts disabled.
|
||||||
*/
|
*/
|
||||||
static void
|
static void
|
||||||
|
@ -1125,7 +1125,7 @@ again:
|
||||||
if (msg == 0)
|
if (msg == 0)
|
||||||
msg = 256;
|
msg = 256;
|
||||||
/*
|
/*
|
||||||
* We read and acknowlege all the bytes
|
* We read and acknowledge all the bytes
|
||||||
* except the last so we can assert ATN
|
* except the last so we can assert ATN
|
||||||
* if needed before acknowledging the last.
|
* if needed before acknowledging the last.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* $NetBSD: hytp14reg.h,v 1.2 2014/06/29 09:06:05 kardel Exp $ */
|
/* $NetBSD: hytp14reg.h,v 1.3 2016/12/12 15:58:44 maya Exp $ */
|
||||||
|
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2014 The NetBSD Foundation, Inc.
|
* Copyright (c) 2014 The NetBSD Foundation, Inc.
|
||||||
|
@ -68,8 +68,8 @@
|
||||||
|
|
||||||
#define HYTP14_RESP_MASK 0x03
|
#define HYTP14_RESP_MASK 0x03
|
||||||
#define HYTP14_RESP_BUSY 0x00 /* device is busy */
|
#define HYTP14_RESP_BUSY 0x00 /* device is busy */
|
||||||
#define HYTP14_RESP_ACK 0x01 /* positive acknowlege */
|
#define HYTP14_RESP_ACK 0x01 /* positive acknowledge */
|
||||||
#define HYTP14_RESP_NACK 0x02 /* negative acknowlege */
|
#define HYTP14_RESP_NACK 0x02 /* negative acknowledge */
|
||||||
|
|
||||||
#define HYTP14_ST_CMDMODE 0x8000 /* command mode */
|
#define HYTP14_ST_CMDMODE 0x8000 /* command mode */
|
||||||
#define HYTP14_ST_STALE 0x4000 /* stale measurement data */
|
#define HYTP14_ST_STALE 0x4000 /* stale measurement data */
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
; $NetBSD: osiop.ss,v 1.2 2009/10/21 23:53:38 snj Exp $
|
; $NetBSD: osiop.ss,v 1.3 2016/12/12 15:58:44 maya Exp $
|
||||||
|
|
||||||
;
|
;
|
||||||
; Copyright (c) 1995 Michael L. Hitch
|
; Copyright (c) 1995 Michael L. Hitch
|
||||||
|
@ -150,7 +150,7 @@ wait_reselect:
|
||||||
INT int_identify, WHEN NOT MSG_IN
|
INT int_identify, WHEN NOT MSG_IN
|
||||||
MOVE FROM ds_Msg, WHEN MSG_IN
|
MOVE FROM ds_Msg, WHEN MSG_IN
|
||||||
INT int_reconnect ; let host know about reconnect
|
INT int_reconnect ; let host know about reconnect
|
||||||
CLEAR ACK ; acknowlege the message
|
CLEAR ACK ; acknowledge the message
|
||||||
JUMP REL(switch)
|
JUMP REL(switch)
|
||||||
|
|
||||||
select_adr:
|
select_adr:
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* $NetBSD: if_qt.c,v 1.19 2016/02/09 08:32:11 ozaki-r Exp $ */
|
/* $NetBSD: if_qt.c,v 1.20 2016/12/12 15:58:44 maya Exp $ */
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 1992 Steven M. Schultz
|
* Copyright (c) 1992 Steven M. Schultz
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
|
@ -80,7 +80,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <sys/cdefs.h>
|
#include <sys/cdefs.h>
|
||||||
__KERNEL_RCSID(0, "$NetBSD: if_qt.c,v 1.19 2016/02/09 08:32:11 ozaki-r Exp $");
|
__KERNEL_RCSID(0, "$NetBSD: if_qt.c,v 1.20 2016/12/12 15:58:44 maya Exp $");
|
||||||
|
|
||||||
#include "opt_inet.h"
|
#include "opt_inet.h"
|
||||||
|
|
||||||
|
@ -369,7 +369,7 @@ qtinit(struct ifnet *ifp)
|
||||||
/*
|
/*
|
||||||
* Fill in most of the INIT block: vector, options (interrupt enable), ring
|
* Fill in most of the INIT block: vector, options (interrupt enable), ring
|
||||||
* locations. The physical address is copied from the ROMs as part of the
|
* locations. The physical address is copied from the ROMs as part of the
|
||||||
* -YM testing proceedure. The CSR is saved here rather than in qtinit()
|
* -YM testing procedure. The CSR is saved here rather than in qtinit()
|
||||||
* because the qtturbo() routine needs it.
|
* because the qtturbo() routine needs it.
|
||||||
*
|
*
|
||||||
* The INIT block must be quadword aligned. Using malloc() guarantees click
|
* The INIT block must be quadword aligned. Using malloc() guarantees click
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* $NetBSD: slcompress.h,v 1.18 2008/02/20 17:05:53 matt Exp $ */
|
/* $NetBSD: slcompress.h,v 1.19 2016/12/12 15:58:45 maya Exp $ */
|
||||||
/* Id: slcompress.h,v 1.4 1994/09/21 06:50:08 paulus Exp */
|
/* Id: slcompress.h,v 1.4 1994/09/21 06:50:08 paulus Exp */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -60,7 +60,7 @@
|
||||||
*
|
*
|
||||||
* There are 5 numbers which can change (they are always inserted
|
* There are 5 numbers which can change (they are always inserted
|
||||||
* in the following order): TCP urgent pointer, window,
|
* in the following order): TCP urgent pointer, window,
|
||||||
* acknowlegement, sequence number and IP ID. (The urgent pointer
|
* acknowledgement, sequence number and IP ID. (The urgent pointer
|
||||||
* is different from the others in that its value is sent, not the
|
* is different from the others in that its value is sent, not the
|
||||||
* change in value.) Since typical use of SLIP links is biased
|
* change in value.) Since typical use of SLIP links is biased
|
||||||
* toward small packets (see comments on MTU/MSS below), changes
|
* toward small packets (see comments on MTU/MSS below), changes
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* $NetBSD: l2cap_upper.c,v 1.18 2014/08/05 07:55:32 rtr Exp $ */
|
/* $NetBSD: l2cap_upper.c,v 1.19 2016/12/12 15:58:45 maya Exp $ */
|
||||||
|
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2005 Iain Hibbert.
|
* Copyright (c) 2005 Iain Hibbert.
|
||||||
|
@ -31,7 +31,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <sys/cdefs.h>
|
#include <sys/cdefs.h>
|
||||||
__KERNEL_RCSID(0, "$NetBSD: l2cap_upper.c,v 1.18 2014/08/05 07:55:32 rtr Exp $");
|
__KERNEL_RCSID(0, "$NetBSD: l2cap_upper.c,v 1.19 2016/12/12 15:58:45 maya Exp $");
|
||||||
|
|
||||||
#include <sys/param.h>
|
#include <sys/param.h>
|
||||||
#include <sys/kernel.h>
|
#include <sys/kernel.h>
|
||||||
|
@ -386,7 +386,7 @@ l2cap_listen_pcb(struct l2cap_channel *chan)
|
||||||
* Note: I'm not sure how this will work out, but I think that
|
* Note: I'm not sure how this will work out, but I think that
|
||||||
* if outgoing Retransmission Mode or Flow Control Mode is
|
* if outgoing Retransmission Mode or Flow Control Mode is
|
||||||
* negotiated then this call will not be made until the SDU has
|
* negotiated then this call will not be made until the SDU has
|
||||||
* been acknowleged by the peer L2CAP entity. For 'Best Effort'
|
* been acknowledged by the peer L2CAP entity. For 'Best Effort'
|
||||||
* it will be made when the packet has cleared the controller
|
* it will be made when the packet has cleared the controller
|
||||||
* buffers.
|
* buffers.
|
||||||
*
|
*
|
||||||
|
|
|
@ -27,7 +27,7 @@
|
||||||
* i4b_ioctl.h - messages kernel <--> userland
|
* i4b_ioctl.h - messages kernel <--> userland
|
||||||
* -------------------------------------------
|
* -------------------------------------------
|
||||||
*
|
*
|
||||||
* $Id: i4b_ioctl.h,v 1.13 2015/09/06 06:01:01 dholland Exp $
|
* $Id: i4b_ioctl.h,v 1.14 2016/12/12 15:58:45 maya Exp $
|
||||||
*
|
*
|
||||||
* $FreeBSD$
|
* $FreeBSD$
|
||||||
*
|
*
|
||||||
|
@ -348,7 +348,7 @@ typedef struct {
|
||||||
|
|
||||||
/*---------------------------------------------------------------------------*
|
/*---------------------------------------------------------------------------*
|
||||||
* call proceeding indication
|
* call proceeding indication
|
||||||
* indicates outgoing SETUP has been acknowleged
|
* indicates outgoing SETUP has been acknowledged
|
||||||
*---------------------------------------------------------------------------*/
|
*---------------------------------------------------------------------------*/
|
||||||
typedef struct {
|
typedef struct {
|
||||||
msg_hdr_t header; /* common header */
|
msg_hdr_t header; /* common header */
|
||||||
|
|
Loading…
Reference in New Issue