[kbuild-devel] Trivial patch to kernel/power/Kconfig

2004-10-16 Thread Jim Nelson
Fixes misspelling in kernel/power/Kconfig in 2.6.9-rc4
diff -u  kernel/power/Kconfig.orig kernel/power/Kconfig
--- kernel/power/Kconfig.orig	2004-10-16 08:58:00.312882090 -0400
+++ kernel/power/Kconfig	2004-10-16 08:58:38.811749044 -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 possibilty of suspending machine. It doesn't need APM.
 	  You may suspend your machine by 'swsusp' or 'shutdown -z ' 
 	  (patch for sysvinit needed). 
 


[kbuild-devel] Patch to arch/sparc/Kconfig

2004-10-16 Thread Jim Nelson
Fixes x86-specific help in SPARC32 SMP support help.
(I know SPARC32 SMP is broken, but I'm hoping to start working on that 
when my assembler skills are better)
--- ./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 ,
-	  ,
 	   and the SMP-HOWTO available at
 	  .
 


[kbuild-devel] More patches to arch/sparc/Kconfig [1 of 4]

2004-10-16 Thread Jim Nelson
Fixes typo in help in openpromfs for 2.6.9-rc4.
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:13:17.660148269 -0400
@@ -248,7 +248,7 @@
 	  -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.  If unsure, choose N.
 
 source "fs/Kconfig.binfmt"
 


[kbuild-devel] More patches to arch/sparc/Kconfig [2 of 4]

2004-10-16 Thread Jim Nelson
Fixes x86-specific bootlaoder help in serial console
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.
 


[kbuild-devel] More patches to arch/sparc/Kconfig [3 of 4]

2004-10-16 Thread Jim Nelson
Makes sun4 default to "N" - most SPARC32 systems did not use these.
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.


[kbuild-devel] More patches to arch/sparc/Kconfig [4 of 4]

2004-10-16 Thread Jim Nelson
Fixes x86-specific bootloader help in printer config
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 .
+	  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 .
 
 	  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.


[kbuild-devel] Patch to drivers/video/Kconfig [1 of 4]

2004-10-16 Thread Jim Nelson
Fixes undefined symbol references when running "make config" for systems 
that have PCI but not AGP (sparc, sparc64)

Against 2.6.9-rc4:
diff -u drivers/video/Kconfig.orig drivers/video/Kconfig
--- drivers/video/Kconfig.orig	2004-10-16 11:58:32.738491881 -0400
+++ drivers/video/Kconfig	2004-10-16 12:51:57.221487678 -0400
@@ -460,11 +460,12 @@
 	  of debugging informations to provide to the maintainer when
 	  something goes wrong.
 
+comment "Enable AGP and AGP_INTEL for Intel 810/815 support (EXPERIMENTAL)."
+	depends on FB && EXPERIMENTAL && X86 && !X86_64 && PCI &&!(AGP && AGP_INTEL)
+
 config FB_I810
 	tristate "Intel 810/815 support (EXPERIMENTAL)"
-	depends on FB && EXPERIMENTAL && PCI && X86 && !X86_64
-	select AGP
-	select AGP_INTEL
+	depends on FB && EXPERIMENTAL && AGP && AGP_INTEL && X86 && !X86_64
 	select FB_MODE_HELPERS
 	help
 	  This driver supports the on-board graphics built in to the Intel 810 


[kbuild-devel] Patch to drivers/video/Kconfig [2 of 4]

2004-10-16 Thread Jim Nelson
Fix undefined symbol errors in "make config" on architectures that do 
not have I2C (sparc, primarily)

Against 2.6.9-rc4:
diff -u drivers/video/Kconfig.orig drivers/video/Kconfig
--- drivers/video/Kconfig.orig	2004-10-16 11:58:32.738491881 -0400
+++ drivers/video/Kconfig	2004-10-16 12:55:51.225105213 -0400
@@ -586,10 +586,12 @@
 	depends on FB_MATROX && (FB_MATROX_G450 || FB_MATROX_G100A)
 	default y
 
+comment "Enable I2C and I2C_ALGOBIT to enable Matrox I2C support."
+	depends on FB_MATROX && !(I2C && I2C_ALGOBIT)
+
 config FB_MATROX_I2C
 	tristate "Matrox I2C support"
-	depends on FB_MATROX && I2C
-	select I2C_ALGOBIT
+	depends on FB_MATROX && I2C && I2C_ALGOBIT
 	---help---
 	  This drivers creates I2C buses which are needed for accessing the
 	  DDC (I2C) bus present on all Matroxes, an I2C bus which


[kbuild-devel] Patch to drivers/video/Kconfig [3 of 4]

2004-10-16 Thread Jim Nelson
Fix undefined symbol errors in "make config" on architectures that do 
not have I2C (sparc, primarily)

Against 2.6.9-rc4:
diff -u drivers/video/Kconfig.orig drivers/video/Kconfig
---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
kbuild-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/kbuild-devel


[kbuild-devel] Patch to drivers/video/Kconfig [4 of 4]

2004-10-16 Thread Jim Nelson
Fix undefined symbol errors in "make config" on architectures that do 
not have I2C (sparc, primarily)

Against 2.6.9-rc4:
diff -u drivers/video/Kconfig.orig drivers/video/Kconfig
---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
kbuild-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/kbuild-devel


[kbuild-devel] Patch to arch/sparc64/Kconfig [2 of 2]

2004-10-16 Thread Jim Nelson
Fixing x86-specific help references to bootloader.
Against 2.6.9-rc4
diff -u arch/sparc64/Kconfig.orig arch/sparc54/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 ,
-	  ,
 	   and the SMP-HOWTO available at
 	  .
 


[kbuild-devel] Patch to arch/sparc64/Kconfig [1 of 2]

2004-10-16 Thread Jim Nelson
Fixing x86-specific help references to bootloader.
Against 2.6.9-rc4
diff -u arch/sparc64/Kconfig.orig arch/sparc54/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.
 


Re: [kbuild-devel] Patch to drivers/video/Kconfig [3 of 4]

2004-10-16 Thread Jim Nelson
Jim Nelson wrote:
Fix undefined symbol errors in "make config" on architectures that do 
not have I2C (sparc, primarily)

Against 2.6.9-rc4:
diff -u drivers/video/Kconfig.orig drivers/video/Kconfig
---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out 
more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
kbuild-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/kbuild-devel


--- drivers/video/Kconfig.orig	2004-10-16 11:58:32.738491881 -0400
+++ drivers/video/Kconfig	2004-10-16 13:07:09.222883919 -0400
@@ -667,8 +667,6 @@
 config FB_RADEON
 	tristate "ATI Radeon display support"
 	depends on FB && PCI
-	select I2C_ALGOBIT if FB_RADEON_I2C
-	select I2C if FB_RADEON_I2C
 	select FB_MODE_HELPERS
 	help
 	  Choose this option if you want to use an ATI Radeon graphics card as
@@ -685,9 +683,12 @@
 	  There is a product page at
 	  <http://www.ati.com/na/pages/products/pc/radeon32/index.html>.
 
+comment "Enable I2C and I2C_ALGOBIT to enable ATI Radeon DDC/I2C support."
+	depends on FB_RADEON && !(I2C && I2C_ALGOBIT)
+
 config FB_RADEON_I2C
 	bool "DDC/I2C for ATI Radeon support"
-	depends on FB_RADEON
+	depends on FB_RADEON && I2C && I2C_ALGOBIT
 	default y
 	help
 	  Say Y here if you want DDC/I2C support for your Radeon board. 


Re: [kbuild-devel] Patch to drivers/video/Kconfig [4 of 4]

2004-10-16 Thread Jim Nelson
Jim Nelson wrote:
Fix undefined symbol errors in "make config" on architectures that do 
not have I2C (sparc, primarily)

Against 2.6.9-rc4:
diff -u drivers/video/Kconfig.orig drivers/video/Kconfig

Sorry about that, I didn't attach two of those patches.
--- drivers/video/Kconfig.orig	2004-10-16 11:58:32.738491881 -0400
+++ drivers/video/Kconfig	2004-10-16 12:24:54.896505429 -0400
@@ -428,8 +428,6 @@
 config FB_RIVA
 	tristate "nVidia Riva support"
 	depends on FB && PCI
-	select I2C_ALGOBIT if FB_RIVA_I2C
-	select I2C if FB_RIVA_I2C
 	select FB_MODE_HELPERS
 	help
 	  This driver supports graphics boards with the nVidia Riva/Geforce
@@ -441,7 +439,7 @@
 
 config FB_RIVA_I2C
bool "Enable DDC Support"
-   depends on FB_RIVA
+   depends on FB_RIVA && I2C && I2C_ALGOBIT
help
 	  This enables I2C support for nVidia Chipsets.  This is used
 	  only for getting EDID information from the attached display
@@ -451,6 +449,9 @@
 	  independently validate video mode parameters, you should say Y
 	  here.
 
+comment "You must enable I2C and I2C_ALGOBIT for nVidia Riva DDC Support."
+	depends on !(I2C && I2C_ALGOBIT) && FB_RIVA
+
 config FB_RIVA_DEBUG
 	bool "Lots of debug output from Riva(nVidia) driver"
 	depends on FB_RIVA


[kbuild-devel] Fix help in arch/sh/drivers/pci/Kconfig

2004-10-17 Thread Jim Nelson
Removes x86-specific help in CONFIG_PCI - from 2.6.9-rc4.
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
 	  , contains valuable


Re: [kbuild-devel] Trivial patch to kernel/power/Kconfig

2004-10-19 Thread Jim Nelson
Sam Ravnborg wrote:
On Sat, Oct 16, 2004 at 09:25:48AM -0400, Jim Nelson wrote:
Fixes misspelling in kernel/power/Kconfig in 2.6.9-rc4
diff -u  kernel/power/Kconfig.orig kernel/power/Kconfig

Hi Jim.
Can you please resend everything to linux-kernel.
There they will get proper peer-review - the audience here is limited.
Keep it as one change/mail as you did so far. And if you forget a patch then
include the changelog also in the second mail. That will make it much
easier to apply the patch.
If no one object I will take the patches after a day or two on linux-kernel.
Sam

There was one quibble that I addressed on the patchset.  If you want, I 
can re-send them (following SubmittingPatches this time - **WARNING - 
newbie on the loose** - oops) to both kbuild-devel & lkml, with the new 
arch/sparc/Kconfig modification.

---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
kbuild-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/kbuild-devel