File tree 2 files changed +16
-0
lines changed 2 files changed +16
-0
lines changed Original file line number Diff line number Diff line change
1
+ --- a/include/dahdi/kernel.h.orig 2023-04-28 19:00:29.585881156 -0400
2
+ +++ b/include/dahdi/kernel.h 2023-04-28 19:00:58.733511284 -0400
3
+ @@ -60,6 +60,10 @@
4
+
5
+ #include <linux/pci.h>
6
+
7
+ + #if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 1, 0)
8
+ + #define netif_napi_add netif_napi_add_weight
9
+ + #endif
10
+ +
11
+ #if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 17, 0)
12
+ #define PDE_DATA(i) pde_data(i)
13
+ #endif
Original file line number Diff line number Diff line change @@ -1173,6 +1173,9 @@ install_dahdi() {
1173
1173
custom_fuzzy_patch " b6d9b417e1992868549d443efad11e4f1513c9d7.diff" " https://gitea.osmocom.org/retronetworking/dahdi-linux/commit/b6d9b417e1992868549d443efad11e4f1513c9d7.diff"
1174
1174
custom_fuzzy_patch " 09adb59cfe2aff9fc1c18cafb44ae0faf811adca.diff" " https://gitea.osmocom.org/retronetworking/dahdi-linux/commit/09adb59cfe2aff9fc1c18cafb44ae0faf811adca.diff"
1175
1175
1176
+ # Compiler fixes for 6.1+
1177
+ phreak_fuzzy_patch " dahdi_kern_61.diff"
1178
+
1176
1179
# New Features
1177
1180
if [ " $EXTRA_FEATURES " = " 1" ]; then
1178
1181
# Real time dial pulsing (DAHDI to Asterisk)
You can’t perform that action at this time.
0 commit comments