Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/putter Adjust some comments which were written when ...
details: https://anonhg.NetBSD.org/src/rev/dddb26d99361
branches: trunk
changeset: 751223:dddb26d99361
user: pooka <pooka%NetBSD.org@localhost>
date: Thu Jan 28 18:12:55 2010 +0000
description:
Adjust some comments which were written when this was still a part of puffs.
diffstat:
sys/dev/putter/putter.c | 13 +++++++------
1 files changed, 7 insertions(+), 6 deletions(-)
diffs (55 lines):
diff -r 9fff8dbdf628 -r dddb26d99361 sys/dev/putter/putter.c
--- a/sys/dev/putter/putter.c Thu Jan 28 14:25:17 2010 +0000
+++ b/sys/dev/putter/putter.c Thu Jan 28 18:12:55 2010 +0000
@@ -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;
Home |
Main Index |
Thread Index |
Old Index