Date: Thu, 23 Oct 2025 09:44:12 GMT From: "Bjoern A. Zeeb" <bz@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: 4bdd0e51d711 - stable/15 - LinuxKPI: netdevice add attach/detach skeleton functions Message-ID: <202510230944.59N9iCDW060287@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch stable/15 has been updated by bz: URL: https://cgit.FreeBSD.org/src/commit/?id=4bdd0e51d7113aadcbfba9a76d72d8e924c5dcdf commit 4bdd0e51d7113aadcbfba9a76d72d8e924c5dcdf Author: Bjoern A. Zeeb <bz@FreeBSD.org> AuthorDate: 2025-10-17 20:28:36 +0000 Commit: Bjoern A. Zeeb <bz@FreeBSD.org> CommitDate: 2025-10-23 06:35:26 +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. (cherry picked from commit 5ea941a4fbfd1ba2483e47fe30ed6713fe912284) --- 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. */home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202510230944.59N9iCDW060287>
