Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/rump/net/lib add ioconf files for pseudo device attach p...
details: https://anonhg.NetBSD.org/src/rev/a67e64576bd2
branches: trunk
changeset: 340030:a67e64576bd2
user: christos <christos%NetBSD.org@localhost>
date: Thu Aug 20 12:20:09 2015 +0000
description:
add ioconf files for pseudo device attach prototypes
diffstat:
sys/rump/net/lib/libagr/AGR.ioconf | 7 +++++++
sys/rump/net/lib/libagr/Makefile | 4 ++--
sys/rump/net/lib/libbridge/BRIDGE.ioconf | 7 +++++++
sys/rump/net/lib/libbridge/Makefile | 4 ++--
sys/rump/net/lib/libnet/Makefile | 7 ++++---
sys/rump/net/lib/libnet/NET.ioconf | 7 +++++++
sys/rump/net/lib/libnetmpls/Makefile | 4 ++--
sys/rump/net/lib/libnetmpls/NETMPLS.ioconf | 7 +++++++
sys/rump/net/lib/libnetmpls/netmpls_component.c | 6 +++---
sys/rump/net/lib/libnpf/Makefile | 4 ++--
sys/rump/net/lib/libnpf/NPF.ioconf | 7 +++++++
sys/rump/net/lib/libtap/Makefile | 4 ++--
sys/rump/net/lib/libtap/TAP.ioconf | 7 +++++++
sys/rump/net/lib/libtap/tap_component.c | 8 ++++----
14 files changed, 63 insertions(+), 20 deletions(-)
diffs (231 lines):
diff -r 4d777a49ab79 -r a67e64576bd2 sys/rump/net/lib/libagr/AGR.ioconf
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/rump/net/lib/libagr/AGR.ioconf Thu Aug 20 12:20:09 2015 +0000
@@ -0,0 +1,7 @@
+# $NetBSD: AGR.ioconf,v 1.1 2015/08/20 12:20:09 christos Exp $
+
+ioconf agr
+
+include "conf/files"
+
+pseudo-device agr
diff -r 4d777a49ab79 -r a67e64576bd2 sys/rump/net/lib/libagr/Makefile
--- a/sys/rump/net/lib/libagr/Makefile Thu Aug 20 12:09:22 2015 +0000
+++ b/sys/rump/net/lib/libagr/Makefile Thu Aug 20 12:20:09 2015 +0000
@@ -1,10 +1,10 @@
-# $NetBSD: Makefile,v 1.2 2014/03/13 02:07:03 pooka Exp $
+# $NetBSD: Makefile,v 1.3 2015/08/20 12:20:09 christos Exp $
#
.PATH: ${.CURDIR}/../../../../net/agr
LIB= rumpnet_agr
-
+IOCONF= AGR.ioconf
SRCS= if_agr.c if_agrsoftc.c if_agrsubr.c if_agrtimer.c if_agrmonitor.c \
if_agrether.c if_agrether_hash.c ieee8023ad_marker.c ieee8023ad_lacp.c \
ieee8023ad_lacp_select.c ieee8023ad_lacp_timer.c \
diff -r 4d777a49ab79 -r a67e64576bd2 sys/rump/net/lib/libbridge/BRIDGE.ioconf
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/rump/net/lib/libbridge/BRIDGE.ioconf Thu Aug 20 12:20:09 2015 +0000
@@ -0,0 +1,7 @@
+# $NetBSD: BRIDGE.ioconf,v 1.1 2015/08/20 12:20:09 christos Exp $
+
+ioconf bridge
+
+include "conf/files"
+
+pseudo-device bridge
diff -r 4d777a49ab79 -r a67e64576bd2 sys/rump/net/lib/libbridge/Makefile
--- a/sys/rump/net/lib/libbridge/Makefile Thu Aug 20 12:09:22 2015 +0000
+++ b/sys/rump/net/lib/libbridge/Makefile Thu Aug 20 12:20:09 2015 +0000
@@ -1,10 +1,10 @@
-# $NetBSD: Makefile,v 1.2 2014/03/13 02:08:24 pooka Exp $
+# $NetBSD: Makefile,v 1.3 2015/08/20 12:20:09 christos Exp $
#
.PATH: ${.CURDIR}/../../../../net
LIB= rumpnet_bridge
-
+IOCONF= BRIDGE.ioconf
SRCS= if_bridge.c bridgestp.c
SRCS+= bridge_component.c
diff -r 4d777a49ab79 -r a67e64576bd2 sys/rump/net/lib/libnet/Makefile
--- a/sys/rump/net/lib/libnet/Makefile Thu Aug 20 12:09:22 2015 +0000
+++ b/sys/rump/net/lib/libnet/Makefile Thu Aug 20 12:20:09 2015 +0000
@@ -1,18 +1,19 @@
-# $NetBSD: Makefile,v 1.23 2015/04/23 14:49:26 pooka Exp $
+# $NetBSD: Makefile,v 1.24 2015/08/20 12:20:09 christos Exp $
#
-.include <bsd.init.mk>
.PATH: ${.CURDIR}/../../../../net ${.CURDIR}/../../../../compat/common
LIB= rumpnet_net
-
+IOCONF= NET.ioconf
# iffy stuff
SRCS= if.c if_loop.c route.c rtsock.c raw_usrreq.c \
raw_cb.c if_media.c link_proto.c net_stats.c if_ethersubr.c
SRCS+= if_43.c pfil.c
SRCS+= net_component.c
+.include <bsd.init.mk>
+
.if !empty(RUMP_NBCOMPAT:M50)
SRCS+= rtsock_50.c uipc_syscalls_50.c
.endif
diff -r 4d777a49ab79 -r a67e64576bd2 sys/rump/net/lib/libnet/NET.ioconf
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/rump/net/lib/libnet/NET.ioconf Thu Aug 20 12:20:09 2015 +0000
@@ -0,0 +1,7 @@
+# $NetBSD: NET.ioconf,v 1.1 2015/08/20 12:20:09 christos Exp $
+
+ioconf net
+
+include "conf/files"
+
+pseudo-device carp
diff -r 4d777a49ab79 -r a67e64576bd2 sys/rump/net/lib/libnetmpls/Makefile
--- a/sys/rump/net/lib/libnetmpls/Makefile Thu Aug 20 12:09:22 2015 +0000
+++ b/sys/rump/net/lib/libnetmpls/Makefile Thu Aug 20 12:20:09 2015 +0000
@@ -1,10 +1,10 @@
-# $NetBSD: Makefile,v 1.2 2014/03/13 02:05:29 pooka Exp $
+# $NetBSD: Makefile,v 1.3 2015/08/20 12:20:09 christos Exp $
#
.PATH: ${.CURDIR}/../../../../net ${.CURDIR}/../../../../netmpls
LIB= rumpnet_netmpls
-
+IOCONF= NETMPLS.ioconf
SRCS= mpls_ttl.c if_mpls.c
SRCS+= netmpls_component.c
diff -r 4d777a49ab79 -r a67e64576bd2 sys/rump/net/lib/libnetmpls/NETMPLS.ioconf
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/rump/net/lib/libnetmpls/NETMPLS.ioconf Thu Aug 20 12:20:09 2015 +0000
@@ -0,0 +1,7 @@
+# $NetBSD: NETMPLS.ioconf,v 1.1 2015/08/20 12:20:09 christos Exp $
+
+ioconf netmpls
+
+include "conf/files"
+
+pseudo-device ifmpls
diff -r 4d777a49ab79 -r a67e64576bd2 sys/rump/net/lib/libnetmpls/netmpls_component.c
--- a/sys/rump/net/lib/libnetmpls/netmpls_component.c Thu Aug 20 12:09:22 2015 +0000
+++ b/sys/rump/net/lib/libnetmpls/netmpls_component.c Thu Aug 20 12:20:09 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: netmpls_component.c,v 1.2 2014/08/22 11:34:28 pooka Exp $ */
+/* $NetBSD: netmpls_component.c,v 1.3 2015/08/20 12:20:09 christos Exp $ */
/*
* Copyright (c) 2009 Antti Kantee. All Rights Reserved.
@@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: netmpls_component.c,v 1.2 2014/08/22 11:34:28 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: netmpls_component.c,v 1.3 2015/08/20 12:20:09 christos Exp $");
#include <sys/param.h>
#include <sys/domain.h>
@@ -46,7 +46,7 @@
#include "rump_private.h"
#include "rump_net_private.h"
-void ifmplsattach(int);
+#include "ioconf.h"
RUMP_COMPONENT(RUMP_COMPONENT_NET)
{
diff -r 4d777a49ab79 -r a67e64576bd2 sys/rump/net/lib/libnpf/Makefile
--- a/sys/rump/net/lib/libnpf/Makefile Thu Aug 20 12:09:22 2015 +0000
+++ b/sys/rump/net/lib/libnpf/Makefile Thu Aug 20 12:20:09 2015 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2014/07/19 18:24:16 rmind Exp $
+# $NetBSD: Makefile,v 1.15 2015/08/20 12:20:09 christos Exp $
#
# Public Domain.
#
@@ -8,7 +8,7 @@
.PATH: ${.CURDIR}/../../../../net/npf
LIB= rumpnet_npf
-
+IOCONF= NPF.ioconf
SRCS= npf.c npf_alg.c npf_conf.c npf_ctl.c npf_handler.c
SRCS+= npf_bpf.c npf_if.c npf_inet.c npf_mbuf.c npf_nat.c
SRCS+= npf_ruleset.c npf_conn.c npf_conndb.c npf_rproc.c
diff -r 4d777a49ab79 -r a67e64576bd2 sys/rump/net/lib/libnpf/NPF.ioconf
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/rump/net/lib/libnpf/NPF.ioconf Thu Aug 20 12:20:09 2015 +0000
@@ -0,0 +1,7 @@
+# $NetBSD: NPF.ioconf,v 1.1 2015/08/20 12:20:09 christos Exp $
+
+ioconf npf
+
+include "conf/files"
+
+pseudo-device npf
diff -r 4d777a49ab79 -r a67e64576bd2 sys/rump/net/lib/libtap/Makefile
--- a/sys/rump/net/lib/libtap/Makefile Thu Aug 20 12:09:22 2015 +0000
+++ b/sys/rump/net/lib/libtap/Makefile Thu Aug 20 12:20:09 2015 +0000
@@ -1,10 +1,10 @@
-# $NetBSD: Makefile,v 1.1 2015/05/29 12:32:23 pooka Exp $
+# $NetBSD: Makefile,v 1.2 2015/08/20 12:20:09 christos Exp $
#
.PATH: ${.CURDIR}/../../../../net
LIB= rumpnet_tap
-
+IOCONF= TAP.ioconf
SRCS= if_tap.c
SRCS+= tap_component.c
diff -r 4d777a49ab79 -r a67e64576bd2 sys/rump/net/lib/libtap/TAP.ioconf
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/rump/net/lib/libtap/TAP.ioconf Thu Aug 20 12:20:09 2015 +0000
@@ -0,0 +1,7 @@
+# $NetBSD: TAP.ioconf,v 1.1 2015/08/20 12:20:09 christos Exp $
+
+ioconf tap
+
+include "conf/files"
+
+pseudo-device tap
diff -r 4d777a49ab79 -r a67e64576bd2 sys/rump/net/lib/libtap/tap_component.c
--- a/sys/rump/net/lib/libtap/tap_component.c Thu Aug 20 12:09:22 2015 +0000
+++ b/sys/rump/net/lib/libtap/tap_component.c Thu Aug 20 12:20:09 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: tap_component.c,v 1.1 2015/05/29 12:32:23 pooka Exp $ */
+/* $NetBSD: tap_component.c,v 1.2 2015/08/20 12:20:09 christos Exp $ */
/*
* Copyright (c) 2015 Wei Liu. All Rights Reserved.
@@ -26,7 +26,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: tap_component.c,v 1.1 2015/05/29 12:32:23 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tap_component.c,v 1.2 2015/08/20 12:20:09 christos Exp $");
#include <sys/param.h>
#include <sys/device.h>
@@ -36,9 +36,9 @@
#include "rump_net_private.h"
#include "rump_vfs_private.h"
-CFDRIVER_DECL(tap, DV_IFNET, NULL);
+#include "ioconf.h"
-void tapattach(int);
+CFDRIVER_DECL(tap, DV_IFNET, NULL);
RUMP_COMPONENT(RUMP_COMPONENT_NET_IF)
{
Home |
Main Index |
Thread Index |
Old Index