Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/scsipi Fix typos in comments.
details: https://anonhg.NetBSD.org/src/rev/b3a7a9084f56
branches: trunk
changeset: 777607:b3a7a9084f56
user: shattered <shattered%NetBSD.org@localhost>
date: Sat Feb 25 10:17:14 2012 +0000
description:
Fix typos in comments.
OK by wiz@
diffstat:
sys/dev/scsipi/cd.c | 10 +++++-----
sys/dev/scsipi/scsi_all.h | 4 ++--
2 files changed, 7 insertions(+), 7 deletions(-)
diffs (60 lines):
diff -r 9f93c56b151a -r b3a7a9084f56 sys/dev/scsipi/cd.c
--- a/sys/dev/scsipi/cd.c Sat Feb 25 10:15:50 2012 +0000
+++ b/sys/dev/scsipi/cd.c Sat Feb 25 10:17:14 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cd.c,v 1.305 2012/02/02 19:43:06 tls Exp $ */
+/* $NetBSD: cd.c,v 1.306 2012/02/25 10:17:14 shattered Exp $ */
/*-
* Copyright (c) 1998, 2001, 2003, 2004, 2005, 2008 The NetBSD Foundation,
@@ -50,7 +50,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cd.c,v 1.305 2012/02/02 19:43:06 tls Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cd.c,v 1.306 2012/02/25 10:17:14 shattered Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -1761,12 +1761,12 @@
}
/*
- * Reading a discs total capacity is aparently a very difficult issue for the
+ * Reading a disc's total capacity is apparently a very difficult issue for the
* SCSI standardisation group. Every disc type seems to have its own
* (re)invented size request method and modifiers. The failsafe way of
* determining the total (max) capacity i.e. not the recorded capacity but the
* total maximum capacity is to request the info on the last track and
- * calucate the total size.
+ * calculate the total size.
*
* For ROM drives, we go for the CD recorded capacity. For recordable devices
* we count.
@@ -1783,7 +1783,7 @@
uint32_t track_start, track_size;
int error, flags, msb, lsb, last_track;
- /* if the device doesn't grog capacity, return the dummies */
+ /* if the device doesn't grok capacity, return the dummies */
if (periph->periph_quirks & PQUIRK_NOCAPACITY)
return 0;
diff -r 9f93c56b151a -r b3a7a9084f56 sys/dev/scsipi/scsi_all.h
--- a/sys/dev/scsipi/scsi_all.h Sat Feb 25 10:15:50 2012 +0000
+++ b/sys/dev/scsipi/scsi_all.h Sat Feb 25 10:17:14 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: scsi_all.h,v 1.24 2005/12/11 12:23:50 christos Exp $ */
+/* $NetBSD: scsi_all.h,v 1.25 2012/02/25 10:17:14 shattered Exp $ */
/*
* SCSI-specific interface description.
@@ -25,7 +25,7 @@
#define _DEV_SCSIPI_SCSI_ALL_H_
/*
- * Define dome bits that are in ALL (or a lot of) scsi commands
+ * Define some bits that are in ALL (or a lot of) scsi commands
*/
#define SCSI_CTL_LINK 0x01
#define SCSI_CTL_FLAG 0x02
Home |
Main Index |
Thread Index |
Old Index