- bound vnet mods by #ifdef
[linux-2.6.git] / drivers / char / Kconfig
index f9e31a5..e415ff8 100644 (file)
@@ -59,7 +59,7 @@ config VT_CONSOLE
 
 config HW_CONSOLE
        bool
 
 config HW_CONSOLE
        bool
-       depends on VT && !S390 && !UM
+       depends on VT && !S390 && !USERMODE
        default y
 
 config SERIAL_NONSTANDARD
        default y
 
 config SERIAL_NONSTANDARD
@@ -203,7 +203,7 @@ config MOXA_SMARTIO
 
 config ISI
        tristate "Multi-Tech multiport card support (EXPERIMENTAL)"
 
 config ISI
        tristate "Multi-Tech multiport card support (EXPERIMENTAL)"
-       depends on SERIAL_NONSTANDARD && EXPERIMENTAL && BROKEN_ON_SMP && m
+       depends on SERIAL_NONSTANDARD && PCI && EXPERIMENTAL && BROKEN_ON_SMP && m
        help
          This is a driver for the Multi-Tech cards which provide several
          serial ports.  The driver is experimental and can currently only be
        help
          This is a driver for the Multi-Tech cards which provide several
          serial ports.  The driver is experimental and can currently only be
@@ -212,7 +212,7 @@ config ISI
 
 config SYNCLINK
        tristate "Microgate SyncLink card support"
 
 config SYNCLINK
        tristate "Microgate SyncLink card support"
-       depends on SERIAL_NONSTANDARD
+       depends on SERIAL_NONSTANDARD && PCI
        help
          Provides support for the SyncLink ISA and PCI multiprotocol serial
          adapters. These adapters support asynchronous and HDLC bit
        help
          Provides support for the SyncLink ISA and PCI multiprotocol serial
          adapters. These adapters support asynchronous and HDLC bit
@@ -371,22 +371,6 @@ config AU1000_UART
          If you have an Alchemy AU1000 processor (MIPS based) and you want
          to use serial ports, say Y.  Otherwise, say N.
 
          If you have an Alchemy AU1000 processor (MIPS based) and you want
          to use serial ports, say Y.  Otherwise, say N.
 
-config SGI_L1_SERIAL
-       bool "SGI Altix L1 serial support"
-       depends on SERIAL_NONSTANDARD && IA64 && DISCONTIGMEM
-       help
-         If you have an SGI Altix and you want to use the serial port
-         connected to the system controller (you want this!), say Y.
-         Otherwise, say N.
-
-config SGI_L1_SERIAL_CONSOLE
-       bool "SGI Altix L1 serial console support"
-       depends on SGI_L1_SERIAL
-       help
-         If you have an SGI Altix and you would like to use the system
-         controller serial port as your console (you want this!),
-         say Y.  Otherwise, say N.
-
 config AU1000_SERIAL_CONSOLE
        bool "Enable Au1000 serial console"
        depends on AU1000_UART
 config AU1000_SERIAL_CONSOLE
        bool "Enable Au1000 serial console"
        depends on AU1000_UART
@@ -440,6 +424,14 @@ config A2232
          will also be built as a module. This has to be loaded before
          "ser_a2232". If you want to do this, answer M here.
 
          will also be built as a module. This has to be loaded before
          "ser_a2232". If you want to do this, answer M here.
 
+config SGI_SNSC
+       bool "SGI Altix system controller communication support"
+       depends on (IA64_SGI_SN2 || IA64_GENERIC)
+       help
+         If you have an SGI Altix and you want to enable system
+         controller communication from user space (you want this!),
+         say Y.  Otherwise, say N.
+
 source "drivers/serial/Kconfig"
 
 config UNIX98_PTYS
 source "drivers/serial/Kconfig"
 
 config UNIX98_PTYS
@@ -588,38 +580,22 @@ config HVC_CONSOLE
          console. This driver allows each pSeries partition to have a console
          which is accessed via the HMC.
 
          console. This driver allows each pSeries partition to have a console
          which is accessed via the HMC.
 
-config QIC02_TAPE
-       tristate "QIC-02 tape support"
+config HVCS
+       tristate "IBM Hypervisor Virtual Console Server support"
+       depends on PPC_PSERIES
        help
        help
-         If you have a non-SCSI tape drive like that, say Y.
+         Partitionable IBM Power5 ppc64 machines allow hosting of
+         firmware virtual consoles from one Linux partition by
+         another Linux partition.  This driver allows console data
+         from Linux partitions to be accessed through TTY device
+         interfaces in the device tree of a Linux partition running
+         this driver.
 
          To compile this driver as a module, choose M here: the
 
          To compile this driver as a module, choose M here: the
-         module will be called tpqic02.
-
-config QIC02_DYNCONF
-       bool "Do you want runtime configuration for QIC-02"
-       depends on QIC02_TAPE
-       help
-         You can either configure this driver once and for all by editing a
-         header file (<file:include/linux/tpqic02.h>), in which case you
-         should say N, or you can fetch a program via anonymous FTP which is
-         able to configure this driver during runtime.  The program to do
-         this is called 'qic02conf' and it is part of the
-         tpqic02-support-X.Y.tar.gz support package.
-
-         If you want to use the qic02conf program, say Y.
-
-comment "Edit configuration parameters in ./include/linux/tpqic02.h!"
-       depends on QIC02_TAPE && !QIC02_DYNCONF
-
-comment "Setting runtime QIC-02 configuration is done with qic02conf"
-       depends on QIC02_TAPE && QIC02_DYNCONF
-
-comment "from the tpqic02-support package.  It is available at"
-       depends on QIC02_TAPE && QIC02_DYNCONF
-
-comment "metalab.unc.edu or ftp://titus.cfw.com/pub/Linux/util/"
-       depends on QIC02_TAPE && QIC02_DYNCONF
+         module will be called hvcs.ko.  Additionally, this module
+         will depend on arch specific APIs exported from hvcserver.ko
+         which will also be compiled when this driver is built as a
+         module.
 
 source "drivers/char/ipmi/Kconfig"
 
 
 source "drivers/char/ipmi/Kconfig"
 
@@ -779,7 +755,7 @@ config SGI_IP27_RTC
 
 config GEN_RTC
        tristate "Generic /dev/rtc emulation"
 
 config GEN_RTC
        tristate "Generic /dev/rtc emulation"
-       depends on RTC!=y && !IA64
+       depends on RTC!=y && !IA64 && !ARM
        ---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
        ---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
@@ -837,6 +813,7 @@ config R3964
 
 config APPLICOM
        tristate "Applicom intelligent fieldbus card support"
 
 config APPLICOM
        tristate "Applicom intelligent fieldbus card support"
+       depends on PCI
        ---help---
          This driver provides the kernel-side support for the intelligent
          fieldbus cards made by Applicom International. More information
        ---help---
          This driver provides the kernel-side support for the intelligent
          fieldbus cards made by Applicom International. More information
@@ -867,7 +844,7 @@ menu "Ftape, the floppy tape device driver"
 
 config FTAPE
        tristate "Ftape (QIC-80/Travan) support"
 
 config FTAPE
        tristate "Ftape (QIC-80/Travan) support"
-       depends on BROKEN_ON_SMP
+       depends on BROKEN_ON_SMP && (ALPHA || X86)
        ---help---
          If you have a tape drive that is connected to your floppy
          controller, say Y here.
        ---help---
          If you have a tape drive that is connected to your floppy
          controller, say Y here.
@@ -976,14 +953,18 @@ config HPET_RTC_IRQ
          is assumed the platform called hpet_alloc with the RTC IRQ values for
          the HPET timers.
 
          is assumed the platform called hpet_alloc with the RTC IRQ values for
          the HPET timers.
 
-config HPET_NOMMAP
-       bool "HPET - Control mmap capability."
-       default n
+config HPET_MMAP
+       bool "Allow mmap of HPET"
+       default y
        depends on HPET
        help
        depends on HPET
        help
-         If you say Y here, then the mmap interface for the HPET driver returns ENOSYS.
-         Some hardware implementations might not want all the memory in the page the
-         HPET control registers reside to be exposed.
+         If you say Y here, user applications will be able to mmap
+         the HPET registers.
+
+         In some hardware implementations, the page containing HPET
+         registers may also contain other things that shouldn't be
+         exposed to the user.  If this applies to your hardware,
+         say N here.
 
 config MAX_RAW_DEVS
        int "Maximum number of RAW devices to support (1-8192)"
 
 config MAX_RAW_DEVS
        int "Maximum number of RAW devices to support (1-8192)"
@@ -1002,5 +983,13 @@ config HANGCHECK_TIMER
          out to lunch past a certain margin.  It can reboot the system
          or merely print a warning.
 
          out to lunch past a certain margin.  It can reboot the system
          or merely print a warning.
 
+config MMTIMER
+       tristate "MMTIMER Memory mapped RTC for SGI Altix"
+       depends on IA64_GENERIC || IA64_SGI_SN2
+       default y
+       help
+         The mmtimer device allows direct userspace access to the
+         Altix system timer.
+
 endmenu
 
 endmenu