From nobody Sat Feb 04 16:20:19 2023 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4P8Hmz48szz3nZ6r; Sat, 4 Feb 2023 16:20:19 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4P8Hmz3FF2z4461; Sat, 4 Feb 2023 16:20:19 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1675527619; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=OVvuG96Qm/QmeEEOaWTWwvn2Urgic0fgWKSCeagmR3w=; b=RY5AN5FKGOKiWNuRBuwTu+MGDIBPG/XACHnHpG9RzJoGvh8CIiocKDcVSVOzue5K32eLZ9 VaDp+QGlFTePQ+BQvh4dbi4SBzL8lRgfJf9CENAhahCc+DcGEF1vR1CwnstVtrJL+0wpZ4 OL9PMm9O6ZsCLpP62OKcETa4XYPN5np2bacZ2ncb0mfxi0oKqF9gXrYhGWiQCvJv1z5Pgb UDr3KTeGEiM+2sPLW2baYJfykOzs0MlaYXdRtbQTtmsPvdnYBDe3Y0swEHvvpDL5oL64RV 7oHVJHZEjDpd2OYHXulvBU3v10QkuDXbgrruleUrgD+6f1tLgFcVYTpWepzbbA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1675527619; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=OVvuG96Qm/QmeEEOaWTWwvn2Urgic0fgWKSCeagmR3w=; b=jw2DtRcxHbkUG/b/g60RqCOU1N7SF0OWf/hAZ34bH9WIYBuTTxDXS+OcTqZseIjP9/hAoI m7Ghh8b41XsL3Z9l4oxj69pXQ+fypjRvuOdrPLMXbUEJzUSPdfDVNpkLVlHGjCy7ua8oZM x6nV+7DKBWN0x584+64VHqvnbOgEWYIIsQz17tP8g0RhSkGi5J3gLrBXOR83oarxSAnG92 JGu0tnTs62JwljaLd/Y8fgvTOwk8uzwHq2NmZl9i14sGPG2qy84NHgr83RZV+a04swvoNb hxLLTY4lQdDlRQtza5DvlFHNLowK+1i0LYFBONfjfD1kc/bhDX8TAjL51g9oPw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1675527619; a=rsa-sha256; cv=none; b=cCiB64gTeiTWzSfrH8Ve9V8cEHlmBYHjZgrRij/wmQrWu3H3cYmklmRPBpcrUuG6j5kY0L ZCFPU3hLL2n+h5ImijMHOAp+eVsi5axObbz5ZeH08QugeXtCQu8+NZFxWhcrNvRO2DI0Ki QeySAU3P8qAItMudU75+GW7quCEOR9WzaEPuZHvJWWmjAZFpUiXj/CMowwJckArhDa69AH wvzG0EGmeN5zlGTp2XufHHsDy0t0NdPwilMeAx4TinHgk4EyEi6Rt1Jq5hCnJJlkhKU4Y+ xslFwSGJ4H4VmzkGfUCetmUqfCc/1rUpFf06OYVleIlBq1m4cfEGNGmuoEwuyQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4P8Hmz1vVdzLJw; Sat, 4 Feb 2023 16:20:19 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 314GKJk1013439; Sat, 4 Feb 2023 16:20:19 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 314GKJPn013438; Sat, 4 Feb 2023 16:20:19 GMT (envelope-from git) Date: Sat, 4 Feb 2023 16:20:19 GMT Message-Id: <202302041620.314GKJPn013438@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Warner Losh Subject: git: ecfb9e4e126f - main - qlxgb: purge EOL release compatibility List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: imp X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: ecfb9e4e126f85d46299438538469a650518b87f Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=ecfb9e4e126f85d46299438538469a650518b87f commit ecfb9e4e126f85d46299438538469a650518b87f Author: Elliott Mitchell AuthorDate: 2022-06-23 00:53:47 +0000 Commit: Warner Losh CommitDate: 2023-02-04 16:13:08 +0000 qlxgb: purge EOL release compatibility Remove code for FreeBSD 7, 8 & 9 and a warning that older versions weren't supported. Reviewed by: imp Pull Request: https://github.com/freebsd/freebsd-src/pull/603 Differential Revision: https://reviews.freebsd.org/D35560 --- sys/dev/qlxgb/qla_os.c | 5 ----- sys/dev/qlxgb/qla_os.h | 4 ---- 2 files changed, 9 deletions(-) diff --git a/sys/dev/qlxgb/qla_os.c b/sys/dev/qlxgb/qla_os.c index ca5b2ec44a3a..f0c5ee6269bb 100644 --- a/sys/dev/qlxgb/qla_os.c +++ b/sys/dev/qlxgb/qla_os.c @@ -688,11 +688,6 @@ qla_init_ifnet(device_t dev, qla_host_t *ha) ifp->if_capabilities |= IFCAP_VLAN_HWTAGGING | IFCAP_VLAN_MTU; ifp->if_capabilities |= IFCAP_LINKSTATE; -#if defined(__FreeBSD_version) && (__FreeBSD_version < 900002) - ifp->if_timer = 0; - ifp->if_watchdog = NULL; -#endif /* #if defined(__FreeBSD_version) && (__FreeBSD_version < 900002) */ - ifp->if_capenable = ifp->if_capabilities; ifp->if_hdrlen = sizeof(struct ether_vlan_header); diff --git a/sys/dev/qlxgb/qla_os.h b/sys/dev/qlxgb/qla_os.h index fddae501b8b3..43360f108649 100644 --- a/sys/dev/qlxgb/qla_os.h +++ b/sys/dev/qlxgb/qla_os.h @@ -51,10 +51,6 @@ #include #include -#if __FreeBSD_version < 700112 -#error FreeBSD Version not supported - use version >= 700112 -#endif - #include #include #include