[poky] [PATCH 1/5] kernel.bbclass: Auto load cdc-acm and cdc-wdm

Bruce Ashfield bruce.ashfield at gmail.com
Tue Jun 7 05:58:57 PDT 2011


On Tue, Jun 7, 2011 at 4:52 AM,  <y at pokylinux.org> wrote:
> From: Dongxiao Xu <dongxiao.xu at intel.com>
>
> Automatically load cdc-acm.ko and cdc-wdm.ko to support 3G module.
>
> Signed-off-by: Dongxiao Xu <dongxiao.xu at intel.com>
> ---
>  meta/classes/kernel.bbclass |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
>
> diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
> index 1bb69f5..1b50b38 100644
> --- a/meta/classes/kernel.bbclass
> +++ b/meta/classes/kernel.bbclass
> @@ -264,6 +264,8 @@ module_autoload_rfcomm = "rfcomm"
>  module_autoload_sa1100-rtc = "sa1100-rtc"
>  # sa1100-rtc was renamed in 2.6.23 onwards
>  module_autoload_rtc-sa1100 = "rtc-sa1100"
> +module_autoload_cdc-acm = "cdc-acm"
> +module_autoload_cdc-wdm = "cdc-wdm"

Hi Dongxiao,

This patch should go to oe-core, since we are talking about
meta/classes/kernel.bbclass.

But seeing this looks like it doesn't belong in kernel.bbclass at all (neither
do the existing autoloads), but would be better defined in either a BSP or
distro layer.

But maybe I'm missing something, and I'll be enlightened shortly :)

Cheers,

Bruce

>
>  # alias defaults (alphabetically sorted)
>  module_conf_af_packet = "alias net-pf-17 af_packet"
> --
> 1.7.1
>
> _______________________________________________
> poky mailing list
> poky at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/poky
>



-- 
"Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end"



More information about the poky mailing list