[linux-yocto] [PATCH 1/1] meta: update atom-pc-wifi.cfg for audit purposes

Hongxu Jia hongxu.jia at windriver.com
Mon Apr 8 01:24:03 PDT 2013


1, When do_kernel_configcheck(such as 3.8.1), it has the following warning:
log.do_kernel_configcheck:
NOTE: validating kernel config, see log.do_kernel_configcheck for details
DEBUG: [non-hardware (4)]: meta/cfg/standard/atom-pc/specified_non_hdw.cfg
   This BSP sets config options that are possibly non-hardware related.

[invalid (1)]: meta/cfg/standard/atom-pc/invalid.cfg
   This BSP sets config options that are not offered anywhere within this kernel

specified_non_hdw.cfg:
CONFIG_CRC_CCITT
CONFIG_STAGING
CONFIG_WEXT_PRIV
CONFIG_WIRELESS_EXT

invalid.cfg:
CONFIG_RT2860

2, CONFIG_RT2860 is invalid, because it is found in Linux kernels:
2.6.29–2.6.32, 2.6.33–2.6.39, and it is obsolete now. Use
CONFIG_RT2800PCI instead.
drivers/net/wireless/rt2x00/Kconfig:
 56 config RT2800PCI
 ...
 66     ---help---
 67       This adds support for rt27xx/rt28xx/rt30xx wireless chipset family.
 68       Supported chips: RT2760, RT2790, RT2860, RT2880, RT2890, RT3052,
 69                RT3090, RT3091 & RT3092

3, STAGING is the menuconfig of RT2860, The menuconfig of current
RT2800PCI is RT2X00. Use CONFIG_RT2X00 instead of CONFIG_STAGING.

4, CONFIG_ATH9K_HW and CONFIG_ATH9K_COMMON could be removed,
because ATH9K has selected them.
drivers/net/wireless/ath/ath9k/Kconfig:
 18 config ATH9K
 ...
 21     select ATH9K_HW
 ...
 25     select ATH9K_COMMON

5, CONFIG_CRC_CCITT could be removed, because RT2800PCI has
selected it.
drivers/net/wireless/rt2x00/Kconfig:
 56 config RT2800PCI
 ...
 64         select CRC_CCITT

6, CONFIG_WIRELESS_EXT and CONFIG_WEXT_PRIV do nothing which means
they don't exist in the configure file `.config', remove them.

http://cateee.net/lkddb/web-lkddb/RT2860.html
http://cateee.net/lkddb/web-lkddb/RT2800PCI.html
http://lxr.linux.no/linux/drivers/net/wireless/ath/ath9k/Kconfig
http://lxr.linux.no/linux/drivers/net/wireless/rt2x00/Kconfig

[YOCTO #3490]

Signed-off-by: Hongxu Jia <hongxu.jia at windriver.com>
---
 meta/cfg/kernel-cache/bsp/atom-pc/atom-pc-wifi.cfg |   11 ++---------
 1 file changed, 2 insertions(+), 9 deletions(-)

diff --git a/meta/cfg/kernel-cache/bsp/atom-pc/atom-pc-wifi.cfg b/meta/cfg/kernel-cache/bsp/atom-pc/atom-pc-wifi.cfg
index e6cbc950..7226c08 100644
--- a/meta/cfg/kernel-cache/bsp/atom-pc/atom-pc-wifi.cfg
+++ b/meta/cfg/kernel-cache/bsp/atom-pc/atom-pc-wifi.cfg
@@ -1,11 +1,4 @@
-CONFIG_WIRELESS_EXT=y
-CONFIG_WEXT_PRIV=y
-
-CONFIG_ATH9K_HW=y
-CONFIG_ATH9K_COMMON=y
 CONFIG_ATH9K=y
 
-CONFIG_STAGING=y
-CONFIG_RT2860=y
-
-CONFIG_CRC_CCITT=y
+CONFIG_RT2X00=y
+CONFIG_RT2800PCI=y
-- 
1.7.10.4




More information about the linux-yocto mailing list