From 1115e383f814ec5890ff27110bf5ea15ca565fe6 Mon Sep 17 00:00:00 2001 From: sbruno Date: Thu, 17 May 2018 16:32:38 +0000 Subject: [PATCH] MFC r333499 Add deprecation notice for vxge. This driver was merged to HEAD one week prior to Exar publicly announcing theyhad left the Ethernet market. It is not known to be used and has various code quality issues spotted by Brooks and Hiren. Retire it in preparation for FreeBSD 12.0. Submitted by: kbowling Reported by: rgrimes Approved by: re (gjb) Relnotes: yes --- share/man/man4/vxge.4 | 6 ++++++ sys/dev/vxge/vxge.c | 1 + 2 files changed, 7 insertions(+) diff --git a/share/man/man4/vxge.4 b/share/man/man4/vxge.4 index b21c3501f80..f875fc8a1e1 100644 --- a/share/man/man4/vxge.4 +++ b/share/man/man4/vxge.4 @@ -44,6 +44,12 @@ module at boot time, place the following line in .Bd -literal -offset indent if_vxge_load="YES" .Ed +.Sh DEPRECATION NOTICE +The +.Nm +driver is not present in +.Fx 12.0 +and later. .Sh DESCRIPTION The .Nm diff --git a/sys/dev/vxge/vxge.c b/sys/dev/vxge/vxge.c index b098460b1c9..b4fca5ad642 100644 --- a/sys/dev/vxge/vxge.c +++ b/sys/dev/vxge/vxge.c @@ -234,6 +234,7 @@ vxge_attach(device_t ndev) err = ENXIO; } + gone_in_dev(ndev, 12, "vxge(4) driver"); return (err); } -- 2.45.0