Source-Changes-HG archive

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

[src/trunk]: src/sys/net/npf needs to be driver, otherwise it will not load!



details:   https://anonhg.NetBSD.org/src/rev/e1b0232a4432
branches:  trunk
changeset: 341116:e1b0232a4432
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Oct 18 18:48:01 2015 +0000

description:
needs to be driver, otherwise it will not load!

diffstat:

 sys/net/npf/npf.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r fc219de44700 -r e1b0232a4432 sys/net/npf/npf.c
--- a/sys/net/npf/npf.c Sun Oct 18 18:27:25 2015 +0000
+++ b/sys/net/npf/npf.c Sun Oct 18 18:48:01 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: npf.c,v 1.24 2015/10/17 13:53:40 jmcneill Exp $        */
+/*     $NetBSD: npf.c,v 1.25 2015/10/18 18:48:01 christos Exp $        */
 
 /*-
  * Copyright (c) 2009-2013 The NetBSD Foundation, Inc.
@@ -34,7 +34,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: npf.c,v 1.24 2015/10/17 13:53:40 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: npf.c,v 1.25 2015/10/18 18:48:01 christos Exp $");
 
 #include <sys/param.h>
 #include <sys/types.h>
@@ -59,7 +59,7 @@
 /*
  * Module and device structures.
  */
-MODULE(MODULE_CLASS_MISC, npf, NULL);
+MODULE(MODULE_CLASS_DRIVER, npf, NULL);
 
 static int     npf_fini(void);
 static int     npf_dev_open(dev_t, int, int, lwp_t *);



Home | Main Index | Thread Index | Old Index