Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev Fix typos.
details: https://anonhg.NetBSD.org/src/rev/52886a29fa0b
branches: trunk
changeset: 581853:52886a29fa0b
user: peter <peter%NetBSD.org@localhost>
date: Tue Jun 07 13:45:11 2005 +0000
description:
Fix typos.
diffstat:
sys/dev/ata/ata_wdc.c | 6 +++---
sys/dev/ata/atavar.h | 4 ++--
sys/dev/scsipi/atapi_wdc.c | 6 +++---
3 files changed, 8 insertions(+), 8 deletions(-)
diffs (72 lines):
diff -r a966011c93e2 -r 52886a29fa0b sys/dev/ata/ata_wdc.c
--- a/sys/dev/ata/ata_wdc.c Tue Jun 07 13:43:52 2005 +0000
+++ b/sys/dev/ata/ata_wdc.c Tue Jun 07 13:45:11 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ata_wdc.c,v 1.80 2005/05/29 22:11:28 christos Exp $ */
+/* $NetBSD: ata_wdc.c,v 1.81 2005/06/07 13:45:11 peter Exp $ */
/*
* Copyright (c) 1998, 2001, 2003 Manuel Bouyer.
@@ -66,7 +66,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ata_wdc.c,v 1.80 2005/05/29 22:11:28 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ata_wdc.c,v 1.81 2005/06/07 13:45:11 peter Exp $");
#ifndef ATADEBUG
#define ATADEBUG
@@ -196,7 +196,7 @@
* state if the device is currently busy, but we can assume
* that we never get to this point if that's the case.
*/
- /* If it's not a polled command, we need the kenrel thread */
+ /* If it's not a polled command, we need the kernel thread */
if ((xfer->c_flags & C_POLL) == 0 &&
(chp->ch_flags & ATACH_TH_RUN) == 0) {
chp->ch_queue->queue_freeze++;
diff -r a966011c93e2 -r 52886a29fa0b sys/dev/ata/atavar.h
--- a/sys/dev/ata/atavar.h Tue Jun 07 13:43:52 2005 +0000
+++ b/sys/dev/ata/atavar.h Tue Jun 07 13:45:11 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: atavar.h,v 1.68 2005/05/16 21:43:33 bouyer Exp $ */
+/* $NetBSD: atavar.h,v 1.69 2005/06/07 13:45:11 peter Exp $ */
/*
* Copyright (c) 1998, 2001 Manuel Bouyer.
@@ -326,7 +326,7 @@
#define ATACH_IRQ_WAIT 0x10 /* controller is waiting for irq */
#define ATACH_DMA_WAIT 0x20 /* controller is waiting for DMA */
#define ATACH_DISABLED 0x80 /* channel is disabled */
-#define ATACH_TH_RUN 0x100 /* the kenrel thread is working */
+#define ATACH_TH_RUN 0x100 /* the kernel thread is working */
#define ATACH_TH_RESET 0x200 /* someone ask the thread to reset */
u_int8_t ch_status; /* copy of status register */
u_int8_t ch_error; /* copy of error register */
diff -r a966011c93e2 -r 52886a29fa0b sys/dev/scsipi/atapi_wdc.c
--- a/sys/dev/scsipi/atapi_wdc.c Tue Jun 07 13:43:52 2005 +0000
+++ b/sys/dev/scsipi/atapi_wdc.c Tue Jun 07 13:45:11 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: atapi_wdc.c,v 1.93 2005/05/29 22:00:50 christos Exp $ */
+/* $NetBSD: atapi_wdc.c,v 1.94 2005/06/07 13:45:11 peter Exp $ */
/*
* Copyright (c) 1998, 2001 Manuel Bouyer.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: atapi_wdc.c,v 1.93 2005/05/29 22:00:50 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: atapi_wdc.c,v 1.94 2005/06/07 13:45:11 peter Exp $");
#ifndef ATADEBUG
#define ATADEBUG
@@ -433,7 +433,7 @@
drvp->n_xfers++;
/* Do control operations specially. */
if (__predict_false(drvp->state < READY)) {
- /* If it's not a polled command, we need the kenrel thread */
+ /* If it's not a polled command, we need the kernel thread */
if ((sc_xfer->xs_control & XS_CTL_POLL) == 0 &&
(chp->ch_flags & ATACH_TH_RUN) == 0) {
chp->ch_queue->queue_freeze++;
Home |
Main Index |
Thread Index |
Old Index