linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* xconfig
@ 2001-10-05 11:55 Pierre AUBERT
  2001-10-05 15:05 ` xconfig Tom Rini
  0 siblings, 1 reply; 3+ messages in thread
From: Pierre AUBERT @ 2001-10-05 11:55 UTC (permalink / raw)
  To: Mailing list Embedded linux on PowerPC


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 08
STÄUBLI Faverges                |
Place Robert STÄUBLI            |   Mailto:p.aubert@staubli.com
74210 Faverges FRANCE           |   http://www.staubli.com
------------------------------------------------------------------------------


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: xconfig
  2001-10-05 11:55 xconfig Pierre AUBERT
@ 2001-10-05 15:05 ` Tom Rini
  2001-10-05 15:39   ` xconfig Pierre AUBERT
  0 siblings, 1 reply; 3+ messages in thread
From: Tom Rini @ 2001-10-05 15:05 UTC (permalink / raw)
  To: Pierre AUBERT; +Cc: Mailing list Embedded linux on PowerPC


On Fri, Oct 05, 2001 at 01:55:48PM +0200, Pierre AUBERT wrote:

> 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 =====
--- 1.17/arch/ppc/config.in	Thu Apr 19 15:50:05 2001
+++ edited/arch/ppc/config.in	Wed May  2 13:50:45 2001
@@ -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 =====
--- 1.1/arch/ppc/8260_io/Config.in	Sat Jan  6 00:30:23 2001
+++ edited/arch/ppc/8260_io/Config.in	Wed May  2 13:50:24 2001
@@ -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 =====
--- 1.4/arch/ppc/8xx_io/Config.in	Thu Apr 26 15:34:57 2001
+++ edited/arch/ppc/8xx_io/Config.in	Wed May  2 13:49:33 2001
@@ -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 =====
--- 1.14/drivers/net/Config.in	Wed Apr 25 19:35:07 2001
+++ edited/drivers/net/Config.in	Wed May  2 13:52:58 2001
@@ -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/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: xconfig
  2001-10-05 15:05 ` xconfig Tom Rini
@ 2001-10-05 15:39   ` Pierre AUBERT
  0 siblings, 0 replies; 3+ messages in thread
From: Pierre AUBERT @ 2001-10-05 15:39 UTC (permalink / raw)
  To: Tom Rini; +Cc: Mailing list Embedded linux on PowerPC


Tom Rini wrote:

> On Fri, Oct 05, 2001 at 01:55:48PM +0200, Pierre AUBERT wrote:
>
> > 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.

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 08
STÄUBLI Faverges                |
Place Robert STÄUBLI            |   Mailto:p.aubert@staubli.com
74210 Faverges FRANCE           |   http://www.staubli.com
------------------------------------------------------------------------------


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-10-05 15:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-10-05 11:55 xconfig Pierre AUBERT
2001-10-05 15:05 ` xconfig Tom Rini
2001-10-05 15:39   ` xconfig Pierre AUBERT

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).