Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Feb 2020 21:50:08 +0000 (UTC)
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r358474 - in head: share/man/man4 sys/dev/bktr
Message-ID:  <202002292150.01TLo8aN061354@repo.freebsd.org>

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



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