wok-current annotate broadcom-wl64/stuff/016-linux51.patch @ rev 25701
Fix dep for libglamoregl.so (libepoxy), and miss file for amdgpu (thanks alanyih)
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Fri Apr 19 12:48:51 2024 +0000 (2 months ago) |
parents | |
children |
rev | line source |
---|---|
shann@25643 | 1 --- a/src/wl/sys/wl_cfg80211_hybrid.c |
shann@25643 | 2 +++ b/src/wl/sys/wl_cfg80211_hybrid.c |
shann@25643 | 3 @@ -43,6 +43,9 @@ |
shann@25643 | 4 #define EVENT_FLAGS(e) dtoh16((e)->flags) |
shann@25643 | 5 #define EVENT_STATUS(e) dtoh32((e)->status) |
shann@25643 | 6 |
shann@25643 | 7 +#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 1, 0) |
shann@25643 | 8 +#define get_ds() (KERNEL_DS) |
shann@25643 | 9 +#endif |
shann@25643 | 10 #ifdef BCMDBG |
shann@25643 | 11 u32 wl_dbg_level = WL_DBG_ERR | WL_DBG_INFO; |
shann@25643 | 12 #else |
shann@25643 | 13 --- a/src/wl/sys/wl_iw.c |
shann@25643 | 14 +++ b/src/wl/sys/wl_iw.c |
shann@25643 | 15 @@ -61,6 +61,9 @@ typedef struct priv_link { |
shann@25643 | 16 wl_iw_t *wliw; |
shann@25643 | 17 } priv_link_t; |
shann@25643 | 18 |
shann@25643 | 19 +#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 1, 0) |
shann@25643 | 20 +#define get_ds() (KERNEL_DS) |
shann@25643 | 21 +#endif |
shann@25643 | 22 #if (LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 24)) |
shann@25643 | 23 #define WL_DEV_LINK(dev) (priv_link_t*)(dev->priv) |
shann@25643 | 24 #else |