* [PATCH 3/8] Kconfig: unwanted config options for s390.
@ 2007-04-20 11:33 Martin Schwidefsky
2007-04-21 23:15 ` Arnd Bergmann
0 siblings, 1 reply; 3+ messages in thread
From: Martin Schwidefsky @ 2007-04-20 11:33 UTC (permalink / raw)
To: linux-kernel, linux-s390; +Cc: akpm
From: Martin Schwidefsky <schwidefsky@de.ibm.com>
Disable all configuration options in the common Kconfig files that
are of no interest to a s390 machine.
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
---
drivers/char/Kconfig | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
diff -urpN linux-2.6/drivers/char/Kconfig linux-2.6-patched/drivers/char/Kconfig
--- linux-2.6/drivers/char/Kconfig 2007-04-19 15:49:51.000000000 +0200
+++ linux-2.6-patched/drivers/char/Kconfig 2007-04-19 15:50:50.000000000 +0200
@@ -6,6 +6,7 @@ menu "Character devices"
config VT
bool "Virtual terminal" if EMBEDDED
+ depends on !S390
select INPUT
default y if !VIOCONS
---help---
@@ -81,6 +82,7 @@ config VT_HW_CONSOLE_BINDING
config SERIAL_NONSTANDARD
bool "Non-standard serial port support"
+ depends on !S390
---help---
Say Y here if you have any non-standard serial boards -- boards
which aren't supported using the standard "dumb" serial driver.
@@ -774,7 +776,7 @@ config NVRAM
config RTC
tristate "Enhanced Real Time Clock Support"
- depends on !PPC && !PARISC && !IA64 && !M68K && (!SPARC || PCI) && !FRV && !ARM && !SUPERH
+ depends on !PPC && !PARISC && !IA64 && !M68K && (!SPARC || PCI) && !FRV && !ARM && !SUPERH && !S390
---help---
If you say Y here and create a character special file /dev/rtc with
major number 10 and minor number 135 using mknod ("man mknod"), you
@@ -822,7 +824,7 @@ config SGI_IP27_RTC
config GEN_RTC
tristate "Generic /dev/rtc emulation"
- depends on RTC!=y && !IA64 && !ARM && !M32R && !SPARC && !FRV
+ depends on RTC!=y && !IA64 && !ARM && !M32R && !SPARC && !FRV && !S390
---help---
If you say Y here and create a character special file /dev/rtc with
major number 10 and minor number 135 using mknod ("man mknod"), you
@@ -878,6 +880,7 @@ config DTLK
config R3964
tristate "Siemens R3964 line discipline"
+ depends on !S390
---help---
This driver allows synchronous communication with devices using the
Siemens R3964 packet protocol. Unless you are dealing with special
@@ -1053,7 +1056,7 @@ config HPET_MMAP
config HANGCHECK_TIMER
tristate "Hangcheck timer"
- depends on X86 || IA64 || PPC64
+ depends on X86 || IA64 || PPC64 || S390
help
The hangcheck-timer module detects when the system has gone
out to lunch past a certain margin. It can reboot the system
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH 3/8] Kconfig: unwanted config options for s390.
2007-04-20 11:33 [PATCH 3/8] Kconfig: unwanted config options for s390 Martin Schwidefsky
@ 2007-04-21 23:15 ` Arnd Bergmann
2007-04-22 8:01 ` Martin Schwidefsky
0 siblings, 1 reply; 3+ messages in thread
From: Arnd Bergmann @ 2007-04-21 23:15 UTC (permalink / raw)
To: Martin Schwidefsky; +Cc: linux-kernel, linux-s390, akpm
On Friday 20 April 2007, Martin Schwidefsky wrote:
> diff -urpN linux-2.6/drivers/char/Kconfig linux-2.6-patched/drivers/char/Kconfig
> --- linux-2.6/drivers/char/Kconfig 2007-04-19 15:49:51.000000000 +0200
> +++ linux-2.6-patched/drivers/char/Kconfig 2007-04-19 15:50:50.000000000 +0200
> @@ -6,6 +6,7 @@ menu "Character devices"
>
> config VT
> bool "Virtual terminal" if EMBEDDED
> + depends on !S390
> select INPUT
> default y if !VIOCONS
> ---help---
ok
> @@ -81,6 +82,7 @@ config VT_HW_CONSOLE_BINDING
>
> config SERIAL_NONSTANDARD
> bool "Non-standard serial port support"
> + depends on !S390
> ---help---
> Say Y here if you have any non-standard serial boards -- boards
> which aren't supported using the standard "dumb" serial driver.
depends on MMIO
> @@ -774,7 +776,7 @@ config NVRAM
>
> config RTC
> tristate "Enhanced Real Time Clock Support"
> - depends on !PPC && !PARISC && !IA64 && !M68K && (!SPARC || PCI) && !FRV && !ARM && !SUPERH
> + depends on !PPC && !PARISC && !IA64 && !M68K && (!SPARC || PCI) && !FRV && !ARM && !SUPERH && !S390
> ---help---
> If you say Y here and create a character special file /dev/rtc with
> major number 10 and minor number 135 using mknod ("man mknod"), you
> @@ -822,7 +824,7 @@ config SGI_IP27_RTC
>
> config GEN_RTC
> tristate "Generic /dev/rtc emulation"
> - depends on RTC!=y && !IA64 && !ARM && !M32R && !SPARC && !FRV
> + depends on RTC!=y && !IA64 && !ARM && !M32R && !SPARC && !FRV && !S390
> ---help---
> If you say Y here and create a character special file /dev/rtc with
> major number 10 and minor number 135 using mknod ("man mknod"), you
ok.
this one is bad in general and should probably be a select from the architecture,
but that should not stop you from adding another architecture...
> @@ -878,6 +880,7 @@ config DTLK
>
> config R3964
> tristate "Siemens R3964 line discipline"
> + depends on !S390
> ---help---
> This driver allows synchronous communication with devices using the
> Siemens R3964 packet protocol. Unless you are dealing with special
Does it build? I don't see a point disabling this one just because there are
no users. Most architectures also don't have users for this one, but it
doesn't hurt be able to build it using allyesconfig.
Arnd <><
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH 3/8] Kconfig: unwanted config options for s390.
2007-04-21 23:15 ` Arnd Bergmann
@ 2007-04-22 8:01 ` Martin Schwidefsky
0 siblings, 0 replies; 3+ messages in thread
From: Martin Schwidefsky @ 2007-04-22 8:01 UTC (permalink / raw)
To: Arnd Bergmann; +Cc: linux-kernel, linux-s390, akpm
On Sun, 2007-04-22 at 01:15 +0200, Arnd Bergmann wrote:
> > @@ -81,6 +82,7 @@ config VT_HW_CONSOLE_BINDING
> >
> > config SERIAL_NONSTANDARD
> > bool "Non-standard serial port support"
> > + depends on !S390
> > ---help---
> > Say Y here if you have any non-standard serial boards -- boards
> > which aren't supported using the standard "dumb" serial driver.
>
> depends on MMIO
Depends on HAS_IOMEM.
> > @@ -822,7 +824,7 @@ config SGI_IP27_RTC
> >
> > config GEN_RTC
> > tristate "Generic /dev/rtc emulation"
> > - depends on RTC!=y && !IA64 && !ARM && !M32R && !SPARC && !FRV
> > + depends on RTC!=y && !IA64 && !ARM && !M32R && !SPARC && !FRV && !S390
> > ---help---
> > If you say Y here and create a character special file /dev/rtc with
> > major number 10 and minor number 135 using mknod ("man mknod"), you
>
> ok.
>
> this one is bad in general and should probably be a select from the architecture,
> but that should not stop you from adding another architecture...
The disable extension would help here, but I never got anywhere with it.
> > @@ -878,6 +880,7 @@ config DTLK
> >
> > config R3964
> > tristate "Siemens R3964 line discipline"
> > + depends on !S390
> > ---help---
> > This driver allows synchronous communication with devices using the
> > Siemens R3964 packet protocol. Unless you are dealing with special
>
> Does it build? I don't see a point disabling this one just because there are
> no users. Most architectures also don't have users for this one, but it
> doesn't hurt be able to build it using allyesconfig.
I'll try to build it.
--
blue skies, IBM Deutschland Entwicklung GmbH
Martin Vorsitzender des Aufsichtsrats: Johann Weihen
Geschäftsführung: Herbert Kircher
Martin Schwidefsky Sitz der Gesellschaft: Böblingen
Linux on zSeries Registergericht: Amtsgericht Stuttgart,
Development HRB 243294
"Reality continues to ruin my life." - Calvin.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-04-22 8:01 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-20 11:33 [PATCH 3/8] Kconfig: unwanted config options for s390 Martin Schwidefsky
2007-04-21 23:15 ` Arnd Bergmann
2007-04-22 8:01 ` Martin Schwidefsky
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).