svn commit: r368397 - in head: share/man/man4 sys/dev/mn

Ed Maste emaste at FreeBSD.org
Sun Dec 6 21:34:05 UTC 2020


Author: emaste
Date: Sun Dec  6 21:34:04 2020
New Revision: 368397
URL: https://svnweb.freebsd.org/changeset/base/368397

Log:
  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.
  
  Approved by:	phk
  MFC after:	3 days
  Sponsored by:	The FreeBSD Foundation

Modified:
  head/share/man/man4/mn.4
  head/sys/dev/mn/if_mn.c

Modified: head/share/man/man4/mn.4
==============================================================================
--- head/share/man/man4/mn.4	Sun Dec  6 20:50:21 2020	(r368396)
+++ head/share/man/man4/mn.4	Sun Dec  6 21:34:04 2020	(r368397)
@@ -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: head/sys/dev/mn/if_mn.c
==============================================================================
--- head/sys/dev/mn/if_mn.c	Sun Dec  6 20:50:21 2020	(r368396)
+++ head/sys/dev/mn/if_mn.c	Sun Dec  6 21:34:04 2020	(r368397)
@@ -1392,6 +1392,7 @@ mn_attach (device_t self)
 	default:
 		printf(" Rev 0x%x\n", sc->f54r->vstr);
 	}
+	gone_in_dev(dev, 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-head mailing list