Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[IA64] show "SN Devices" menu only if CONFIG_SGI_SN

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>

authored by

Jes Sorensen and committed by
Tony Luck
50e300de e95a9ec1

+2 -2
+2 -2
drivers/sn/Kconfig
··· 3 3 # 4 4 5 5 menu "SN Devices" 6 + depends on SGI_SN 6 7 7 8 config SGI_IOC4 8 9 tristate "SGI IOC4 Base IO support" 9 - depends on (IA64_GENERIC || IA64_SGI_SN2) && MMTIMER 10 + depends on MMTIMER 10 11 default m 11 12 ---help--- 12 13 This option enables basic support for the SGI IOC4-based Base IO ··· 20 19 21 20 config SGI_IOC3 22 21 tristate "SGI IOC3 Base IO support" 23 - depends on (IA64_GENERIC || IA64_SGI_SN2) 24 22 default m 25 23 ---help--- 26 24 This option enables basic support for the SGI IOC3-based Base IO