Module Name: src
Committed By: pooka
Date: Thu Jan 28 18:12:56 UTC 2010
Modified Files:
src/sys/dev/putter: putter.c
Log Message:
Adjust some comments which were written when this was still a part of puffs.
To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 src/sys/dev/putter/putter.c
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/putter/putter.c
diff -u src/sys/dev/putter/putter.c:1.26 src/sys/dev/putter/putter.c:1.27
--- src/sys/dev/putter/putter.c:1.26 Sun Dec 20 09:36:05 2009
+++ src/sys/dev/putter/putter.c Thu Jan 28 18:12:55 2010
@@ -1,4 +1,4 @@
-/* $NetBSD: putter.c,v 1.26 2009/12/20 09:36:05 dsl Exp $ */
+/* $NetBSD: putter.c,v 1.27 2010/01/28 18:12:55 pooka Exp $ */
/*
* Copyright (c) 2006, 2007 Antti Kantee. All Rights Reserved.
@@ -35,7 +35,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: putter.c,v 1.26 2009/12/20 09:36:05 dsl Exp $");
+__KERNEL_RCSID(0, "$NetBSD: putter.c,v 1.27 2010/01/28 18:12:55 pooka Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -52,7 +52,7 @@
#include <dev/putter/putter_sys.h>
/*
- * Device routines. These are for when /dev/puffs is initially
+ * Device routines. These are for when /dev/putter is initially
* opened before it has been cloned.
*/
@@ -357,7 +357,7 @@
restart:
mutex_enter(&pi_mtx);
/*
- * First check if the fs was never mounted. In that case
+ * First check if the driver was never born. In that case
* remove the instance from the list. If mount is attempted later,
* it will simply fail.
*/
@@ -386,7 +386,8 @@
}
/*
- * So we have a reference. Proceed to unwrap the file system.
+ * So we have a reference. Proceed to unravel the
+ * underlying driver.
*/
mutex_exit(&pi_mtx);
@@ -429,7 +430,7 @@
/*
* work already done in sys_ioctl(). skip sanity checks to enable
- * setting non-blocking fd without yet having mounted the fs
+ * setting non-blocking fd on an embryotic driver.
*/
if (cmd == FIONBIO)
return 0;