CONFIG_M386 improvements

Trevor Johnson (trevor@jpj.net)
Sat, 7 Mar 1998 15:33:46 -0800 (PST)


When configuring the kernel, PC users are asked:

*
* Processor type and features
*
Processor family (386, 486/Cx486, Pentium/K5/5x86/6x86, PPro/K6/6x86MX)
[Pentium/K5/5x86/6x86]

This question can cause confusion: it's not obvious that "486" is a valid
answer, that "Cx486" is not, or that help is available. The patch below
(also available at http://jpj.net/~trevor/linux/m386-v5.diff) changes the
question to:

*
* Processor type and features
*
Processor family (3, 4, 5, 6/?) [5] ?

It also changes the help text so it gives recommendations for users of the
newer Intel CPUs and non-Intel ones. The revised help text is mostly
based on information from arch/i386/kernel/setup.c.

Please consider this for inclusion in Linux 2.1.90.
___
Trevor Johnson

diff -ru linux-2.1.89.orig/Documentation/Configure.help linux/Documentation/Configure.help
--- linux-2.1.89.orig/Documentation/Configure.help Sat Mar 7 12:58:36 1998
+++ linux/Documentation/Configure.help Sat Mar 7 15:14:45 1998
@@ -1136,18 +1136,20 @@

Processor family
CONFIG_M386
- This is the processor type of your CPU. This information is used for
- optimizing purposes. In order to compile a kernel that can run on
- all x86 CPU types (albeit not optimally fast), you can specify
- "386" here. If you specify one of "486" or "Pentium" or "PPro",
- then the kernel will run on all of these CPUs: 486 and Pentium
- (=586) and Pentium Pro (=686). In rare cases, it can make sense to
- specify "Pentium" even if running on a 486: the kernel will be
- smaller but slower.
+ This information about your CPU is used for optimization. Choosing "3"
+ here is necessary for the AMD/Cyrix/Intel 386DX/DXL/SL/SLC/SX and
+ Cyrix 486DLC/DLC2 CPUs. The resulting kernel will also run on better
+ CPUs, albeit not optimally fast, so it is always safe to choose "3".
+ For the AMD/Cyrix/IBM/Intel DX4 or 486DX/DX2/SL/SX/SX2, AMD/Cyrix 5x86,
+ Cyrix MediaGX, NexGen Nx586 and UMC U5D or U5S, choose "4" for best
+ performance, or "5" for a smaller but slower kernel. For the AMD K5,
+ K6 and K6-3D, Cyrix/IBM/National Semiconductor 6x86 or GXm, IDT
+ Centaur WinChip C6, and Intel Pentium/Pentium MMX, "5" is recommended.
+ For the Cyrix/IBM/National Semiconductor 6x86MX and Intel Pentium
+ II/Pentium Pro, select "6".
If you have a multiple processor machine and want Linux to use all
the processors in parallel, set the SMP variable in the toplevel
kernel Makefile.
- If you don't know what to do, say "386".

Video mode selection support
CONFIG_VIDEO_SELECT
diff -ru linux-2.1.89.orig/arch/i386/config.in linux/arch/i386/config.in
--- linux-2.1.89.orig/arch/i386/config.in Mon Feb 2 15:18:15 1998
+++ linux/arch/i386/config.in Sat Mar 7 13:16:04 1998
@@ -12,10 +12,10 @@
mainmenu_option next_comment
comment 'Processor type and features'
choice 'Processor family' \
- "386 CONFIG_M386 \
- 486/Cx486 CONFIG_M486 \
- Pentium/K5/5x86/6x86 CONFIG_M586 \
- PPro/K6/6x86MX CONFIG_M686" Pentium
+ "3 CONFIG_M386 \
+ 4 CONFIG_M486 \
+ 5 CONFIG_M586 \
+ 6/? CONFIG_M686"
bool 'Math emulation' CONFIG_MATH_EMULATION
endmenu


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu