[IA64] show "SN Devices" menu only if CONFIG_SGI_SN
authorJes Sorensen <jes@sgi.com>
Fri, 17 Feb 2006 15:25:39 +0000 (10:25 -0500)
committerTony Luck <tony.luck@intel.com>
Mon, 27 Feb 2006 23:06:41 +0000 (15:06 -0800)
Adrian> On architectures like i386, the "Multimedia Capabilities Port
Adrian> drivers" menu is visible, but it can't be visited since it
Adrian> contains nothing usable for CONFIG_SGI_SN=n.

Jes> Thats only a third of the patch, if you want to do that, you should
Jes> remove the redundant SGI_SN checks below.

Signed-off-by: Tony Luck <tony.luck@intel.com>
drivers/sn/Kconfig

index d95265b..a347316 100644 (file)
@@ -3,10 +3,11 @@
 #
 
 menu "SN Devices"
+       depends on SGI_SN
 
 config SGI_IOC4
        tristate "SGI IOC4 Base IO support"
-       depends on (IA64_GENERIC || IA64_SGI_SN2) && MMTIMER
+       depends on MMTIMER
        default m
        ---help---
        This option enables basic support for the SGI IOC4-based Base IO
@@ -19,7 +20,6 @@ config SGI_IOC4
 
 config SGI_IOC3
        tristate "SGI IOC3 Base IO support"
-       depends on (IA64_GENERIC || IA64_SGI_SN2)
        default m
        ---help---
        This option enables basic support for the SGI IOC3-based Base IO