Import DAHDI into kernel package
This commit is contained in:
parent
3df2057e2f
commit
cf81848c29
|
@ -527,6 +527,34 @@ CONFIG_CRYPTO_DEV_HIFN_795X_RNG=y
|
||||||
##
|
##
|
||||||
CONFIG_CRYPTO_DEV_CHELSIO=m
|
CONFIG_CRYPTO_DEV_CHELSIO=m
|
||||||
|
|
||||||
|
##
|
||||||
|
## file: drivers/dahdi/Kconfig
|
||||||
|
##
|
||||||
|
CONFIG_DAHDI=m
|
||||||
|
# CONFIG_DAHDI_ECHOCAN is not set
|
||||||
|
# CONFIG_DAHDI_ECHOCAN_MG2 is not set
|
||||||
|
# CONFIG_DAHDI_ECHOCAN_KB1 is not set
|
||||||
|
# CONFIG_DAHDI_ECHOCAN_SEC is not set
|
||||||
|
# CONFIG_DAHDI_ECHOCAN_SEC2 is not set
|
||||||
|
# CONFIG_DAHDI_ECHOCAN_HPEC is not set
|
||||||
|
CONFIG_DAHDI_WCT4XXP=m
|
||||||
|
# CONFIG_DAHDI_TRANSCODE is not set
|
||||||
|
# CONFIG_DAHDI_WCTC4XXP is not set
|
||||||
|
# CONFIG_DAHDI_VOICEBUS is not set
|
||||||
|
# CONFIG_DAHDI_WCTDM24XXP is not set
|
||||||
|
# CONFIG_DAHDI_PCIRADIO is not set
|
||||||
|
CONFIG_DAHDI_DUMMY=m
|
||||||
|
CONFIG_DAHDI_DYNAMIC=m
|
||||||
|
CONFIG_DAHDI_DYNAMIC_ETH=m
|
||||||
|
CONFIG_DAHDI_DYNAMIC_ETHMF=m
|
||||||
|
CONFIG_DAHDI_DYNAMIC_LOC=m
|
||||||
|
# CONFIG_DAHDI_XPP is not set
|
||||||
|
# CONFIG_DAHDI_XPP_USB is not set
|
||||||
|
# CONFIG_DAHDI_XPD_FXS is not set
|
||||||
|
# CONFIG_DAHDI_XPD_FXO is not set
|
||||||
|
# CONFIG_DAHDI_XPD_BRI is not set
|
||||||
|
# CONFIG_DAHDI_XPD_PRI is not set
|
||||||
|
|
||||||
##
|
##
|
||||||
## file: drivers/dax/Kconfig
|
## file: drivers/dax/Kconfig
|
||||||
##
|
##
|
||||||
|
|
|
@ -0,0 +1,20 @@
|
||||||
|
Index: linux/drivers/Kconfig
|
||||||
|
===================================================================
|
||||||
|
--- linux.orig/drivers/Kconfig
|
||||||
|
+++ linux/drivers/Kconfig
|
||||||
|
@@ -219,4 +219,6 @@ source "drivers/siox/Kconfig"
|
||||||
|
|
||||||
|
source "drivers/slimbus/Kconfig"
|
||||||
|
|
||||||
|
+source "drivers/dahdi/Kconfig"
|
||||||
|
+
|
||||||
|
endmenu
|
||||||
|
Index: linux/drivers/Makefile
|
||||||
|
===================================================================
|
||||||
|
--- linux.orig/drivers/Makefile
|
||||||
|
+++ linux/drivers/Makefile
|
||||||
|
@@ -186,3 +186,4 @@ obj-$(CONFIG_MULTIPLEXER) += mux/
|
||||||
|
obj-$(CONFIG_UNISYS_VISORBUS) += visorbus/
|
||||||
|
obj-$(CONFIG_SIOX) += siox/
|
||||||
|
obj-$(CONFIG_GNSS) += gnss/
|
||||||
|
+obj-$(CONFIG_DAHDI) += dahdi/
|
|
@ -0,0 +1,26 @@
|
||||||
|
Index: linux-source-4.19/drivers/dahdi/wct4xxp/Kbuild
|
||||||
|
===================================================================
|
||||||
|
--- linux-source-4.19.orig/drivers/dahdi/wct4xxp/Kbuild
|
||||||
|
+++ linux-source-4.19/drivers/dahdi/wct4xxp/Kbuild
|
||||||
|
@@ -14,7 +14,7 @@
|
||||||
|
EXTRA_CFLAGS+=-DHOTPLUG_FIRMWARE
|
||||||
|
endif
|
||||||
|
|
||||||
|
-wct4xxp-objs := base.o vpm450m.o
|
||||||
|
+wct4xxp-objs := base.o
|
||||||
|
|
||||||
|
ifneq ($(HOTPLUG_FIRMWARE),yes)
|
||||||
|
wct4xxp-objs += $(FIRM_DIR)/dahdi-fw-oct6114-064.o $(FIRM_DIR)/dahdi-fw-oct6114-128.o $(FIRM_DIR)/dahdi-fw-oct6114-256.o
|
||||||
|
Index: linux-source-4.19/drivers/dahdi/wct4xxp/base.c
|
||||||
|
===================================================================
|
||||||
|
--- linux-source-4.19.orig/drivers/dahdi/wct4xxp/base.c
|
||||||
|
+++ linux-source-4.19/drivers/dahdi/wct4xxp/base.c
|
||||||
|
@@ -56,7 +56,7 @@
|
||||||
|
#undef FANCY_ALARM
|
||||||
|
|
||||||
|
/* Define to support Digium Voice Processing Module expansion card */
|
||||||
|
-#define VPM_SUPPORT
|
||||||
|
+//#define VPM_SUPPORRT
|
||||||
|
|
||||||
|
#define DEBUG_MAIN (1 << 0)
|
||||||
|
#define DEBUG_DTMF (1 << 1)
|
|
@ -0,0 +1,13 @@
|
||||||
|
Index: linux-source-4.19/include/uapi/linux/hdlc.h
|
||||||
|
===================================================================
|
||||||
|
--- linux-source-4.19.orig/include/uapi/linux/hdlc.h
|
||||||
|
+++ linux-source-4.19/include/uapi/linux/hdlc.h
|
||||||
|
@@ -13,7 +13,7 @@
|
||||||
|
#define _UAPI__HDLC_H
|
||||||
|
|
||||||
|
|
||||||
|
-#define HDLC_MAX_MTU 1500 /* Ethernet 1500 bytes */
|
||||||
|
+#define HDLC_MAX_MTU 1700 /* Ethernet 1500 bytes */
|
||||||
|
#if 0
|
||||||
|
#define HDLC_MAX_MRU (HDLC_MAX_MTU + 10 + 14 + 4) /* for ETH+VLAN over FR */
|
||||||
|
#else
|
File diff suppressed because it is too large
Load Diff
|
@ -301,3 +301,7 @@ debian/ntfs-mark-it-as-broken.patch
|
||||||
debian/Revert-perf-cs-etm-Move-definition-of-traceid_list-g.patch
|
debian/Revert-perf-cs-etm-Move-definition-of-traceid_list-g.patch
|
||||||
|
|
||||||
# ABI maintenance
|
# ABI maintenance
|
||||||
|
linux-4.19-dahdi-3.1.0-7-g699e7a0.patch
|
||||||
|
hdlc-mtu.patch
|
||||||
|
dahdi-no-vpm.patch
|
||||||
|
dahdi-integration.patch
|
||||||
|
|
Loading…
Reference in New Issue