From nobody Sat Feb 04 16:20:15 2023 X-Original-To: dev-commits-src-all@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 4P8Hmw0nqhz3nZL9; Sat, 4 Feb 2023 16:20:16 +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 4P8Hmw0Ll6z43jh; Sat, 4 Feb 2023 16:20:16 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1675527616; 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=oNSLwW0UKbr19JtIeeeSV3d4/6U8CO+fCRy11mLvhRE=; b=TIXVG+mwvZGrzoU+N2ZG4GFZJvn0G0Ok625ifogzVEmHYPDSs+FQ0ITf3DZ/cOcvhu8kVB FAa3ofafriAJruy59adJzuNgeZENuPiZyUtUxRzd6Q4T/+uoLbLYeeRem15rI63CY2QhoC 8wkc0dhh2qH3V5AjGyVH+JjCswLBsYLfcAvIjhclq/0nNUaCCPrtRTPrfIaabZEE9zwwVO awub0zodzfI+Q0bJ/poBVjzYUWLzCw3pkEaIBhcYYyQ2FFOM8jt4VLybx3OOUdsHeAnMnc vFW4V/E0AMh69H7G/UrZXXECXbgS2Sb+3I0yLwtl5SMfdZU8Vdn1ALXbJKBbzA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1675527616; 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=oNSLwW0UKbr19JtIeeeSV3d4/6U8CO+fCRy11mLvhRE=; b=TRC2wZ+XkoWbeR8oCKxG+M8B9t5jn4GNOy5ROUOY/5CgE6F1uhR04wlHF0R+En+6p/r/Vm LEfeQU4bEPx3GHu05PQ5xf7V2A0qEl7H3D7a6jdzdXSXTpNTEpie/d1oZ+IueYZ87b1Q3x 5JBMD7MnXbHAIRoJz+2HFm1cnuUzaCpoFdIYyFvCvnV4bLLA0YFZ3TtBqHS7qkp9HzR5WJ c/QUBsko0oz/ixJqf6qZdHhFyPLi+tg9BWnqOQav82qX/dd+cce+Nj8oAkRIaPhPs6qyxu SMq8escfjOE/bc57KFfM7pNt/H0PvCmlmN/IvjaZKcE7ocGMxR6C/qIdcEyVCQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1675527616; a=rsa-sha256; cv=none; b=kVA7hTfW3703gkbxdEdXpj172KygDWHVZ0ns6oEPEopCEbLoX8b93V6dQYl3F0GP0JkVPt ePpRTsg4iG3zzTbqpLITrP/AkNoG36qlxyecELAD8AzHsH/naqm7w19GXU3k0mWZA5lkzT J6zlgpessrIjcNmg96bUjYdBNdd1bEWeKVDhHyVhtlaqPTHOXPrX5lZU3g00kCO5DzU2uU HiR0kez0sGgM5/NgkOW3AlE24TJJwccFK78GWgQd53dnbH7ZncpVTRWV7swjDCEvVEbCvX m5U2/B+1xKxzpZqkvR3dwJN4cM3p13B0u3u5h0piF+zJbS6gV/8CEhylhn2Hvw== 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 4P8Hmv6ZNnzLJv; Sat, 4 Feb 2023 16:20:15 +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 314GKFRp012529; Sat, 4 Feb 2023 16:20:15 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 314GKFa3012523; Sat, 4 Feb 2023 16:20:15 GMT (envelope-from git) Date: Sat, 4 Feb 2023 16:20:15 GMT Message-Id: <202302041620.314GKFa3012523@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: 757cb555ae66 - main - e1000: purge EOL release compatibility List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@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: 757cb555ae661ac9a66e94dc37bc5cd008850aff Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=757cb555ae661ac9a66e94dc37bc5cd008850aff commit 757cb555ae661ac9a66e94dc37bc5cd008850aff Author: Elliott Mitchell AuthorDate: 2022-06-23 00:53:47 +0000 Commit: Warner Losh CommitDate: 2023-02-04 16:11:03 +0000 e1000: purge EOL release compatibility Remove support for releases before FreeBSD 8. Reviewed by: imp Pull Request: https://github.com/freebsd/freebsd-src/pull/603 Differential Revision: https://reviews.freebsd.org/D35560 --- sys/dev/e1000/e1000_osdep.h | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/sys/dev/e1000/e1000_osdep.h b/sys/dev/e1000/e1000_osdep.h index 5e19ebb0aeee..82a8a6514ce3 100644 --- a/sys/dev/e1000/e1000_osdep.h +++ b/sys/dev/e1000/e1000_osdep.h @@ -131,18 +131,6 @@ typedef int8_t s8; #define __le32 u32 #define __le64 u64 -#if __FreeBSD_version < 800000 -#if defined(__i386__) || defined(__amd64__) -#define mb() __asm volatile("mfence" ::: "memory") -#define wmb() __asm volatile("sfence" ::: "memory") -#define rmb() __asm volatile("lfence" ::: "memory") -#else -#define mb() -#define rmb() -#define wmb() -#endif -#endif /*__FreeBSD_version < 800000 */ - #ifdef INVARIANTS #define ASSERT_CTX_LOCK_HELD(hw) (sx_assert(iflib_ctx_lock_get(((struct e1000_osdep *)hw->back)->ctx), SX_XLOCKED)) #else