From 745a26b02a57030abc292d8f551c0d918fd7b30c Mon Sep 17 00:00:00 2001 From: Sean Bruno Date: Tue, 1 May 2018 12:58:01 +0000 Subject: [PATCH] ixgb(4): Add deprecation notice for this old and busted 10GE adapter. This is a prequisite before we remove the driver from -current. Reviewed by: emaste kbowling imp Relnotes: yes Differential Revision: https://reviews.freebsd.org/D15244 --- share/man/man4/ixgb.4 | 8 +++++++- sys/dev/ixgb/if_ixgb.c | 1 + 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/share/man/man4/ixgb.4 b/share/man/man4/ixgb.4 index b1e9af34698f..2596f2644ff1 100644 --- a/share/man/man4/ixgb.4 +++ b/share/man/man4/ixgb.4 @@ -31,7 +31,7 @@ .\" .\" $FreeBSD$ .\" -.Dd August 18, 2006 +.Dd April 30, 2018 .Dt IXGB 4 .Os .Sh NAME @@ -51,6 +51,12 @@ module at boot time, place the following line in .Bd -literal -offset indent if_ixgb_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/ixgb/if_ixgb.c b/sys/dev/ixgb/if_ixgb.c index 9e9ff89bd7bc..036e468af502 100644 --- a/sys/dev/ixgb/if_ixgb.c +++ b/sys/dev/ixgb/if_ixgb.c @@ -350,6 +350,7 @@ ixgb_attach(device_t dev) ixgb_clear_hw_cntrs(&adapter->hw); ixgb_update_stats_counters(adapter); + gone_in_dev(dev, 12, "ixgb(4) driver"); INIT_DEBUGOUT("ixgb_attach: end"); return (0);