svn commit: r360064 - in head: share/man/man4 sys/dev/amr

Warner Losh imp at FreeBSD.org
Sat Apr 18 02:53:21 UTC 2020


Author: imp
Date: Sat Apr 18 02:53:19 2020
New Revision: 360064
URL: https://svnweb.freebsd.org/changeset/base/360064

Log:
  Add deprecation notice to amr(4)

Modified:
  head/share/man/man4/amr.4
  head/sys/dev/amr/amr_pci.c

Modified: head/share/man/man4/amr.4
==============================================================================
--- head/share/man/man4/amr.4	Sat Apr 18 02:53:14 2020	(r360063)
+++ head/share/man/man4/amr.4	Sat Apr 18 02:53:19 2020	(r360064)
@@ -45,6 +45,11 @@ module at boot time, place the following line in
 .Bd -literal -offset indent
 amr_load="YES"
 .Ed
+.Sh DEPRECATION NOTICE
+The
+.Nm
+driver is not present in
+.Fx 13.0 .
 .Sh DESCRIPTION
 The
 .Nm

Modified: head/sys/dev/amr/amr_pci.c
==============================================================================
--- head/sys/dev/amr/amr_pci.c	Sat Apr 18 02:53:14 2020	(r360063)
+++ head/sys/dev/amr/amr_pci.c	Sat Apr 18 02:53:19 2020	(r360064)
@@ -341,6 +341,8 @@ amr_pci_attach(device_t dev)
 out:
     if (error)
 	amr_pci_free(sc);
+    else
+	gone_in_dev(dev, 13, "amr(4) driver");
     return(error);
 }
 


More information about the svn-src-head mailing list