From d0610b60cf837a57455519574c1ef93bdbe05280 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Fri, 7 Aug 2015 13:58:12 +0200 Subject: [PATCH] linux-sysmocom: Move the mISDN legacy to the 3.2 kernel recipe Only in 3.2 we are using mISDN for lcr. Move the module loading over there so we can let it die when we kill this recipe. --- recipes-bsp/linux/linux-sysmocom.inc | 6 ------ recipes-bsp/linux/linux-sysmocom_3.2.bb | 8 ++++++++ 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/recipes-bsp/linux/linux-sysmocom.inc b/recipes-bsp/linux/linux-sysmocom.inc index c65bd46..2a8d075 100644 --- a/recipes-bsp/linux/linux-sysmocom.inc +++ b/recipes-bsp/linux/linux-sysmocom.inc @@ -7,12 +7,6 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7" # Set this to 'preempt_rt' in the local.conf if you want a real time kernel LINUX_KERNEL_TYPE ?= "standard" -module_autoload_mISDN_l1loop = "mISDN_l1loop" -module_autoload_mISDN_dsp = "mISDN_dsp" -module_conf_mISDN_l1loop = "options mISDN_l1loop pri=1 nchannel=20" - -KERNEL_MODULE_PROBECONF_append = "mISDN_l1loop mISDN_dsp" - FILES_${PN} = "" # Remove when using a Poky/OE-Core with that includes e0bf758982843ec1981b74410616b3492c599d06 diff --git a/recipes-bsp/linux/linux-sysmocom_3.2.bb b/recipes-bsp/linux/linux-sysmocom_3.2.bb index be6b2e4..f447721 100644 --- a/recipes-bsp/linux/linux-sysmocom_3.2.bb +++ b/recipes-bsp/linux/linux-sysmocom_3.2.bb @@ -33,4 +33,12 @@ do_configure() { module_autoload_leds-gpio = "leds-gpio" module_autoload_mmc_block = "mmc_block" + +# Legacy for 3.2 and LCR +module_autoload_mISDN_l1loop = "mISDN_l1loop" +module_autoload_mISDN_dsp = "mISDN_dsp" +module_conf_mISDN_l1loop = "options mISDN_l1loop pri=1 nchannel=20" +KERNEL_MODULE_PROBECONF_append = "mISDN_l1loop mISDN_dsp" +KERNEL_MODULE_AUTOLOAD += "mISDN_l1loop mISDN_dsp" + DEFAULT_PREFERENCE = "20"