Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 May 2018 16:30:48 +0000 (UTC)
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r333144 - in head: . include lib/libsysdecode share/man/man4 sys/conf sys/dev/lmc sys/modules sys/modules/lmc tools/kerneldoc/subsys usr.sbin usr.sbin/lmcconfig
Message-ID:  <201805011630.w41GUmkN011298@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: emaste
Date: Tue May  1 16:30:48 2018
New Revision: 333144
URL: https://svnweb.freebsd.org/changeset/base/333144

Log:
  Retire lmc(4)
  
  This driver supports legacy, 32-bit PCI devices, and had an ambiguous
  license.  Supported devices were already reported to be rare in 2003
  (when an earlier version of the driver was removed in r123201).
  
  Reviewed by:	rgrimes
  Relnotes:	Yes
  Sponsored by:	The FreeBSD Foundation
  Differential Revision:	https://reviews.freebsd.org/D15245

Deleted:
  head/share/man/man4/lmc.4
  head/sys/dev/lmc/
  head/sys/modules/lmc/
  head/tools/kerneldoc/subsys/Doxyfile-dev_lmc
  head/usr.sbin/lmcconfig/
Modified:
  head/ObsoleteFiles.inc
  head/UPDATING
  head/include/Makefile
  head/lib/libsysdecode/Makefile
  head/share/man/man4/Makefile
  head/sys/conf/NOTES
  head/sys/conf/files
  head/sys/modules/Makefile
  head/usr.sbin/Makefile

Modified: head/ObsoleteFiles.inc
==============================================================================
--- head/ObsoleteFiles.inc	Tue May  1 16:29:22 2018	(r333143)
+++ head/ObsoleteFiles.inc	Tue May  1 16:30:48 2018	(r333144)
@@ -38,6 +38,13 @@
 #   xargs -n1 | sort | uniq -d;
 # done
 
+# 20180501: retire lmc
+OLD_FILES+=usr/include/dev/lmc/if_lmc.h
+OLD_DIRS+=usr/include/dev/lmc
+OLD_FILES+=usr/sbin/lmcconfig
+OLD_FILES+=usr/share/man/man4/lmc.4.gz
+OLD_FILES+=usr/share/man/man4/if_lmc.4.gz
+OLD_FILES+=usr/share/man/man8/lmcconfig.8.gz
 # 20180417: remove fuswintr and suswintr
 OLD_FILES+=usr/share/man/man9/fuswintr.9.gz
 OLD_FILES+=usr/share/man/man9/suswintr.9.gz

Modified: head/UPDATING
==============================================================================
--- head/UPDATING	Tue May  1 16:29:22 2018	(r333143)
+++ head/UPDATING	Tue May  1 16:30:48 2018	(r333144)
@@ -51,6 +51,12 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 12.x IS SLOW:
 
 ****************************** SPECIAL WARNING: ******************************
 
+20180501:
+	The lmc(4) driver has been removed.  This was a WAN interface
+	card that was already reportedly rare in 2003, and had an ambiguous
+	license.  If you have device lmc in your kernel config file it must
+	be removed.
+
 20180413:
 	Support for Arcnet networks has been removed.  If you have device
 	arcnet or device cm in your kernel config file they must be

Modified: head/include/Makefile
==============================================================================
--- head/include/Makefile	Tue May  1 16:29:22 2018	(r333143)
+++ head/include/Makefile	Tue May  1 16:30:48 2018	(r333144)
@@ -45,7 +45,7 @@ LDIRS=	bsm cam geom net net80211 netgraph netinet neti
 LSUBDIRS=	cam/ata cam/mmc cam/nvme cam/scsi \
 	dev/acpica dev/agp dev/an dev/bktr dev/ciss dev/filemon dev/firewire \
 	dev/hwpmc dev/hyperv \
-	dev/ic dev/iicbus dev/io dev/lmc dev/mfi dev/mmc dev/nvme \
+	dev/ic dev/iicbus dev/io dev/mfi dev/mmc dev/nvme \
 	dev/ofw dev/pbio dev/pci ${_dev_powermac_nvram} dev/ppbus dev/smbus \
 	dev/speaker dev/tcp_log dev/vkbd dev/wi \
 	fs/devfs fs/fdescfs fs/msdosfs fs/nandfs fs/nfs fs/nullfs \

Modified: head/lib/libsysdecode/Makefile
==============================================================================
--- head/lib/libsysdecode/Makefile	Tue May  1 16:29:22 2018	(r333143)
+++ head/lib/libsysdecode/Makefile	Tue May  1 16:30:48 2018	(r333144)
@@ -120,9 +120,6 @@ CFLAGS+=-DPF
 # Workaround duplicate declarations in <netinet/ip_compat.h>
 CFLAGS.gcc.ioctl.c+= -Wno-redundant-decls
 
-# Workaround warning for unused ssi_cables[] in <dev/lmc/if_lmc.h>
-CFLAGS.gcc.ioctl.c+= -Wno-unused
-
 CFLAGS.gcc+=	${CFLAGS.gcc.${.IMPSRC}}
 
 DEPENDOBJS+=	tables.h

Modified: head/share/man/man4/Makefile
==============================================================================
--- head/share/man/man4/Makefile	Tue May  1 16:29:22 2018	(r333143)
+++ head/share/man/man4/Makefile	Tue May  1 16:30:48 2018	(r333144)
@@ -266,7 +266,6 @@ MAN=	aac.4 \
 	${_linux.4} \
 	liquidio.4 \
 	lm75.4 \
-	lmc.4 \
 	lo.4 \
 	lp.4 \
 	lpbb.4 \
@@ -688,7 +687,6 @@ MLINKS+=lagg.4 trunk.4
 MLINKS+=lagg.4 if_lagg.4
 MLINKS+=le.4 if_le.4
 MLINKS+=lge.4 if_lge.4
-MLINKS+=lmc.4 if_lmc.4
 MLINKS+=lo.4 loop.4
 MLINKS+=lp.4 plip.4
 MLINKS+=malo.4 if_malo.4

Modified: head/sys/conf/NOTES
==============================================================================
--- head/sys/conf/NOTES	Tue May  1 16:29:22 2018	(r333143)
+++ head/sys/conf/NOTES	Tue May  1 16:30:48 2018	(r333144)
@@ -1982,7 +1982,6 @@ device		xmphy		# XaQti XMAC II
 #	Yukon II Gigabit controllers, including 88E8021, 88E8022, 88E8061,
 #	88E8062, 88E8035, 88E8036, 88E8038, 88E8050, 88E8052, 88E8053,
 #	88E8055, 88E8056 and D-Link 560T/550SX.
-# lmc:	Support for the LMC/SBE wide-area network interface cards.
 # mlx5:	Mellanox ConnectX-4 and ConnectX-4 LX IB and Eth shared code module.
 # mlx5en:Mellanox ConnectX-4 and ConnectX-4 LX PCIe Ethernet adapters.
 # my:	Myson Fast Ethernet (MTD80X, MTD89X)
@@ -2135,9 +2134,6 @@ device		ti		# Alteon Networks Tigon I/II gigabit Ether
 device		txp		# 3Com 3cR990 (``Typhoon'')
 device		vx		# 3Com 3c590, 3c595 (``Vortex'')
 device		vxge		# Exar/Neterion XFrame 3100 10GbE
-
-# PCI WAN adapters.
-device		lmc
 
 # PCI IEEE 802.11 Wireless NICs
 device		ath		# Atheros pci/cardbus NIC's

Modified: head/sys/conf/files
==============================================================================
--- head/sys/conf/files	Tue May  1 16:29:22 2018	(r333143)
+++ head/sys/conf/files	Tue May  1 16:30:48 2018	(r333144)
@@ -2373,7 +2373,6 @@ lio_23xx_nic.bin.fw	optional lio					\
 	compile-with	"${NORMAL_FW}"					\
 	no-obj no-implicit-rule						\
 	clean		"lio_23xx_nic.bin.fw"
-dev/lmc/if_lmc.c		optional lmc
 dev/malo/if_malo.c		optional malo
 dev/malo/if_malohal.c		optional malo
 dev/malo/if_malo_pci.c		optional malo pci

Modified: head/sys/modules/Makefile
==============================================================================
--- head/sys/modules/Makefile	Tue May  1 16:29:22 2018	(r333143)
+++ head/sys/modules/Makefile	Tue May  1 16:30:48 2018	(r333144)
@@ -226,7 +226,6 @@ SUBDIR=	\
 	${_linux64} \
 	linuxkpi \
 	${_lio} \
-	lmc \
 	lpt \
 	mac_biba \
 	mac_bsdextended \

Modified: head/usr.sbin/Makefile
==============================================================================
--- head/usr.sbin/Makefile	Tue May  1 16:29:22 2018	(r333143)
+++ head/usr.sbin/Makefile	Tue May  1 16:30:48 2018	(r333144)
@@ -162,7 +162,6 @@ SUBDIR.${MK_MAN_UTILS}+=	manctl
 SUBDIR.${MK_NAND}+=	nandsim
 SUBDIR.${MK_NAND}+=	nandtool
 SUBDIR.${MK_NETGRAPH}+=	flowctl
-SUBDIR.${MK_NETGRAPH}+=	lmcconfig
 SUBDIR.${MK_NETGRAPH}+=	ngctl
 SUBDIR.${MK_NETGRAPH}+=	nghook
 SUBDIR.${MK_NIS}+=	rpc.yppasswdd



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201805011630.w41GUmkN011298>