patch-2.3.41 linux/drivers/char/ftape/Config.in

Next file: linux/drivers/char/h8.c
Previous file: linux/drivers/char/dtlk.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.40/linux/drivers/char/ftape/Config.in linux/drivers/char/ftape/Config.in
@@ -34,5 +34,9 @@
    int '  Default FIFO threshold (EXPERIMENTAL)' CONFIG_FT_FDC_THR 8
    int '  Maximal data rate to use (EXPERIMENTAL)' CONFIG_FT_FDC_MAX_RATE 2000
 fi
-comment 'ONLY for DEC Alpha architectures'
-int '  CPU clock frequency of your DEC Alpha' CONFIG_FT_ALPHA_CLOCK 0
+
+if [ "$ARCH" = "alpha" ]; then
+   int '  CPU clock frequency of your DEC Alpha' CONFIG_FT_ALPHA_CLOCK 0
+else
+   define_int CONFIG_FT_ALPHA_CLOCK 0
+fi

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)