Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/gehenna-devsw]: src/sys/altq Add the character device switch.
details: https://anonhg.NetBSD.org/src/rev/5851ef06227f
branches: gehenna-devsw
changeset: 527108:5851ef06227f
user: gehenna <gehenna%NetBSD.org@localhost>
date: Thu May 16 12:28:52 2002 +0000
description:
Add the character device switch.
diffstat:
sys/altq/altq_conf.c | 11 +++++++++--
1 files changed, 9 insertions(+), 2 deletions(-)
diffs (32 lines):
diff -r a65e4cbcce06 -r 5851ef06227f sys/altq/altq_conf.c
--- a/sys/altq/altq_conf.c Thu May 16 12:27:37 2002 +0000
+++ b/sys/altq/altq_conf.c Thu May 16 12:28:52 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: altq_conf.c,v 1.6 2002/03/05 04:12:57 itojun Exp $ */
+/* $NetBSD: altq_conf.c,v 1.6.6.1 2002/05/16 12:28:52 gehenna Exp $ */
/* $KAME: altq_conf.c,v 1.13 2002/01/29 10:16:01 kjc Exp $ */
/*
@@ -28,7 +28,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: altq_conf.c,v 1.6 2002/03/05 04:12:57 itojun Exp $");
+__KERNEL_RCSID(0, "$NetBSD: altq_conf.c,v 1.6.6.1 2002/05/16 12:28:52 gehenna Exp $");
#if defined(__FreeBSD__) || defined(__NetBSD__)
#include "opt_altq.h"
@@ -195,6 +195,13 @@
#endif
#endif
+#if defined(__NetBSD__)
+const struct cdevsw altq_cdevsw = {
+ altqopen, altqclose, noread, nowrite, altqioctl,
+ nostop, notty, nopoll, nommap, D_DULL
+};
+#endif
+
#if !defined(__NetBSD__) && !defined(__OpenBSD__)
static
#endif
Home |
Main Index |
Thread Index |
Old Index