svn commit: r358474 - in head: share/man/man4 sys/dev/bktr

Warner Losh imp at FreeBSD.org
Sat Feb 29 21:50:10 UTC 2020


Author: imp
Date: Sat Feb 29 21:50:08 2020
New Revision: 358474
URL: https://svnweb.freebsd.org/changeset/base/358474

Log:
  add deprecation notice for bktr driver.
  
  We plan to remove bktr(4) in FreeBSD 13. Document that here.
  
  Relnotes: yes

Modified:
  head/share/man/man4/bktr.4
  head/sys/dev/bktr/bktr_os.c

Modified: head/share/man/man4/bktr.4
==============================================================================
--- head/share/man/man4/bktr.4	Sat Feb 29 21:42:34 2020	(r358473)
+++ head/share/man/man4/bktr.4	Sat Feb 29 21:50:08 2020	(r358474)
@@ -1,7 +1,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd January 18, 2006
+.Dd February 25, 2020
 .Dt BKTR 4
 .Os
 .Sh NAME
@@ -13,6 +13,12 @@
 .Cd device iicbus
 .Cd device iicbb
 .Cd device smbus
+.Sh DEPRECATION NOTICE
+The
+.Nm
+driver is not present in
+.Fx 13.0
+and later.
 .Sh DESCRIPTION
 The
 .Nm bktr

Modified: head/sys/dev/bktr/bktr_os.c
==============================================================================
--- head/sys/dev/bktr/bktr_os.c	Sat Feb 29 21:42:34 2020	(r358473)
+++ head/sys/dev/bktr/bktr_os.c	Sat Feb 29 21:50:08 2020	(r358474)
@@ -464,6 +464,7 @@ bktr_attach( device_t dev )
 	}
 #endif
 
+	gone_in_dev(dev, 13, "bktr driver removed in FreeBSD 13.0\n");
 	return 0;
 
 fail:


More information about the svn-src-all mailing list