From nobody Thu Jun 23 21:33:54 2022 X-Original-To: dev-commits-ports-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 CD6FC87AE3F; Thu, 23 Jun 2022 21:33:54 +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 4LTYR64mx0z4m13; Thu, 23 Jun 2022 21:33:54 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1656020034; 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=g+K6MUdVBuf9KUDjNgXznxRwL+A7WI1vjLymQaA1XtA=; b=p0Qs5EFfZUiK56ZpVKT7J5ytzbxvsELPJaH974A/L7CrvEz2T+ux9WK0nYmri5UQ9LwAN9 ilRjoKBM/RBIpULRGfe4iEhW6Yrj6DKBPkeVnnTrkU6vH9OVuZr+O0X3ZAZh1z6Cn7+uDD hGV6+iOKm1PpZrKmpuAxCotovuCsNBan4UDTxbDOBG071V9IW58ZtdBdmHp9xhSR7o2viV wKLm/xLK9441BS70lc5msTCP+11wd1tKFLj6+0m6kLqjj3UsCP2sprxi5b3DOc10tVVcTk J+FNgqialw3aWP/ynBXlSisx7SRl6Tx21E5GR8JSrxVrn2PTzSorc02un/Gy6A== 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 7B50C22BF8; Thu, 23 Jun 2022 21:33:54 +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 25NLXsSU086635; Thu, 23 Jun 2022 21:33:54 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 25NLXs9c086634; Thu, 23 Jun 2022 21:33:54 GMT (envelope-from git) Date: Thu, 23 Jun 2022 21:33:54 GMT Message-Id: <202206232133.25NLXs9c086634@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: John Baldwin Subject: git: 2f4109e4b203 - main - net/intel-ixl-kmod: Remove unused DRIVER_MODULE devclass on recent main. List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jhb X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 2f4109e4b203207c869d9047b4a0e98eb97ab49c Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1656020034; 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=g+K6MUdVBuf9KUDjNgXznxRwL+A7WI1vjLymQaA1XtA=; b=jX2yoFdSTyGgmBqSSYKYdc1TqSnoM6zhGRrpD37zys4nReYhVUlWdodLs4esNFjKuGGFhA zVGRvlmBEK+Qs0IBBqNQenvj+8eEkmu/YaqYiG5Ib/3EVi4fELfTyRxH0okp/RBHML0nzp ir3faFSqX4oqEpxiCuucteu1rCi4P3UO8Dj/JDsjIEcIOCsdWnIOGPBm/NEa4SLgsgepZH +I8yhmP2NSSw8VCwlmv9bUub8Cj7l/7o8y5onR7XNT7HlvXA8akOSWFebNAudYIHUjYOXB BedXF6LIDCBOJnO4dCcQ8+PQwsAtD3R9s1jYkBN8qZNmoAUbSgzsOlSgTbrrpg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1656020034; a=rsa-sha256; cv=none; b=fTG/wUMEDbzcBIn0xD6b+TwjNk2raZ/WDrXdB6IAEfAYEziNkEYdbXnjROfAqdYBlPiDrL IcYUVUb6/Sz2dGg43EviWl4hL1o04DILoHkoQ59ECWpAn/qfs3Dv+rk9rh5F0+LBPd1Byf JJfLHKcM5hcQVmHqkHP3dMkQtenKJdXHwyP4SpNZDvoKk0/JzMq2i9ZrFtph+sFb6/XuLa ywplVPWSIX7mGryr2OwbLnxdf6eN7TlVDzR7BMUNf0/amT7S3wjvrYIBU1z0N+zIM1foZk dk8eQHwVpRWbmntkQ2lf1mEr26ZNrfTEU2wr6mtTlDRRwhnatlKmi5V2MtCnoQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by jhb (doc, src committer): URL: https://cgit.FreeBSD.org/ports/commit/?id=2f4109e4b203207c869d9047b4a0e98eb97ab49c commit 2f4109e4b203207c869d9047b4a0e98eb97ab49c Author: John Baldwin AuthorDate: 2022-06-23 21:32:14 +0000 Commit: John Baldwin CommitDate: 2022-06-23 21:32:14 +0000 net/intel-ixl-kmod: Remove unused DRIVER_MODULE devclass on recent main. Reviewed by: imp Differential Revision: https://reviews.freebsd.org/D35202 --- net/intel-ixl-kmod/files/patch-if__ixl.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/net/intel-ixl-kmod/files/patch-if__ixl.c b/net/intel-ixl-kmod/files/patch-if__ixl.c new file mode 100644 index 000000000000..90647e799d60 --- /dev/null +++ b/net/intel-ixl-kmod/files/patch-if__ixl.c @@ -0,0 +1,15 @@ +--- if_ixl.c.orig 2022-05-13 22:17:15 UTC ++++ if_ixl.c +@@ -142,8 +142,12 @@ static driver_t ixl_driver = { + "ixl", ixl_methods, sizeof(struct ixl_pf), + }; + ++#if __FreeBSD_version >= 1400058 ++DRIVER_MODULE(ixl, pci, ixl_driver, 0, 0); ++#else + devclass_t ixl_devclass; + DRIVER_MODULE(ixl, pci, ixl_driver, ixl_devclass, 0, 0); ++#endif + + MODULE_VERSION(ixl, 2); +