public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] 2.4.13-ac2: Appletalk Config Screwed
@ 2001-10-27  6:27 Robert Love
  2001-10-27 15:44 ` Alan Cox
  0 siblings, 1 reply; 3+ messages in thread
From: Robert Love @ 2001-10-27  6:27 UTC (permalink / raw)
  To: Alan Cox; +Cc: linux-kernel

The Appletalk configure file is butchered, resulting in various
problems: `make oldconfig' always prompts on CONFIG_ATALK, `make
[*]config' returns "ERROR - Attempting to write value for unconfigured
variable (CONFIG_ATALK).", etc etc.

The fix is trivial.  Attached is against 2.4.13-ac2.  Alan, please
apply.

diff -u linux-2.4.13-ac2/drivers/net/appletalk/Config.in linux/drivers/net/appletalk/Config.in 
--- linux-2.4.13-ac2/drivers/net/appletalk/Config.in	Fri Oct 26 15:47:50 2001
+++ linux/drivers/net/appletalk/Config.in	Sat Oct 27 02:18:55 2001
@@ -1,9 +1,7 @@
 #
 # Appletalk driver configuration
 #
-
-if [ "$CONFIG_ATALK" != "n" ]; then
-   mainmenu_option next_comment
+mainmenu_option next_comment
    comment 'Appletalk devices'
    bool 'Appletalk interfaces support' CONFIG_ATALK
    if [ "$CONFIG_ATALK" != "n" ]; then
@@ -19,5 +17,4 @@
 	 bool '    Appletalk-IP to IP Decapsulation support' CONFIG_IPDDP_DECAP
       fi
    fi
-   endmenu
-fi
+endmenu

	Robert Love


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

* Re: [PATCH] 2.4.13-ac2: Appletalk Config Screwed
  2001-10-27  6:27 [PATCH] 2.4.13-ac2: Appletalk Config Screwed Robert Love
@ 2001-10-27 15:44 ` Alan Cox
  2001-10-27 16:22   ` Robert Love
  0 siblings, 1 reply; 3+ messages in thread
From: Alan Cox @ 2001-10-27 15:44 UTC (permalink / raw)
  To: Robert Love; +Cc: Alan Cox, linux-kernel

> The Appletalk configure file is butchered, resulting in various
> problems: `make oldconfig' always prompts on CONFIG_ATALK, `make
> [*]config' returns "ERROR - Attempting to write value for unconfigured
> variable (CONFIG_ATALK).", etc etc.

I can't duplicate the problem described

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

* Re: [PATCH] 2.4.13-ac2: Appletalk Config Screwed
  2001-10-27 15:44 ` Alan Cox
@ 2001-10-27 16:22   ` Robert Love
  0 siblings, 0 replies; 3+ messages in thread
From: Robert Love @ 2001-10-27 16:22 UTC (permalink / raw)
  To: Alan Cox; +Cc: linux-kernel

On Sat, 2001-10-27 at 11:44, Alan Cox wrote:
> I can't duplicate the problem described

Perhaps you need to have no reference to CONFIG_ATALK in your config? 
At the very least, you should be able to go into Network Devices ->
Appletalk and see that if CONFIG_ATALK=n then the suboptions for the
devices are settable, and of course they should not be.  I don't know
why you don't see the errors on exit from make xconfig or the repeated
questions from oldconfig...

I also found another problem: there are two statements for CONFIG_ATALK,
the second one should be removed as the resulting options are in an if
block anyhow.  This results in double CONFIG_ATALK entries in your
config now that the gross if's were reorganized.  Updated patch
attached.

diff -u linux-2.4.13-ac2/drivers/net/appletalk/Config.in linux/drivers/net/appletalk/Config.in
--- linux-2.4.13-ac2/drivers/net/appletalk/Config.in	Fri Oct 26 15:47:50 2001
+++ linux/drivers/net/appletalk/Config.in	Sat Oct 27 12:09:57 2001
@@ -1,11 +1,8 @@
 #
 # Appletalk driver configuration
 #
-
-if [ "$CONFIG_ATALK" != "n" ]; then
-   mainmenu_option next_comment
+mainmenu_option next_comment
    comment 'Appletalk devices'
-   bool 'Appletalk interfaces support' CONFIG_ATALK
    if [ "$CONFIG_ATALK" != "n" ]; then
       dep_tristate '  Apple/Farallon LocalTalk PC support' CONFIG_LTPC $CONFIG_ATALK
       dep_tristate '  COPS LocalTalk PC support' CONFIG_COPS $CONFIG_ATALK
@@ -19,5 +16,4 @@
 	 bool '    Appletalk-IP to IP Decapsulation support' CONFIG_IPDDP_DECAP
       fi
    fi
-   endmenu
-fi
+endmenu

	Robert Love


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

end of thread, other threads:[~2001-10-27 16:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-10-27  6:27 [PATCH] 2.4.13-ac2: Appletalk Config Screwed Robert Love
2001-10-27 15:44 ` Alan Cox
2001-10-27 16:22   ` Robert Love

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox