Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Dec 2020 00:28:27 +0000 (UTC)
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org
Subject:   svn commit: r368469 - in stable/12: share/man/man4 sys/dev/mn
Message-ID:  <202012090028.0B90SRxB035528@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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");



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