Module Name: src Committed By: shattered Date: Sat Feb 25 10:17:15 UTC 2012
Modified Files: src/sys/dev/scsipi: cd.c scsi_all.h Log Message: Fix typos in comments. OK by wiz@ To generate a diff of this commit: cvs rdiff -u -r1.305 -r1.306 src/sys/dev/scsipi/cd.c cvs rdiff -u -r1.24 -r1.25 src/sys/dev/scsipi/scsi_all.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/dev/scsipi/cd.c diff -u src/sys/dev/scsipi/cd.c:1.305 src/sys/dev/scsipi/cd.c:1.306 --- src/sys/dev/scsipi/cd.c:1.305 Thu Feb 2 19:43:06 2012 +++ src/sys/dev/scsipi/cd.c Sat Feb 25 10:17:14 2012 @@ -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 @@ cdgetdisklabel(struct cd_softc *cd) } /* - * 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 @@ read_cd_capacity(struct scsipi_periph *p 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; Index: src/sys/dev/scsipi/scsi_all.h diff -u src/sys/dev/scsipi/scsi_all.h:1.24 src/sys/dev/scsipi/scsi_all.h:1.25 --- src/sys/dev/scsipi/scsi_all.h:1.24 Sun Dec 11 12:23:50 2005 +++ src/sys/dev/scsipi/scsi_all.h Sat Feb 25 10:17:14 2012 @@ -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