The branch main has been updated by bz:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=5ea941a4fbfd1ba2483e47fe30ed6713fe912284

commit 5ea941a4fbfd1ba2483e47fe30ed6713fe912284
Author:     Bjoern A. Zeeb <[email protected]>
AuthorDate: 2025-10-17 20:28:36 +0000
Commit:     Bjoern A. Zeeb <[email protected]>
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. */
 

Reply via email to