From 4b4b4456f89143d4227cdd6eb36a1832f3fcfba6 Mon Sep 17 00:00:00 2001 From: christos Date: Sun, 7 Aug 2016 14:27:38 +0000 Subject: [PATCH] add new modules --- sys/modules/Makefile | 12 +++++++++++- sys/modules/if_agr/Makefile | 30 ++++++++++++++++++++++++++++++ sys/modules/if_agr/agr.ioconf | 7 +++++++ sys/modules/if_faith/Makefile | 14 ++++++++++++++ sys/modules/if_faith/faith.ioconf | 7 +++++++ sys/modules/if_gif/Makefile | 14 ++++++++++++++ sys/modules/if_gif/gif.ioconf | 7 +++++++ sys/modules/if_gre/Makefile | 16 ++++++++++++++++ sys/modules/if_gre/gre.ioconf | 7 +++++++ sys/modules/if_loop/Makefile | 16 ++++++++++++++++ sys/modules/if_loop/loop.ioconf | 7 +++++++ sys/modules/if_mpls/Makefile | 14 ++++++++++++++ sys/modules/if_mpls/mpls.ioconf | 7 +++++++ sys/modules/if_srt/Makefile | 14 ++++++++++++++ sys/modules/if_stf/Makefile | 14 ++++++++++++++ sys/modules/if_stf/stf.ioconf | 7 +++++++ sys/modules/if_tun/Makefile | 14 ++++++++++++++ sys/modules/if_tun/tun.ioconf | 7 +++++++ sys/modules/if_vlan/Makefile | 14 ++++++++++++++ sys/modules/if_vlan/vlan.ioconf | 7 +++++++ 20 files changed, 234 insertions(+), 1 deletion(-) create mode 100644 sys/modules/if_agr/Makefile create mode 100644 sys/modules/if_agr/agr.ioconf create mode 100644 sys/modules/if_faith/Makefile create mode 100644 sys/modules/if_faith/faith.ioconf create mode 100644 sys/modules/if_gif/Makefile create mode 100644 sys/modules/if_gif/gif.ioconf create mode 100644 sys/modules/if_gre/Makefile create mode 100644 sys/modules/if_gre/gre.ioconf create mode 100644 sys/modules/if_loop/Makefile create mode 100644 sys/modules/if_loop/loop.ioconf create mode 100644 sys/modules/if_mpls/Makefile create mode 100644 sys/modules/if_mpls/mpls.ioconf create mode 100644 sys/modules/if_srt/Makefile create mode 100644 sys/modules/if_stf/Makefile create mode 100644 sys/modules/if_stf/stf.ioconf create mode 100644 sys/modules/if_tun/Makefile create mode 100644 sys/modules/if_tun/tun.ioconf create mode 100644 sys/modules/if_vlan/Makefile create mode 100644 sys/modules/if_vlan/vlan.ioconf diff --git a/sys/modules/Makefile b/sys/modules/Makefile index e3085d70f71a..5bc67c02b0ea 100644 --- a/sys/modules/Makefile +++ b/sys/modules/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.174 2016/08/06 23:46:30 pgoyette Exp $ +# $NetBSD: Makefile,v 1.175 2016/08/07 14:27:38 christos Exp $ .include @@ -45,14 +45,24 @@ SUBDIR+= hfs SUBDIR+= hythygtemp SUBDIR+= i2cexec SUBDIR+= i2c_bitbang +SUBDIR+= if_agr SUBDIR+= if_axe SUBDIR+= if_axen +SUBDIR+= if_faith +SUBDIR+= if_gif +SUBDIR+= if_gre +SUBDIR+= if_loop +SUBDIR+= if_mpls SUBDIR+= if_npflog SUBDIR+= if_ppp SUBDIR+= if_pppoe SUBDIR+= if_sl SUBDIR+= if_smsc +SUBDIR+= if_srt +SUBDIR+= if_stf SUBDIR+= if_strip +SUBDIR+= if_tun +SUBDIR+= if_vlan SUBDIR+= iic SUBDIR+= ipl SUBDIR+= kernfs diff --git a/sys/modules/if_agr/Makefile b/sys/modules/if_agr/Makefile new file mode 100644 index 000000000000..52be737bc260 --- /dev/null +++ b/sys/modules/if_agr/Makefile @@ -0,0 +1,30 @@ +# $NetBSD: Makefile,v 1.1 2016/08/07 14:27:38 christos Exp $ + +.include "../Makefile.inc" + +.PATH: ${S}/net/agr + +KMOD= if_agr +IOCONF= agr.ioconf +SRCS= \ +ieee8023_tlv.c \ +ieee8023ad_lacp.c \ +ieee8023ad_lacp_debug.c \ +ieee8023ad_lacp_select.c \ +ieee8023ad_lacp_sm_mux.c \ +ieee8023ad_lacp_sm_ptx.c \ +ieee8023ad_lacp_sm_rx.c \ +ieee8023ad_lacp_sm_tx.c \ +ieee8023ad_lacp_timer.c \ +ieee8023ad_marker.c \ +if_agr.c \ +if_agrether.c \ +if_agrether_hash.c \ +if_agrmonitor.c \ +if_agrsoftc.c \ +if_agrsubr.c \ +if_agrtimer.c + +CPPFLAGS+= -DINET + +.include diff --git a/sys/modules/if_agr/agr.ioconf b/sys/modules/if_agr/agr.ioconf new file mode 100644 index 000000000000..83d201c2b6a6 --- /dev/null +++ b/sys/modules/if_agr/agr.ioconf @@ -0,0 +1,7 @@ +# $NetBSD: agr.ioconf,v 1.1 2016/08/07 14:27:38 christos Exp $ + +ioconf agr + +include "conf/files" + +pseudo-device agr diff --git a/sys/modules/if_faith/Makefile b/sys/modules/if_faith/Makefile new file mode 100644 index 000000000000..c255b5249eaf --- /dev/null +++ b/sys/modules/if_faith/Makefile @@ -0,0 +1,14 @@ +# $NetBSD: Makefile,v 1.1 2016/08/07 14:27:38 christos Exp $ + +.include "../Makefile.inc" + +.PATH: ${S}/net + +KMOD= if_faith +IOCONF= faith.ioconf +SRCS= if_faith.c + +CPPFLAGS+= -DINET +CPPFLAGS+= -DINET6 + +.include diff --git a/sys/modules/if_faith/faith.ioconf b/sys/modules/if_faith/faith.ioconf new file mode 100644 index 000000000000..3575f169d1f5 --- /dev/null +++ b/sys/modules/if_faith/faith.ioconf @@ -0,0 +1,7 @@ +# $NetBSD: faith.ioconf,v 1.1 2016/08/07 14:27:38 christos Exp $ + +ioconf faith + +include "conf/files" + +pseudo-device faith diff --git a/sys/modules/if_gif/Makefile b/sys/modules/if_gif/Makefile new file mode 100644 index 000000000000..6f53c6d95693 --- /dev/null +++ b/sys/modules/if_gif/Makefile @@ -0,0 +1,14 @@ +# $NetBSD: Makefile,v 1.1 2016/08/07 14:27:38 christos Exp $ + +.include "../Makefile.inc" + +.PATH: ${S}/net + +KMOD= if_gif +IOCONF= gif.ioconf +SRCS= if_gif.c + +CPPFLAGS+= -DINET +CPPFLAGS+= -DINET6 + +.include diff --git a/sys/modules/if_gif/gif.ioconf b/sys/modules/if_gif/gif.ioconf new file mode 100644 index 000000000000..a22561f3873e --- /dev/null +++ b/sys/modules/if_gif/gif.ioconf @@ -0,0 +1,7 @@ +# $NetBSD: gif.ioconf,v 1.1 2016/08/07 14:27:38 christos Exp $ + +ioconf gif + +include "conf/files" + +pseudo-device gif diff --git a/sys/modules/if_gre/Makefile b/sys/modules/if_gre/Makefile new file mode 100644 index 000000000000..81a5bcce5de5 --- /dev/null +++ b/sys/modules/if_gre/Makefile @@ -0,0 +1,16 @@ +# $NetBSD: Makefile,v 1.1 2016/08/07 14:27:38 christos Exp $ + +.include "../Makefile.inc" + +.PATH: ${S}/net + +KMOD= if_gre +IOCONF= gre.ioconf +SRCS= if_gre.c + +CPPFLAGS+= -DINET +CPPFLAGS+= -DINET6 +CPPFLAGS+= -DMPLS +CPPFLAGS+= -DNETATALK + +.include diff --git a/sys/modules/if_gre/gre.ioconf b/sys/modules/if_gre/gre.ioconf new file mode 100644 index 000000000000..b771e6696a96 --- /dev/null +++ b/sys/modules/if_gre/gre.ioconf @@ -0,0 +1,7 @@ +# $NetBSD: gre.ioconf,v 1.1 2016/08/07 14:27:38 christos Exp $ + +ioconf gre + +include "conf/files" + +pseudo-device gre diff --git a/sys/modules/if_loop/Makefile b/sys/modules/if_loop/Makefile new file mode 100644 index 000000000000..e460671ede3c --- /dev/null +++ b/sys/modules/if_loop/Makefile @@ -0,0 +1,16 @@ +# $NetBSD: Makefile,v 1.1 2016/08/07 14:27:39 christos Exp $ + +.include "../Makefile.inc" + +.PATH: ${S}/net + +KMOD= if_loop +IOCONF= loop.ioconf +SRCS= if_loop.c + +CPPFLAGS+= -DINET +CPPFLAGS+= -DINET6 +CPPFLAGS+= -DMPLS +CPPFLAGS+= -DNETATALK + +.include diff --git a/sys/modules/if_loop/loop.ioconf b/sys/modules/if_loop/loop.ioconf new file mode 100644 index 000000000000..c34a32bef047 --- /dev/null +++ b/sys/modules/if_loop/loop.ioconf @@ -0,0 +1,7 @@ +# $NetBSD: loop.ioconf,v 1.1 2016/08/07 14:27:39 christos Exp $ + +ioconf loop + +include "conf/files" + +pseudo-device loop diff --git a/sys/modules/if_mpls/Makefile b/sys/modules/if_mpls/Makefile new file mode 100644 index 000000000000..26e35f7ed0f7 --- /dev/null +++ b/sys/modules/if_mpls/Makefile @@ -0,0 +1,14 @@ +# $NetBSD: Makefile,v 1.1 2016/08/07 14:27:39 christos Exp $ + +.include "../Makefile.inc" + +.PATH: ${S}/net + +KMOD= if_mpls +IOCONF= mpls.ioconf +SRCS= if_mpls.c + +CPPFLAGS+= -DINET +CPPFLAGS+= -DINET6 + +.include diff --git a/sys/modules/if_mpls/mpls.ioconf b/sys/modules/if_mpls/mpls.ioconf new file mode 100644 index 000000000000..c436a708b274 --- /dev/null +++ b/sys/modules/if_mpls/mpls.ioconf @@ -0,0 +1,7 @@ +# $NetBSD: mpls.ioconf,v 1.1 2016/08/07 14:27:39 christos Exp $ + +ioconf mpls + +include "conf/files" + +pseudo-device mpls diff --git a/sys/modules/if_srt/Makefile b/sys/modules/if_srt/Makefile new file mode 100644 index 000000000000..b4eda4503416 --- /dev/null +++ b/sys/modules/if_srt/Makefile @@ -0,0 +1,14 @@ +# $NetBSD: Makefile,v 1.1 2016/08/07 14:27:39 christos Exp $ + +.include "../Makefile.inc" + +.PATH: ${S}/net + +KMOD= if_srt +IOCONF= srt.ioconf +SRCS= if_srt.c + +CPPFLAGS+= -DINET +CPPFLAGS+= -DINET6 + +.include diff --git a/sys/modules/if_stf/Makefile b/sys/modules/if_stf/Makefile new file mode 100644 index 000000000000..2c25eab6c3a7 --- /dev/null +++ b/sys/modules/if_stf/Makefile @@ -0,0 +1,14 @@ +# $NetBSD: Makefile,v 1.1 2016/08/07 14:27:39 christos Exp $ + +.include "../Makefile.inc" + +.PATH: ${S}/net + +KMOD= if_stf +IOCONF= stf.ioconf +SRCS= if_stf.c + +CPPFLAGS+= -DINET +CPPFLAGS+= -DINET6 + +.include diff --git a/sys/modules/if_stf/stf.ioconf b/sys/modules/if_stf/stf.ioconf new file mode 100644 index 000000000000..350d346e2652 --- /dev/null +++ b/sys/modules/if_stf/stf.ioconf @@ -0,0 +1,7 @@ +# $NetBSD: stf.ioconf,v 1.1 2016/08/07 14:27:39 christos Exp $ + +ioconf stf + +include "conf/files" + +pseudo-device stf diff --git a/sys/modules/if_tun/Makefile b/sys/modules/if_tun/Makefile new file mode 100644 index 000000000000..8d99dd5ff833 --- /dev/null +++ b/sys/modules/if_tun/Makefile @@ -0,0 +1,14 @@ +# $NetBSD: Makefile,v 1.1 2016/08/07 14:27:39 christos Exp $ + +.include "../Makefile.inc" + +.PATH: ${S}/net + +KMOD= if_tun +IOCONF= tun.ioconf +SRCS= if_tun.c + +CPPFLAGS+= -DINET +CPPFLAGS+= -DINET6 + +.include diff --git a/sys/modules/if_tun/tun.ioconf b/sys/modules/if_tun/tun.ioconf new file mode 100644 index 000000000000..3ba6f8d10b00 --- /dev/null +++ b/sys/modules/if_tun/tun.ioconf @@ -0,0 +1,7 @@ +# $NetBSD: tun.ioconf,v 1.1 2016/08/07 14:27:39 christos Exp $ + +ioconf tun + +include "conf/files" + +pseudo-device tun diff --git a/sys/modules/if_vlan/Makefile b/sys/modules/if_vlan/Makefile new file mode 100644 index 000000000000..2d783c098806 --- /dev/null +++ b/sys/modules/if_vlan/Makefile @@ -0,0 +1,14 @@ +# $NetBSD: Makefile,v 1.1 2016/08/07 14:27:39 christos Exp $ + +.include "../Makefile.inc" + +.PATH: ${S}/net + +KMOD= if_vlan +IOCONF= vlan.ioconf +SRCS= if_vlan.c + +CPPFLAGS+= -DINET +CPPFLAGS+= -DINET6 + +.include diff --git a/sys/modules/if_vlan/vlan.ioconf b/sys/modules/if_vlan/vlan.ioconf new file mode 100644 index 000000000000..f10e80c25135 --- /dev/null +++ b/sys/modules/if_vlan/vlan.ioconf @@ -0,0 +1,7 @@ +# $NetBSD: vlan.ioconf,v 1.1 2016/08/07 14:27:39 christos Exp $ + +ioconf vlan + +include "conf/files" + +pseudo-device vlan