From nobody Mon Jun 26 12:08:48 2023 X-Original-To: dev-commits-src-branches@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 4QqRTF31Lxz4k6r9; Mon, 26 Jun 2023 12:08:49 +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 4QqRTF1p8pz3jSJ; Mon, 26 Jun 2023 12:08:49 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687781329; 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=CVouI6fmXT3G6+lYQpGybjSvpZ1ckAoI/53ifnzxWvs=; b=i49/+8et+4gCakyq4uUNZm6VLJQ4ZxOLDhH2iu2S8Zplg5jHs9JGt8LPxLu53Dtgerxa58 Hh0dqtbYV+4FmtIpjKJBVABP9+hnTU/8edBKg4QhTzbRHXyHhInko8ppYYD660dqzKd2P4 e3xVGOapfPIqcQDPuwbJhGKHuL1wEUdyYfUL+Gnn47tigYGVNaVrCtxviGtDOHviw2bq6u me0MyBkInTuq3h0nUyaZMYvutWQLW8UxHqmbR1jMQ7V9Qc+bgDZMWnK/tUVEs6B0aBjFxH rrIvvSv4fRLKNYTwg9CJHAHeT5oxzMJxkGWZcgRKOvDkQvW6/7d4+TWB4U0xJg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687781329; 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=CVouI6fmXT3G6+lYQpGybjSvpZ1ckAoI/53ifnzxWvs=; b=BbhWCHAJy+jVhtLgEyGd7F2WuenBzJrxSg4DV7dB5kWzGMbHHvexbq0mVzyf0vVn3COlOH 6vstlFJKSVI5UxgCw6Kc/92pyqO1KhDPZJQMKqMpMBM2Eb/jWAt334sD6if6+WPeRgDQc6 cUIUTouz5gMgxaJpOas/gnIX+JaMacjjJjrfM1cNnFWMpBA/StgF/rH63FFR4/eK81Ug7W 7SR+uoSUPkalssAPRauX1WDuxOISgiP6QD/ThAjjoidgH8SAwiPez1SdLfhlGmSsPcch7T RyrYmIB2TY94pL7HgbXhcHNhYPFBIxQinLpzhO4fXG+RP0BpLI2Au4hgbWweXw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1687781329; a=rsa-sha256; cv=none; b=KdIOsVL1mF3pM9vokbjFTqBnZb6vZiukk09yTcGRumaegFm24XCu/u5rczwI8tCRcGme9f FBQh2MPgS8Oea1tct+V7ch6/t8irp/AAXThmuOP8aNXa3TyZBP4V4EXoyhLQqxczwWYDXe pDFOB0/rtn4DCNRXKrf1R3vi3E5iI6CJHhAOXj0blsMdHpLMGtUo9n9kQMEOpgkrlgLieV jmNfIgG6ZFmhQuRRdU8QAmHLQYXnvYD14J9hlHpHuetpTTB0FkJkKHVSIr5FRvjMOpHuLM wMZRlYwPo1zVz0C5aPzN3qpKUtVxwsS5jK1k5rG9/oA6Fq8txmZ/U0w/VOAtuA== 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 4QqRTF0csZz18Cl; Mon, 26 Jun 2023 12:08:49 +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 35QC8m9U083326; Mon, 26 Jun 2023 12:08:48 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 35QC8mZK083325; Mon, 26 Jun 2023 12:08:48 GMT (envelope-from git) Date: Mon, 26 Jun 2023 12:08:48 GMT Message-Id: <202306261208.35QC8mZK083325@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: "Bjoern A. Zeeb" Subject: git: 41ca81606eb5 - stable/13 - LinuxKPI: netdevice: add dev_set_threaded() List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-branches@freebsd.org X-BeenThere: dev-commits-src-branches@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: bz X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 41ca81606eb512990f377c9156e9b5c650c29f3d Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by bz: URL: https://cgit.FreeBSD.org/src/commit/?id=41ca81606eb512990f377c9156e9b5c650c29f3d commit 41ca81606eb512990f377c9156e9b5c650c29f3d Author: Bjoern A. Zeeb AuthorDate: 2023-05-20 00:51:01 +0000 Commit: Bjoern A. Zeeb CommitDate: 2023-06-26 09:17:39 +0000 LinuxKPI: netdevice: add dev_set_threaded() Add dev_set_threaded() to the dummy functions of netdevice.h in order to keep an upcoming wireless driver compiling. While here also update the name of a function argument for consistency. (cherry picked from commit 6153bef9ec961786d79c52e51c6908324661e26e) --- sys/compat/linuxkpi/common/include/linux/netdevice.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/sys/compat/linuxkpi/common/include/linux/netdevice.h b/sys/compat/linuxkpi/common/include/linux/netdevice.h index 8653b5df68bd..64441999538f 100644 --- a/sys/compat/linuxkpi/common/include/linux/netdevice.h +++ b/sys/compat/linuxkpi/common/include/linux/netdevice.h @@ -342,12 +342,20 @@ ether_setup(struct net_device *ndev) } static __inline void -dev_net_set(struct net_device *dev, void *p) +dev_net_set(struct net_device *ndev, void *p) { pr_debug("%s: TODO\n", __func__); } +static __inline int +dev_set_threaded(struct net_device *ndev, bool threaded) +{ + + pr_debug("%s: TODO\n", __func__); + return (-ENODEV); +} + /* -------------------------------------------------------------------------- */ static __inline bool