diff options
| author | Bjoern A. Zeeb <bz@FreeBSD.org> | 2025-10-17 20:28:36 +0000 |
|---|---|---|
| committer | Bjoern A. Zeeb <bz@FreeBSD.org> | 2025-10-21 07:49:40 +0000 |
| commit | 5ea941a4fbfd1ba2483e47fe30ed6713fe912284 (patch) | |
| tree | 84333966d5f32a3c3466fd92c3acf02a5c36d740 | |
| parent | 88dbf83345feefa7181bd6df47786e1a8d1d304d (diff) | |
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
| -rw-r--r-- | sys/compat/linuxkpi/common/include/linux/netdevice.h | 15 |
1 files changed, 15 insertions, 0 deletions
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 @@ -486,6 +486,21 @@ netdev_priv(const struct net_device *ndev) } /* -------------------------------------------------------------------------- */ + +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. */ #define rtnl_lock() do { } while(0) |
