synchronous, not syncronous.
This commit is contained in:
parent
7e681f7063
commit
c6f1277bfa
@ -1,4 +1,4 @@
|
|||||||
/* $NetBSD: fd.c,v 1.57 2003/01/01 00:28:57 thorpej Exp $ */
|
/* $NetBSD: fd.c,v 1.58 2003/01/06 13:10:25 wiz Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 1994 Christian E. Hopps
|
* Copyright (c) 1994 Christian E. Hopps
|
||||||
@ -33,7 +33,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include <sys/cdefs.h>
|
#include <sys/cdefs.h>
|
||||||
__KERNEL_RCSID(0, "$NetBSD: fd.c,v 1.57 2003/01/01 00:28:57 thorpej Exp $");
|
__KERNEL_RCSID(0, "$NetBSD: fd.c,v 1.58 2003/01/06 13:10:25 wiz Exp $");
|
||||||
|
|
||||||
#include <sys/param.h>
|
#include <sys/param.h>
|
||||||
#include <sys/systm.h>
|
#include <sys/systm.h>
|
||||||
@ -905,7 +905,7 @@ fdputdisklabel(struct fd_softc *sc, dev_t dev)
|
|||||||
if ((error = biowait(bp)) != 0)
|
if ((error = biowait(bp)) != 0)
|
||||||
goto done;
|
goto done;
|
||||||
/*
|
/*
|
||||||
* copy disklabel to buf and write it out syncronous
|
* copy disklabel to buf and write it out synchronous
|
||||||
*/
|
*/
|
||||||
dlp = (struct disklabel *)(bp->b_data + LABELOFFSET);
|
dlp = (struct disklabel *)(bp->b_data + LABELOFFSET);
|
||||||
bcopy(lp, dlp, sizeof(struct disklabel));
|
bcopy(lp, dlp, sizeof(struct disklabel));
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* $NetBSD: trap.h,v 1.6 2002/09/22 20:31:18 scw Exp $ */
|
/* $NetBSD: trap.h,v 1.7 2003/01/06 13:10:26 wiz Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright 2002 Wasabi Systems, Inc.
|
* Copyright 2002 Wasabi Systems, Inc.
|
||||||
@ -105,8 +105,8 @@
|
|||||||
*/
|
*/
|
||||||
#define CRIT_FREE 0 /* Nobody is in the critical section */
|
#define CRIT_FREE 0 /* Nobody is in the critical section */
|
||||||
#define CRIT_EXIT 0x01 /* Flag bit for exiting crit section */
|
#define CRIT_EXIT 0x01 /* Flag bit for exiting crit section */
|
||||||
#define CRIT_SYNC_EXCEPTION 0x02 /* Syncronous Exception Handler */
|
#define CRIT_SYNC_EXCEPTION 0x02 /* Synchronous Exception Handler */
|
||||||
#define CRIT_ASYNC_EXCEPTION 0x04 /* Asyncronous Exception Handler */
|
#define CRIT_ASYNC_EXCEPTION 0x04 /* Asynchronous Exception Handler */
|
||||||
#define CRIT_TLBMISS_TRAP 0x06 /* TLB Miss promoted to TRAP */
|
#define CRIT_TLBMISS_TRAP 0x06 /* TLB Miss promoted to TRAP */
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* $NetBSD: trap.c,v 1.15 2002/10/24 13:56:46 scw Exp $ */
|
/* $NetBSD: trap.c,v 1.16 2003/01/06 13:10:27 wiz Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright 2002 Wasabi Systems, Inc.
|
* Copyright 2002 Wasabi Systems, Inc.
|
||||||
@ -390,7 +390,7 @@ trap(struct proc *p, struct trapframe *tf)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Handle "TRAPA"-induced syncronous exceptions
|
* Handle "TRAPA"-induced synchronous exceptions
|
||||||
*/
|
*/
|
||||||
void
|
void
|
||||||
trapa(struct proc *p, struct trapframe *tf)
|
trapa(struct proc *p, struct trapframe *tf)
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* $NetBSD: ad1848.c,v 1.15 2002/08/22 20:42:22 martin Exp $ */
|
/* $NetBSD: ad1848.c,v 1.16 2003/01/06 13:10:28 wiz Exp $ */
|
||||||
|
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 1999 The NetBSD Foundation, Inc.
|
* Copyright (c) 1999 The NetBSD Foundation, Inc.
|
||||||
@ -102,7 +102,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include <sys/cdefs.h>
|
#include <sys/cdefs.h>
|
||||||
__KERNEL_RCSID(0, "$NetBSD: ad1848.c,v 1.15 2002/08/22 20:42:22 martin Exp $");
|
__KERNEL_RCSID(0, "$NetBSD: ad1848.c,v 1.16 2003/01/06 13:10:28 wiz Exp $");
|
||||||
|
|
||||||
#include <sys/param.h>
|
#include <sys/param.h>
|
||||||
#include <sys/systm.h>
|
#include <sys/systm.h>
|
||||||
@ -1169,7 +1169,7 @@ ad1848_commit_settings(addr)
|
|||||||
*/
|
*/
|
||||||
(void)ADREAD(sc, AD1848_IDATA);
|
(void)ADREAD(sc, AD1848_IDATA);
|
||||||
(void)ADREAD(sc, AD1848_IDATA);
|
(void)ADREAD(sc, AD1848_IDATA);
|
||||||
/* Write to I8 starts resyncronization. Wait for completion. */
|
/* Write to I8 starts resynchronization. Wait for completion. */
|
||||||
timeout = 100000;
|
timeout = 100000;
|
||||||
while (timeout > 0 && ADREAD(sc, AD1848_IADDR) == SP_IN_INIT)
|
while (timeout > 0 && ADREAD(sc, AD1848_IADDR) == SP_IN_INIT)
|
||||||
timeout--;
|
timeout--;
|
||||||
@ -1180,7 +1180,7 @@ ad1848_commit_settings(addr)
|
|||||||
/* Now wait for resync for capture side of the house */
|
/* Now wait for resync for capture side of the house */
|
||||||
}
|
}
|
||||||
/*
|
/*
|
||||||
* Write to I8 starts resyncronization. Wait until it completes.
|
* Write to I8 starts resynchronization. Wait until it completes.
|
||||||
*/
|
*/
|
||||||
timeout = 100000;
|
timeout = 100000;
|
||||||
while (timeout > 0 && ADREAD(sc, AD1848_IADDR) == SP_IN_INIT) {
|
while (timeout > 0 && ADREAD(sc, AD1848_IADDR) == SP_IN_INIT) {
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* $NetBSD: i82557.c,v 1.69 2002/11/15 03:30:26 enami Exp $ */
|
/* $NetBSD: i82557.c,v 1.70 2003/01/06 13:10:28 wiz Exp $ */
|
||||||
|
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 1997, 1998, 1999, 2001, 2002 The NetBSD Foundation, Inc.
|
* Copyright (c) 1997, 1998, 1999, 2001, 2002 The NetBSD Foundation, Inc.
|
||||||
@ -73,7 +73,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include <sys/cdefs.h>
|
#include <sys/cdefs.h>
|
||||||
__KERNEL_RCSID(0, "$NetBSD: i82557.c,v 1.69 2002/11/15 03:30:26 enami Exp $");
|
__KERNEL_RCSID(0, "$NetBSD: i82557.c,v 1.70 2003/01/06 13:10:28 wiz Exp $");
|
||||||
|
|
||||||
#include "bpfilter.h"
|
#include "bpfilter.h"
|
||||||
#include "rnd.h"
|
#include "rnd.h"
|
||||||
@ -1288,7 +1288,7 @@ fxp_tick(void *arg)
|
|||||||
* the condition by reprogramming the multicast filter (actually,
|
* the condition by reprogramming the multicast filter (actually,
|
||||||
* resetting the interface). This is a work-around for a bug in
|
* resetting the interface). This is a work-around for a bug in
|
||||||
* the 82557 where the receiver locks up if it gets certain types
|
* the 82557 where the receiver locks up if it gets certain types
|
||||||
* of garbage in the syncronization bits prior to the packet header.
|
* of garbage in the synchronization bits prior to the packet header.
|
||||||
* This bug is supposed to only occur in 10Mbps mode, but has been
|
* This bug is supposed to only occur in 10Mbps mode, but has been
|
||||||
* seen to occur in 100Mbps mode as well (perhaps due to a 10/100
|
* seen to occur in 100Mbps mode as well (perhaps due to a 10/100
|
||||||
* speed transition).
|
* speed transition).
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* $NetBSD: fwohci.c,v 1.71 2003/01/05 08:11:33 jmc Exp $ */
|
/* $NetBSD: fwohci.c,v 1.72 2003/01/06 13:10:29 wiz Exp $ */
|
||||||
|
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2000 The NetBSD Foundation, Inc.
|
* Copyright (c) 2000 The NetBSD Foundation, Inc.
|
||||||
@ -49,7 +49,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include <sys/cdefs.h>
|
#include <sys/cdefs.h>
|
||||||
__KERNEL_RCSID(0, "$NetBSD: fwohci.c,v 1.71 2003/01/05 08:11:33 jmc Exp $");
|
__KERNEL_RCSID(0, "$NetBSD: fwohci.c,v 1.72 2003/01/06 13:10:29 wiz Exp $");
|
||||||
|
|
||||||
#define FWOHCI_WAIT_DEBUG 1
|
#define FWOHCI_WAIT_DEBUG 1
|
||||||
|
|
||||||
@ -1067,7 +1067,7 @@ fwohci_desc_put(struct fwohci_softc *sc, struct fwohci_desc *fd, int ndesc)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Asyncronous/Isochronous Transmit/Receive Context
|
* Asynchronous/Isochronous Transmit/Receive Context
|
||||||
*/
|
*/
|
||||||
static int
|
static int
|
||||||
fwohci_ctx_alloc(struct fwohci_softc *sc, struct fwohci_ctx **fcp,
|
fwohci_ctx_alloc(struct fwohci_softc *sc, struct fwohci_ctx **fcp,
|
||||||
@ -2140,7 +2140,7 @@ fwohci_it_ctx_clear(ieee1394_it_tag_t *it)
|
|||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Asyncronous Receive Requests input frontend.
|
* Asynchronous Receive Requests input frontend.
|
||||||
*/
|
*/
|
||||||
static void
|
static void
|
||||||
fwohci_arrq_input(struct fwohci_softc *sc, struct fwohci_ctx *fc)
|
fwohci_arrq_input(struct fwohci_softc *sc, struct fwohci_ctx *fc)
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* $NetBSD: hd_input.c,v 1.18 2002/05/12 21:30:35 matt Exp $ */
|
/* $NetBSD: hd_input.c,v 1.19 2003/01/06 13:10:31 wiz Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 1984 University of British Columbia.
|
* Copyright (c) 1984 University of British Columbia.
|
||||||
@ -41,7 +41,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include <sys/cdefs.h>
|
#include <sys/cdefs.h>
|
||||||
__KERNEL_RCSID(0, "$NetBSD: hd_input.c,v 1.18 2002/05/12 21:30:35 matt Exp $");
|
__KERNEL_RCSID(0, "$NetBSD: hd_input.c,v 1.19 2003/01/06 13:10:31 wiz Exp $");
|
||||||
|
|
||||||
#include <sys/param.h>
|
#include <sys/param.h>
|
||||||
#include <sys/systm.h>
|
#include <sys/systm.h>
|
||||||
@ -575,7 +575,7 @@ valid_nr(hdp, nr, finalbit)
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* This section validates the frame's N(R) value. It's N(R) value
|
* This section validates the frame's N(R) value. It's N(R) value
|
||||||
* must be in syncronization with our V(S) value and our "last
|
* must be in synchronization with our V(S) value and our "last
|
||||||
* received nr" variable. If it is correct then we are able to send
|
* received nr" variable. If it is correct then we are able to send
|
||||||
* more IFRAME's, else frame reject condition is entered.
|
* more IFRAME's, else frame reject condition is entered.
|
||||||
*/
|
*/
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* $NetBSD: xlint.c,v 1.31 2002/11/24 20:24:54 thorpej Exp $ */
|
/* $NetBSD: xlint.c,v 1.32 2003/01/06 13:10:31 wiz Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 1996 Christopher G. Demetriou. All Rights Reserved.
|
* Copyright (c) 1996 Christopher G. Demetriou. All Rights Reserved.
|
||||||
@ -34,7 +34,7 @@
|
|||||||
|
|
||||||
#include <sys/cdefs.h>
|
#include <sys/cdefs.h>
|
||||||
#if defined(__RCSID) && !defined(lint)
|
#if defined(__RCSID) && !defined(lint)
|
||||||
__RCSID("$NetBSD: xlint.c,v 1.31 2002/11/24 20:24:54 thorpej Exp $");
|
__RCSID("$NetBSD: xlint.c,v 1.32 2003/01/06 13:10:31 wiz Exp $");
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <sys/param.h>
|
#include <sys/param.h>
|
||||||
@ -144,7 +144,7 @@ static void cat(char *const *, const char *);
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* Some functions to deal with lists of strings.
|
* Some functions to deal with lists of strings.
|
||||||
* Take care that we get no surprises in case of asyncron signals.
|
* Take care that we get no surprises in case of asynchronous signals.
|
||||||
*/
|
*/
|
||||||
static void
|
static void
|
||||||
appstrg(char ***lstp, char *s)
|
appstrg(char ***lstp, char *s)
|
||||||
|
Loading…
Reference in New Issue
Block a user