svn commit: r368469 - in stable/12: share/man/man4 sys/dev/mn

Ed Maste emaste at FreeBSD.org
Wed Dec 9 00:28:28 UTC 2020


Author: emaste
Date: Wed Dec  9 00:28:27 2020
New Revision: 368469
URL: https://svnweb.freebsd.org/changeset/base/368469

Log:
  MFC r368397: Add deprecation notice to mn(4)
  
  Sync serial (T1/E1) interfaces are largely irrelevant today and phk
  confirms this driver is unnecessary in review D23928.
  
  This leaves ce(4) and cp(4) in the tree.  They're likely not relevant
  either, but glebius contacted the manufacturer and those devices are
  still available for purchase.  At glebius' suggestion leave them in
  the tree as long as they do not impose a maintenace burden.
  
  [Build fix from hps included in MFC]
  
  Sponsored by:	The FreeBSD Foundation

Modified:
  stable/12/share/man/man4/mn.4
  stable/12/sys/dev/mn/if_mn.c
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/share/man/man4/mn.4
==============================================================================
--- stable/12/share/man/man4/mn.4	Tue Dec  8 23:54:09 2020	(r368468)
+++ stable/12/share/man/man4/mn.4	Wed Dec  9 00:28:27 2020	(r368469)
@@ -24,7 +24,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd May 10, 2005
+.Dd December 6, 2020
 .Dt MN 4
 .Os
 .Sh NAME
@@ -33,6 +33,12 @@
 .Sh SYNOPSIS
 .Cd "device mn"
 .Cd "options NETGRAPH"
+.Sh DEPRECATION NOTICE
+The
+.Nm
+driver is not present in
+.Fx 13.0
+and later.
 .Sh HARDWARE
 The
 .Nm

Modified: stable/12/sys/dev/mn/if_mn.c
==============================================================================
--- stable/12/sys/dev/mn/if_mn.c	Tue Dec  8 23:54:09 2020	(r368468)
+++ stable/12/sys/dev/mn/if_mn.c	Wed Dec  9 00:28:27 2020	(r368469)
@@ -1395,6 +1395,7 @@ mn_attach (device_t self)
 	default:
 		printf(" Rev 0x%x\n", sc->f54r->vstr);
 	}
+	gone_in_dev(self, 13, "sync serial (T1/E1) driver");
 
 	if (ng_make_node_common(&mntypestruct, &sc->node) != 0) {
 		printf("ng_make_node_common failed\n");


More information about the svn-src-stable mailing list