From cee18f9ca839459e3d6c7f77d7db08ae9ab8016d Mon Sep 17 00:00:00 2001 From: yar Date: Mon, 26 Mar 2007 04:39:18 +0000 Subject: Introduce a new toy interface, edsc(4). It's a discard interface imitating an Ethernet device, so vlan(4) and if_bridge(4) can be attached to it for testing and benchmarking purposes. Its source can be an introduction to the anatomy of a network interface driver due to its simplicity as well as to a bunch of comments in it. --- sys/modules/Makefile | 1 + sys/modules/if_edsc/Makefile | 8 ++++++++ 2 files changed, 9 insertions(+) create mode 100644 sys/modules/if_edsc/Makefile (limited to 'sys/modules') diff --git a/sys/modules/Makefile b/sys/modules/Makefile index dff387d..53daa78 100644 --- a/sys/modules/Makefile +++ b/sys/modules/Makefile @@ -103,6 +103,7 @@ SUBDIR= ${_3dfx} \ ${_ie} \ if_bridge \ if_disc \ + if_edsc \ if_ef \ if_faith \ if_gif \ diff --git a/sys/modules/if_edsc/Makefile b/sys/modules/if_edsc/Makefile new file mode 100644 index 0000000..af2704b --- /dev/null +++ b/sys/modules/if_edsc/Makefile @@ -0,0 +1,8 @@ +# $FreeBSD$ + +.PATH: ${.CURDIR}/../../net + +KMOD= if_edsc +SRCS= if_edsc.c + +.include -- cgit v1.1