2004-10-28 15:00:47

by Jim Nelson

[permalink] [raw]
Subject: [PATCH 1/9] to arch/sh/drivers/pci/Kconfig

Description: Remove x86-specific help in arch/sh/drivers/pci/Kconfig.
Apply against 2.6.9.

Signed-off by: James Nelson <[email protected]>

diff -u arch/sh/drivers/pci/Kconfig.orig arch/sh/drivers/pci/Kconfig
--- arch/sh/drivers/pci/Kconfig.orig 2004-10-17 15:22:15.567649627 -0400
+++ arch/sh/drivers/pci/Kconfig 2004-10-17 15:23:00.778611363 -0400
@@ -3,8 +3,7 @@
help
Find out whether you have a PCI motherboard. PCI is the name of a
bus system, i.e. the way the CPU talks to the other stuff inside
- your box. Other bus systems are ISA, EISA, MicroChannel (MCA) or
- VESA. If you have PCI, say Y, otherwise N.
+ your box. If you have PCI, say Y, otherwise N.

The PCI-HOWTO, available from
<http://www.tldp.org/docs.html#howto>, contains valuable


2004-10-28 15:01:08

by Jim Nelson

[permalink] [raw]
Subject: [PATCH 2/9] to arch/sparc64/Kconfig

Description: Remove x86-specific help in arch/sparc64/Kconfig.
Apply against 2.6.9.

Signed-off by: James Nelson <[email protected]>

diff -u ./arch/sparc64/Kconfig.orig ./arch/sparc64/Kconfig
--- ./arch/sparc64/Kconfig.orig 2004-10-16 11:23:24.940665125 -0400
+++ ./arch/sparc64/Kconfig 2004-10-16 11:29:32.674618258 -0400
@@ -92,8 +92,8 @@
bool "Symmetric multi-processing support"
---help---
This enables support for systems with more than one CPU. If you have
- a system with only one CPU, like most personal computers, say N. If
- you have a system with more than one CPU, say Y.
+ a system with only one CPU, say N. If you have a system with more than
+ one CPU, say Y.

If you say N here, the kernel will run on single and multiprocessor
machines, but will use only one CPU of a multiprocessor machine. If
@@ -101,17 +101,11 @@
singleprocessor machines. On a singleprocessor machine, the kernel
will run faster if you say N here.

- Note that if you say Y here and choose architecture "586" or
- "Pentium" under "Processor family", the kernel will not work on 486
- architectures. Similarly, multiprocessor kernels for the "PPro"
- architecture may not work on all Pentium based boards.
-
People using multiprocessor machines who say Y here should also say
Y to "Enhanced Real Time Clock Support", below. The "Advanced Power
Management" code will be disabled if you say Y here.

See also the <file:Documentation/smp.txt>,
- <file:Documentation/i386/IO-APIC.txt>,
<file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO available at
<http://www.tldp.org/docs.html#howto>.

2004-10-28 15:03:42

by Jim Nelson

[permalink] [raw]
Subject: [PATCH 5/9] to arch/sparc/Kconfig

Description: Remove x86-specific help in arch/sparc/Kconfig.
Apply against 2.6.9.

Signed-off by: James Nelson <[email protected]>

diff -u ./arch/sparc/Kconfig.orig ./arch/sparc/Kconfig
--- ./arch/sparc/Kconfig.orig 2004-10-16 09:53:49.626021592 -0400
+++ ./arch/sparc/Kconfig 2004-10-16 10:18:35.964664772 -0400
@@ -188,10 +188,10 @@
(/dev/tty0) will still be used as the system console by default, but
you can alter that using a kernel command line option such as
"console=ttyS1". (Try "man bootparam" or see the documentation of
- your boot loader (lilo or loadlin) about how to pass options to the
- kernel at boot time.)
+ your boot loader (silo) about how to pass options to the kernel at
+ boot time.)

- If you don't have a VGA card installed and you say Y here, the
+ If you don't have a graphics card installed and you say Y here, the
kernel will automatically use the first serial line, /dev/ttyS0, as
system console.

2004-10-28 15:03:40

by Jim Nelson

[permalink] [raw]
Subject: [PATCH 6/9] to arch/sparc/Kconfig

Description: Remove x86-specific help in arch/sparc/Kconfig.
Apply against 2.6.9.

Signed-off by: James Nelson <[email protected]>

diff -u ./arch/sparc/Kconfig.orig ./arch/sparc/Kconfig
--- ./arch/sparc/Kconfig.orig 2004-10-16 09:53:49.626021592 -0400
+++ ./arch/sparc/Kconfig 2004-10-16 10:02:10.724152771 -0400
@@ -85,8 +85,8 @@
depends on BROKEN
---help---
This enables support for systems with more than one CPU. If you have
- a system with only one CPU, like most personal computers, say N. If
- you have a system with more than one CPU, say Y.
+ a system with only one CPU, say N. If you have a system with more
+ than one CPU, say Y.

If you say N here, the kernel will run on single and multiprocessor
machines, but will use only one CPU of a multiprocessor machine. If
@@ -94,17 +94,11 @@
singleprocessor machines. On a singleprocessor machine, the kernel
will run faster if you say N here.

- Note that if you say Y here and choose architecture "586" or
- "Pentium" under "Processor family", the kernel will not work on 486
- architectures. Similarly, multiprocessor kernels for the "PPro"
- architecture may not work on all Pentium based boards.
-
People using multiprocessor machines who say Y here should also say
Y to "Enhanced Real Time Clock Support", below. The "Advanced Power
Management" code will be disabled if you say Y here.

See also the <file:Documentation/smp.txt>,
- <file:Documentation/i386/IO-APIC.txt>,
<file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO available at
<http://www.tldp.org/docs.html#howto>.

2004-10-28 15:03:41

by Jim Nelson

[permalink] [raw]
Subject: [PATCH 4/9] to arch/sparc/Kconfig

Description: Remove x86-specific help in arch/sparc/Kconfig.
Apply against 2.6.9.

Signed-off by: James Nelson <[email protected]>

diff -u ./arch/sparc/Kconfig.orig ./arch/sparc/Kconfig
--- ./arch/sparc/Kconfig.orig 2004-10-16 09:53:49.626021592 -0400
+++ ./arch/sparc/Kconfig 2004-10-16 10:15:30.184460399 -0400
@@ -281,9 +281,9 @@

If you have several parallel ports, you can specify which ports to
use with the "lp" kernel command line option. (Try "man bootparam"
- or see the documentation of your boot loader (lilo or loadlin) about
- how to pass options to the kernel at boot time.) The syntax of the
- "lp" command line option can be found in <file:drivers/char/lp.c>.
+ or see the documentation of your boot loader (silo) about how to pass
+ options to the kernel at boot time.) The syntax of the "lp" command
+ line option can be found in <file:drivers/char/lp.c>.

If you have more than 8 printers, you need to increase the LP_NO
macro in lp.c and the PARPORT_MAX macro in parport.h.

2004-10-28 15:07:33

by Jim Nelson

[permalink] [raw]
Subject: [PATCH 3/9] to arch/sparc64/Kconfig

Description: Remove x86-specific help in arch/sparc64/Kconfig.
Apply against 2.6.9.

Signed-off by: James Nelson <[email protected]>

diff -u ./arch/sparc64/Kconfig.orig ./arch/sparc64/Kconfig
--- ./arch/sparc64/Kconfig.orig 2004-10-16 11:23:24.940665125 -0400
+++ ./arch/sparc64/Kconfig 2004-10-16 11:23:55.089644059 -0400
@@ -79,8 +79,8 @@
terminal (/dev/tty0) will be used as system console. You can change
that with a kernel command line option such as "console=tty3" which
would use the third virtual terminal as system console. (Try "man
- bootparam" or see the documentation of your boot loader (lilo or
- loadlin) about how to pass options to the kernel at boot time.)
+ bootparam" or see the documentation of your boot loader (silo)
+ about how to pass options to the kernel at boot time.)

If unsure, say Y.

2004-10-28 15:12:32

by Jim Nelson

[permalink] [raw]
Subject: [PATCH 7/9] to arch/sparc/Kconfig

Description: Add default for SUN4 in arch/sparc/Kconfig.
Apply against 2.6.9.

Signed-off by: James Nelson <[email protected]>

diff -u ./arch/sparc/Kconfig.orig ./arch/sparc/Kconfig
--- ./arch/sparc/Kconfig.orig 2004-10-16 09:53:49.626021592 -0400
+++ ./arch/sparc/Kconfig 2004-10-16 10:09:58.304756208 -0400
@@ -222,6 +222,7 @@
config SUN4
bool "Support for SUN4 machines (disables SUN4[CDM] support)"
depends on !SMP
+ default n
help
Say Y here if, and only if, your machine is a sun4. Note that
a kernel compiled with this option will run only on sun4.

2004-10-28 15:12:35

by Jim Nelson

[permalink] [raw]
Subject: [PATCH 9/9] to kernel/power/Kconfig

Description: Fix a couple of misspellings in kernel/power/Kconfig.
Apply against 2.6.9.

Signed-off-by: James Nelson <[email protected]>

diff -urN --exclude='*~' linux-2.6.9-original/kernel/power/Kconfig linux-2.6.9/kernel/power/Kconfig
--- linux-2.6.9-original/kernel/power/Kconfig 2004-10-18 17:54:55.000000000 -0400
+++ linux-2.6.9/kernel/power/Kconfig 2004-10-28 10:53:02.583350353 -0400
@@ -29,7 +29,7 @@
bool "Software Suspend (EXPERIMENTAL)"
depends on EXPERIMENTAL && PM && SWAP
---help---
- Enable the possibilty of suspendig machine. It doesn't need APM.
+ Enable the possibility of suspending machine. It doesn't need APM.
You may suspend your machine by 'swsusp' or 'shutdown -z <time>'
(patch for sysvinit needed).

2004-10-28 15:24:31

by Matthew Wilcox

[permalink] [raw]
Subject: Re: [KJ] [PATCH 7/9] to arch/sparc/Kconfig

On Thu, Oct 28, 2004 at 10:01:12AM -0500, [email protected] wrote:
> Description: Add default for SUN4 in arch/sparc/Kconfig.
> Apply against 2.6.9.

The default is already "no". This patch seems pointless.

--
"Next the statesmen will invent cheap lies, putting the blame upon
the nation that is attacked, and every man will be glad of those
conscience-soothing falsities, and will diligently study them, and refuse
to examine any refutations of them; and thus he will by and by convince
himself that the war is just, and will thank God for the better sleep
he enjoys after this process of grotesque self-deception." -- Mark Twain

2004-10-28 15:32:49

by Jim Nelson

[permalink] [raw]
Subject: Re: [KJ] [PATCH 7/9] to arch/sparc/Kconfig

Matthew Wilcox wrote:
> On Thu, Oct 28, 2004 at 10:01:12AM -0500, [email protected] wrote:
>
>>Description: Add default for SUN4 in arch/sparc/Kconfig.
>>Apply against 2.6.9.
>
>
> The default is already "no". This patch seems pointless.
>

Err, you're right. Unless it is better to have a default on all configuration items.

That'd fix the "# THIS_OPTION is not set" notes in .config, but that's a bit of
heavy lifting, going through all of the Kconfig files.

Opinions?

2004-10-28 15:12:33

by Jim Nelson

[permalink] [raw]
Subject: [PATCH 8/9] to arch/sparc/Kconfig

Description: Make config choice for OpenPROM more obvious in arch/sparc/Kconfig.
Apply against 2.6.9.

Signed-off by: James Nelson <[email protected]>

diff -u ./arch/sparc/Kconfig.orig ./arch/sparc/Kconfig
--- arch/sparc/Kconfig.orig 2004-10-16 09:53:49.626021592 -0400
+++ arch/sparc/Kconfig 2004-10-18 18:38:05.125374024 -0400
@@ -248,7 +248,10 @@
-t openpromfs none /proc/openprom".

To compile the /proc/openprom support as a module, choose M here: the
- module will be called openpromfs. If unsure, choose M.
+ module will be called openpromfs.
+
+ Only choose N if you know in advance that you will not need to modify
+ OpenPROM settings on the running system.

source "fs/Kconfig.binfmt"