xconfig
Hi everybody,
I have a problem with the 'make xconfig'. I try to use it on a 2.4.10 kernel for power PC, I have the following
error messages when I save the config file :
ERROR - Attempting to write value for unconfigured variable (CONFIG_SCC_ENET).
ERROR - Attempting to write value for unconfigured variable (CONFIG_FEC_ENET).
I think that the problem occurs because the both variables are defined in the files arch/ppc/8xx_io/Config.in
and in the file arch/ppc/8260_io/Config.in.
Is there a patch to fix it ?
PS: I'm using tk-83 and tcl-8.3
Thank you and best regards
--
------------------------------------------------------------------------------
Pierre Aubert | Phone: +33 4 50 65 62 88
| Fax: +33 4 50 65 62 08STÄUBLI Faverges |
Place Robert STÄUBLI | Mailto:[email protected]
74210 Faverges FRANCE | http://www.staubli.com
------------------------------------------------------------------------------
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Quoted 7 lines · Pierre AUBERT
I have a problem with the 'make xconfig'. I try to use it on a 2.4.10 kernel for power PC, I have the following
error messages when I save the config file :
ERROR - Attempting to write value for unconfigured variable (CONFIG_SCC_ENET).
ERROR - Attempting to write value for unconfigured variable (CONFIG_FEC_ENET).
Yeap. Try the following patch. It is old, I just looked and it won't apply cleanly, but it should give you an idea how the right fix should look. If you can make this patch apply to the current tree and send it back to me I'd appreciate it.
still.
--
Tom Rini (TR1265)
http://gate.crashing.org/~trini/
===== arch/ppc/config.in 1.17 vs edited =====
arch/ppc/config.in +5 -4
@@ -337,12 +337,13 @@ endmenu if [ "$CONFIG_8xx" = "y" ]; then -source arch/ppc/8xx_io/Config.in + source arch/ppc/8xx_io/Config.in fi -if [ "$CONFIG_8260" = "y" ]; then -source arch/ppc/8260_io/Config.in -fi +# This is empty right now -- Tom +#if [ "$CONFIG_8260" = "y" ]; then +# source arch/ppc/8260_io/Config.in +#fi source drivers/usb/Config.in
===== arch/ppc/8260_io/Config.in 1.1 vs edited =====
arch/ppc/8260_io/Config.in +0 -17
@@ -4,22 +4,5 @@ if [ "$CONFIG_NET_ETHERNET" = "y" ]; then mainmenu_option next_comment comment 'MPC8260 Communication Options' - bool 'CPM SCC Ethernet' CONFIG_SCC_ENET - if [ "$CONFIG_SCC_ENET" = "y" ]; then - bool 'Ethernet on SCC1' CONFIG_SCC1_ENET - if [ "$CONFIG_SCC1_ENET" != "y" ]; then - bool 'Ethernet on SCC2' CONFIG_SCC2_ENET - fi - fi -# -# CONFIG_FEC_ENET is only used to get netdevices to call our init -# function. Any combination of FCC1,2,3 are supported. -# - bool 'FCC Ethernet' CONFIG_FEC_ENET - if [ "$CONFIG_FEC_ENET" = "y" ]; then - bool 'Ethernet on FCC1' CONFIG_FCC1_ENET - bool 'Ethernet on FCC2' CONFIG_FCC2_ENET - bool 'Ethernet on FCC3' CONFIG_FCC3_ENET - fi endmenu fi
===== arch/ppc/8xx_io/Config.in 1.4 vs edited =====
arch/ppc/8xx_io/Config.in +0 -14
@@ -4,20 +4,6 @@ mainmenu_option next_comment comment 'MPC8xx CPM Options' -if [ "$CONFIG_NET_ETHERNET" = "y" ]; then - bool 'CPM SCC Ethernet' CONFIG_SCC_ENET - if [ "$CONFIG_SCC_ENET" = "y" ]; then - choice 'SCC used for Ethernet' \ - "SCC1 CONFIG_SCC1_ENET \ - SCC2 CONFIG_SCC2_ENET \ - SCC3 CONFIG_SCC3_ENET" SCC1 - fi - bool '860T FEC Ethernet' CONFIG_FEC_ENET - if [ "$CONFIG_FEC_ENET" = "y" ]; then - bool 'Use MDIO for PHY configuration' CONFIG_USE_MDIO - fi - bool 'Use Big CPM Ethernet Buffers' CONFIG_ENET_BIG_BUFFERS -fi bool 'Use SMC2 for UART' CONFIG_SMC2_UART if [ "$CONFIG_SMC2_UART" = "y" ]; then bool 'Use Alternate SMC2 I/O (823/850)' CONFIG_ALTSMC2
===== drivers/net/Config.in 1.14 vs edited =====
drivers/net/Config.in +22 -0
@@ -39,6 +39,28 @@ tristate ' GMAC (G4/iBook ethernet) support' CONFIG_GMAC tristate ' Symbios 53c885 (Synergy ethernet) support' CONFIG_NCR885E tristate ' National DP83902AV (Oak ethernet) support' CONFIG_OAKNET + if [ "$CONFIG_8xx" = "y" -o "$CONFIG_8260" = "y" ]; then + bool 'CPM SCC Ethernet' CONFIG_SCC_ENET + if [ "$CONFIG_SCC_ENET" = "y" ]; then + choice 'SCC used for Ethernet (SCC3 valid only on 8xx)' \ + "SCC1 CONFIG_SCC1_ENET \ + SCC2 CONFIG_SCC2_ENET \ + SCC3 CONFIG_SCC3_ENET" SCC1 + fi + bool 'FCC Ethernet' CONFIG_FEC_ENET + if [ "$CONFIG_FEC_ENET" = "y" -a "$CONFIG_8260" = "y" ]; then + bool 'Ethernet on FCC1' CONFIG_FCC1_ENET + bool 'Ethernet on FCC2' CONFIG_FCC2_ENET + bool 'Ethernet on FCC3' CONFIG_FCC3_ENET + fi + if [ "$CONFIG_FEC_ENET" = "y" -a "$CONFIG_8xx" = "y" ]; then + bool 'Use MDIO for PHY configuration' CONFIG_USE_MDIO + fi + if [ "$CONFIG_8xx" = "y" -a "$CONFIG_FEC_ENET" = "y" \ + -o "$CONFIG_SCC_ENET" = "y" ]; then + bool 'Use Big CPM Ethernet Buffers' CONFIG_ENET_BIG_BUFFERS + fi + fi fi if [ "$CONFIG_ZORRO" = "y" ]; then tristate ' Ariadne support' CONFIG_ARIADNE
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Quoted 10 lines · Tom Rini
Quoted 7 lines · Pierre AUBERT
I have a problem with the 'make xconfig'. I try to use it on a 2.4.10 kernel for power PC, I have the following
error messages when I save the config file :
ERROR - Attempting to write value for unconfigured variable (CONFIG_SCC_ENET).
ERROR - Attempting to write value for unconfigured variable (CONFIG_FEC_ENET).
Quoted 5 lines
Yeap. Try the following patch. It is old, I just looked and it won't apply cleanly, but it should give you an idea how the right fix should look. If you can make this patch apply to the current tree and send it back to me I'd appreciate it.
still.
Your patch solves my problem (even if some line numbers are false, it works except for arch/ppc/8xx_io/Config.in but I don't understand why it fails). Thank you very much. I think it would be included in a future release ... Regards
--
------------------------------------------------------------------------------
Pierre Aubert | Phone: +33 4 50 65 62 88
| Fax: +33 4 50 65 62 08STÄUBLI Faverges |
Place Robert STÄUBLI | Mailto:[email protected]
74210 Faverges FRANCE | http://www.staubli.com
------------------------------------------------------------------------------
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/