git: b95d2237af40 - main - le(4): deprecate and mark for removal before 15.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 21 Jun 2023 23:52:58 UTC
The branch main has been updated by brooks: URL: https://cgit.FreeBSD.org/src/commit/?id=b95d2237af403049d48c23229aa8bace3594970e commit b95d2237af403049d48c23229aa8bace3594970e Author: Brooks Davis <brooks@FreeBSD.org> AuthorDate: 2023-06-21 23:50:12 +0000 Commit: Brooks Davis <brooks@FreeBSD.org> CommitDate: 2023-06-21 23:52:12 +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 MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D40683 --- 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 c10ebb074e65..9b8a39086371 100644 --- a/sys/dev/le/lance.c +++ b/sys/dev/le/lance.c @@ -199,6 +199,8 @@ lance_attach(struct lance_softc *sc) if_setifheaderlen(ifp, sizeof(struct ether_vlan_header)); if_setcapabilitiesbit(ifp, IFCAP_VLAN_MTU, 0); if_setcapenablebit(ifp, IFCAP_VLAN_MTU, 0); + + gone_in(15, "le: 10/100 NIC no longer needed for Qemu/MIPS"); } void