From nobody Tue Oct 21 07:53:17 2025 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 4crPg15ks8z6F3hc; Tue, 21 Oct 2025 07:53:17 +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 "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4crPg141ywz3mSL; Tue, 21 Oct 2025 07:53:17 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1761033197; 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=DM3BrCPurkMNMUwG9Jmt4tzpZD/Hd6r7L8E3+2xig0A=; b=a8qO6hbx6MbGCt/svxl/HubJHFQixNtvBBRvNzhQwCUosn5w8nIVD3BqLqVoAVOw4j+rup 3hGd6oKMjMU6l91C05Ngn8how8Zu8dn71xP/7V6azEDr8T3qEh6+CTVl0Dn7PQz6VDSLZg jzvwW7N9FdL4ZyJForDSW8T66Rtl0LP+GBQiIRuNpF862Q/vKXg6Dcg9A2LpzoEiKkgnYE 8dZIjpI9DurUpc+L1B1xsSCNDrjeqB1P+XiRWc2kUOj505K8wEQBVIL51lTvXLwVE6T8Pf BLceehfjSOwtvkzrteKG7BdBNrsT9cviH7gYxevuZcHID1YsvIG7rqplI/fikw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1761033197; 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=DM3BrCPurkMNMUwG9Jmt4tzpZD/Hd6r7L8E3+2xig0A=; b=LA+AbAOqfVDeOJREHETgPXdq4bcMI2XaUavNr659b6wRUInGutMGiKlnwgy83YElefM1Jt jX1H6K7U9axj+PUUFg9aRdnX2B0g9jl6A9G4JtNV/UUoN+j8rjvdyV92M6zi3xJDuv1KtK x7BqTnxiySQzXwQCr6APB7ZwAxIWCjeOXPtycEwSsF9YUvBasDsczuRDeDoJssUcBj/hR4 xiV9z2pMpoPrDQa1wo+sGlPVjsRM65EUeAydpY884Vtr3Z6NW92KFmqABi7BPj6MiZoG46 Gx5ubJIuS6CXS3IEnQPysJreg9sfcEITBRbCX0j9hQSkcGCmm0S6hGxD33W0NA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1761033197; a=rsa-sha256; cv=none; b=JNoEn5N+TmYNi6o36DuCatdZe4yVsPR4FXVbUpW4KJ1G7o9RZMwYrvmBSmB+p82auYUamS QmAaW1lgi3MsNeaX/M4/W98VZx+14lBSiDwKL5MWWJNTgtRkuWtnH5Xw6pOCkj40anuGOo XfB0BZYGby4Fr44hvc7/kMW9t354MxN8YieSn30K1jsa1pJTRN91pQ7f9H5FmtP61hrGTm sl+XukXtDd5COdtxrX2+PJLqO7nFJUUI2YchWsPt0s9HgAUhMQaN4RT5Yp2/sv7+iufdxo cA/BJcMCtYKRD2Qws/RsrtkxMRV1fugvYqkr9j7360s41IYwafQsX7R9xjEL7A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4crPg13Vylzqvh; Tue, 21 Oct 2025 07:53:17 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 59L7rHb6014669; Tue, 21 Oct 2025 07:53:17 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 59L7rHRd014666; Tue, 21 Oct 2025 07:53:17 GMT (envelope-from git) Date: Tue, 21 Oct 2025 07:53:17 GMT Message-Id: <202510210753.59L7rHRd014666@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: "Bjoern A. Zeeb" Subject: git: 5ea941a4fbfd - main - LinuxKPI: netdevice add attach/detach skeleton functions 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: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@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/main X-Git-Reftype: branch X-Git-Commit: 5ea941a4fbfd1ba2483e47fe30ed6713fe912284 Auto-Submitted: auto-generated The branch main has been updated by bz: URL: https://cgit.FreeBSD.org/src/commit/?id=5ea941a4fbfd1ba2483e47fe30ed6713fe912284 commit 5ea941a4fbfd1ba2483e47fe30ed6713fe912284 Author: Bjoern A. Zeeb AuthorDate: 2025-10-17 20:28:36 +0000 Commit: Bjoern A. Zeeb CommitDate: 2025-10-21 07:49:40 +0000 LinuxKPI: netdevice add attach/detach skeleton functions For the moment add skeleton functions for netif_device_attach/detach() needed by rtw8[89] v6.17. MFC after; 3 days --- sys/compat/linuxkpi/common/include/linux/netdevice.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/sys/compat/linuxkpi/common/include/linux/netdevice.h b/sys/compat/linuxkpi/common/include/linux/netdevice.h index 3b808a4a1749..cf27753bcb80 100644 --- a/sys/compat/linuxkpi/common/include/linux/netdevice.h +++ b/sys/compat/linuxkpi/common/include/linux/netdevice.h @@ -485,6 +485,21 @@ netdev_priv(const struct net_device *ndev) return (__DECONST(void *, ndev->drv_priv)); } +/* -------------------------------------------------------------------------- */ + +static __inline void +netif_device_attach(struct net_device *ndev) +{ + pr_debug("%s: TODO\n", __func__); +} + +static __inline void +netif_device_detach(struct net_device *ndev) +{ + pr_debug("%s: TODO\n", __func__); +} + + /* -------------------------------------------------------------------------- */ /* This is really rtnetlink and probably belongs elsewhere. */