From a7dc31283a053a6c0444813d1432fa83e6ccba9f Mon Sep 17 00:00:00 2001 From: Brooks Davis Date: Mon, 24 Apr 2017 21:21:49 +0000 Subject: Remove the NATM framework including the en(4), fatm(4), hatm(4), and patm(4) devices. Maintaining an address family and framework has real costs when we make infrastructure improvements. In the case of NATM we support no devices manufactured in the last 20 years and some will not even work in modern motherboards (some newer devices that patm(4) could be updated to support apparently exist, but we do not currently have support). With this change, support remains for some netgraph modules that don't require NATM support code. It is unclear if all these should remain, though ng_atmllc certainly stands alone. Note well: FreeBSD 11 supports NATM and will continue to do so until at least September 30, 2021. Improvements to the code in FreeBSD 11 are certainly welcome. Reviewed by: philip Approved by: harti --- sys/modules/Makefile | 6 ------ sys/modules/en/Makefile | 11 ----------- sys/modules/fatm/Makefile | 12 ------------ sys/modules/hatm/Makefile | 14 -------------- sys/modules/netgraph/atm/Makefile | 1 - sys/modules/netgraph/atm/atm/Makefile | 11 ----------- sys/modules/patm/Makefile | 15 --------------- sys/modules/utopia/Makefile | 8 -------- 8 files changed, 78 deletions(-) delete mode 100644 sys/modules/en/Makefile delete mode 100644 sys/modules/fatm/Makefile delete mode 100644 sys/modules/hatm/Makefile delete mode 100644 sys/modules/netgraph/atm/atm/Makefile delete mode 100644 sys/modules/patm/Makefile delete mode 100644 sys/modules/utopia/Makefile (limited to 'sys/modules') diff --git a/sys/modules/Makefile b/sys/modules/Makefile index 4174dd648f2d5..73c35f6bac805 100644 --- a/sys/modules/Makefile +++ b/sys/modules/Makefile @@ -107,7 +107,6 @@ SUBDIR= \ ${_efirt} \ ${_elink} \ ${_em} \ - en \ ${_ep} \ ${_epic} \ esp \ @@ -116,7 +115,6 @@ SUBDIR= \ ${_ex} \ ${_exca} \ ext2fs \ - ${_fatm} \ fdc \ fdescfs \ ${_fe} \ @@ -130,7 +128,6 @@ SUBDIR= \ ${_glxiic} \ ${_glxsb} \ gpio \ - hatm \ hifn \ hme \ ${_hpt27xx} \ @@ -289,7 +286,6 @@ SUBDIR= \ ow \ ${_padlock} \ ${_padlock_rng} \ - patm \ ${_pccard} \ ${_pcfclock} \ pcn \ @@ -380,7 +376,6 @@ SUBDIR= \ uinput \ unionfs \ usb \ - utopia \ ${_vesa} \ ${_virtio} \ vge \ @@ -500,7 +495,6 @@ _pfsync= pfsync .if ${MK_SOURCELESS_UCODE} != "no" _bce= bce -_fatm= fatm _fxp= fxp _ispfw= ispfw _sf= sf diff --git a/sys/modules/en/Makefile b/sys/modules/en/Makefile deleted file mode 100644 index 459bf64112fc1..0000000000000 --- a/sys/modules/en/Makefile +++ /dev/null @@ -1,11 +0,0 @@ -# $FreeBSD$ - -.PATH: ${SRCTOP}/sys/dev/en - -KMOD= if_en -SRCS= if_en_pci.c midway.c device_if.h bus_if.h pci_if.h -SRCS+= opt_inet.h opt_natm.h opt_ddb.h -CFLAGS+= -DENABLE_BPF -# CFLAGS+= -DINVARIANT_SUPPORT -DINVARIANTS -DEN_DEBUG=0 - -.include diff --git a/sys/modules/fatm/Makefile b/sys/modules/fatm/Makefile deleted file mode 100644 index c228fb8e49e81..0000000000000 --- a/sys/modules/fatm/Makefile +++ /dev/null @@ -1,12 +0,0 @@ -# $FreeBSD$ -# -# Author: Harti Brandt -# -.PATH: ${SRCTOP}/sys/dev/fatm - -KMOD= if_fatm -SRCS= if_fatm.c device_if.h bus_if.h pci_if.h opt_inet.h opt_natm.h - -# CFLAGS+= -DFATM_DEBUG=0 -DINVARIANT_SUPPORT -DINVARIANTS - -.include diff --git a/sys/modules/hatm/Makefile b/sys/modules/hatm/Makefile deleted file mode 100644 index 5027babd1944a..0000000000000 --- a/sys/modules/hatm/Makefile +++ /dev/null @@ -1,14 +0,0 @@ -# $FreeBSD$ -# -# Author: Harti Brandt -# -.PATH: ${SRCTOP}/sys/dev/hatm - -KMOD= if_hatm -SRCS= if_hatm.c if_hatm_intr.c if_hatm_ioctl.c if_hatm_tx.c if_hatm_rx.c \ - device_if.h bus_if.h pci_if.h opt_inet.h opt_natm.h - -CFLAGS+= -DENABLE_BPF -# CFLAGS+= -DHATM_DEBUG -DINVARIANT_SUPPORT -DINVARIANTS - -.include diff --git a/sys/modules/netgraph/atm/Makefile b/sys/modules/netgraph/atm/Makefile index 8bbe33db1ae28..086819d5b54b7 100644 --- a/sys/modules/netgraph/atm/Makefile +++ b/sys/modules/netgraph/atm/Makefile @@ -1,7 +1,6 @@ # $FreeBSD$ SUBDIR= \ - atm \ atmbase \ ccatm \ sscfu \ diff --git a/sys/modules/netgraph/atm/atm/Makefile b/sys/modules/netgraph/atm/atm/Makefile deleted file mode 100644 index 2cd6d9decc270..0000000000000 --- a/sys/modules/netgraph/atm/atm/Makefile +++ /dev/null @@ -1,11 +0,0 @@ -# $FreeBSD$ -# -# Author: Harti Brandt -# -.PATH: ${SRCTOP}/sys/netgraph/atm - -KMOD= ng_atm -SRCS= ng_atm.c -# CFLAGS+= -DNGATM_DEBUG - -.include diff --git a/sys/modules/patm/Makefile b/sys/modules/patm/Makefile deleted file mode 100644 index 4f59aa765fc8e..0000000000000 --- a/sys/modules/patm/Makefile +++ /dev/null @@ -1,15 +0,0 @@ -# $FreeBSD$ -# -# Author: Harti Brandt -# -.PATH: ${SRCTOP}/sys/dev/patm - -KMOD= if_patm -SRCS= if_patm.c if_patm_attach.c if_patm_ioctl.c if_patm_intr.c \ - if_patm_tx.c if_patm_rx.c if_patm_rtables.c \ - device_if.h bus_if.h pci_if.h opt_inet.h opt_natm.h - -CFLAGS+= -DENABLE_BPF -# CFLAGS+= -DPATM_DEBUG=0x0 -DINVARIANT_SUPPORT -DINVARIANTS -DDIAGNOSTIC - -.include diff --git a/sys/modules/utopia/Makefile b/sys/modules/utopia/Makefile deleted file mode 100644 index f9993705dc8ec..0000000000000 --- a/sys/modules/utopia/Makefile +++ /dev/null @@ -1,8 +0,0 @@ -# $FreeBSD$ - -.PATH: ${SRCTOP}/sys/dev/utopia - -KMOD= utopia -SRCS= utopia.c suni.c idtphy.c bus_if.h device_if.h - -.include -- cgit v1.3