Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev hide bufq_state from userland.



details:   https://anonhg.NetBSD.org/src/rev/ff22aa0b6ffa
branches:  trunk
changeset: 570774:ff22aa0b6ffa
user:      yamt <yamt%NetBSD.org@localhost>
date:      Thu Oct 28 06:59:18 2004 +0000

description:
hide bufq_state from userland.

diffstat:

 sys/dev/ccdvar.h |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 5bb7cef717b2 -r ff22aa0b6ffa sys/dev/ccdvar.h
--- a/sys/dev/ccdvar.h  Wed Oct 27 23:16:56 2004 +0000
+++ b/sys/dev/ccdvar.h  Thu Oct 28 06:59:18 2004 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ccdvar.h,v 1.25 2004/08/23 04:30:28 thorpej Exp $      */
+/*     $NetBSD: ccdvar.h,v 1.26 2004/10/28 06:59:18 yamt Exp $ */
 
 /*-
  * Copyright (c) 1996, 1997, 1998, 1999 The NetBSD Foundation, Inc.
@@ -213,7 +213,9 @@
        char             sc_xname[8];           /* XXX external name */
        struct disk      sc_dkdev;              /* generic disk device info */
        struct lock      sc_lock;               /* lock on this structure */
+#if defined(_KERNEL) /* XXX ccdconfig(8) refers softc directly using kvm */
        struct bufq_state sc_bufq;              /* buffer queue */
+#endif
 };
 
 /* sc_flags */



Home | Main Index | Thread Index | Old Index