git: 67835f14aa68 - stable/13 - le(4): deprecate and mark for removal before 15.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 20 Jul 2023 20:44:57 UTC
The branch stable/13 has been updated by brooks: URL: https://cgit.FreeBSD.org/src/commit/?id=67835f14aa6839b3bc321ecbbfa2e74e389b2879 commit 67835f14aa6839b3bc321ecbbfa2e74e389b2879 Author: Brooks Davis <brooks@FreeBSD.org> AuthorDate: 2023-06-21 23:50:12 +0000 Commit: Brooks Davis <brooks@FreeBSD.org> CommitDate: 2023-07-20 20:41:24 +0000 le(4): deprecate and mark for removal before 15.0 We kept le(4) in the pre-12.0 purge because it was needed for Qemu/MIPS (virtio networking didn't work) but the MIPS port has been removed. Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D40683 (cherry picked from commit b95d2237af403049d48c23229aa8bace3594970e) --- share/man/man4/le.4 | 8 +++++++- sys/dev/le/lance.c | 2 ++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/share/man/man4/le.4 b/share/man/man4/le.4 index 2c7f9cc3e55e..58a6826bb03f 100644 --- a/share/man/man4/le.4 +++ b/share/man/man4/le.4 @@ -36,7 +36,7 @@ .\" from: @(#)le.4 8.1 (Berkeley) 6/9/93 .\" $FreeBSD$ .\" -.Dd December 26, 2020 +.Dd June 21, 2023 .Dt LE 4 .Os .Sh NAME @@ -64,6 +64,12 @@ numbers have to be specified in .Cd hint.le.0.port="0x280" .Cd hint.le.0.irq="10" .Cd hint.le.0.drq="0" +.Sh DEPRECATION NOTICE +The +.Nm +driver may not be present in +.Fx 15.0 +and later. .Sh DESCRIPTION The .Nm diff --git a/sys/dev/le/lance.c b/sys/dev/le/lance.c index e4ff97b824e2..18786dd919a0 100644 --- a/sys/dev/le/lance.c +++ b/sys/dev/le/lance.c @@ -202,6 +202,8 @@ lance_attach(struct lance_softc *sc) ifp->if_hdrlen = sizeof(struct ether_vlan_header); ifp->if_capabilities |= IFCAP_VLAN_MTU; ifp->if_capenable |= IFCAP_VLAN_MTU; + + gone_in(15, "le: 10/100 NIC no longer needed for Qemu/MIPS"); } void