Commit 8703710e authored by Greg Banks's avatar Greg Banks Committed by Linus Torvalds

[PATCH] PATCH 2.5: kconfig use of $ARCH (4_12)

 Use of the $ARCH variable is undocumented; the sparc and sparc64 ports
 define the bool constants CONFIG_SPARC32 and CONFIG_SPARC64 respectively
 for this purpose.
parent 93ac7e1e
...@@ -7,13 +7,13 @@ comment 'Fibre Channel support' ...@@ -7,13 +7,13 @@ comment 'Fibre Channel support'
tristate 'Fibre Channel and FC4 SCSI support' CONFIG_FC4 tristate 'Fibre Channel and FC4 SCSI support' CONFIG_FC4
if [ ! "$CONFIG_FC4" = "n" ]; then if [ ! "$CONFIG_FC4" = "n" ]; then
comment 'FC4 drivers' comment 'FC4 drivers'
if [ "$ARCH" = "sparc" -o "$ARCH" = "sparc64" ]; then if [ "$CONFIG_SPARC32" = "y" -o "$CONFIG_SPARC64" = "y" ]; then
tristate 'Sun SOC/Sbus' CONFIG_FC4_SOC tristate 'Sun SOC/Sbus' CONFIG_FC4_SOC
tristate 'Sun SOC+ (aka SOCAL)' CONFIG_FC4_SOCAL tristate 'Sun SOC+ (aka SOCAL)' CONFIG_FC4_SOCAL
fi fi
comment 'FC4 targets' comment 'FC4 targets'
dep_tristate 'SparcSTORAGE Array 100 and 200 series' CONFIG_SCSI_PLUTO $CONFIG_SCSI dep_tristate 'SparcSTORAGE Array 100 and 200 series' CONFIG_SCSI_PLUTO $CONFIG_SCSI
if [ "$ARCH" = "sparc" -o "$ARCH" = "sparc64" ]; then if [ "$CONFIG_SPARC32" = "y" -o "$CONFIG_SPARC64" = "y" ]; then
dep_tristate 'Sun Enterprise Network Array (A5000 and EX500)' CONFIG_SCSI_FCAL $CONFIG_SCSI dep_tristate 'Sun Enterprise Network Array (A5000 and EX500)' CONFIG_SCSI_FCAL $CONFIG_SCSI
else else
dep_tristate 'Generic FC-AL disk driver' CONFIG_SCSI_FCAL $CONFIG_SCSI dep_tristate 'Generic FC-AL disk driver' CONFIG_SCSI_FCAL $CONFIG_SCSI
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment