]> Pileus Git - ~andy/linux/commitdiff
Merge branch 'for-linus' of git://git390.osdl.marist.edu/pub/scm/linux-2.6
authorLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 10 May 2007 18:50:51 +0000 (11:50 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 10 May 2007 18:50:51 +0000 (11:50 -0700)
* 'for-linus' of git://git390.osdl.marist.edu/pub/scm/linux-2.6:
  [S390] update default configuration.
  [S390] Kconfig: no wireless on s390.
  [S390] Kconfig: use common Kconfig files for s390.
  [S390] Kconfig: common config options for s390.
  [S390] Kconfig: unwanted menus for s390.
  [S390] Kconfig: menus with depends on HAS_IOMEM.
  [S390] Kconfig: refine depends statements.
  [S390] Avoid compile warning.
  [S390] qdio: re-add lost perf_stats.tl_runs change in qdio_handle_pci
  [S390] Avoid sparse warnings.
  [S390] dasd: Fix modular build.
  [S390] monreader inlining cleanup.
  [S390] cio: Make some structures and a function static.
  [S390] cio: Get rid of _ccw_device_get_device_number().
  [S390] fix subsystem removal fallout

68 files changed:
arch/s390/Kconfig
arch/s390/defconfig
arch/s390/hypfs/inode.c
arch/s390/kernel/ipl.c
arch/s390/mm/fault.c
drivers/ata/Kconfig
drivers/auxdisplay/Kconfig
drivers/block/Kconfig
drivers/char/Kconfig
drivers/char/ipmi/Kconfig
drivers/char/tpm/Kconfig
drivers/crypto/Kconfig
drivers/dma/Kconfig
drivers/edac/Kconfig
drivers/hwmon/Kconfig
drivers/i2c/Kconfig
drivers/ide/Kconfig
drivers/ieee1394/Kconfig
drivers/infiniband/Kconfig
drivers/input/Kconfig
drivers/isdn/Kconfig
drivers/kvm/Kconfig
drivers/leds/Kconfig
drivers/media/Kconfig
drivers/message/fusion/Kconfig
drivers/message/i2o/Kconfig
drivers/mfd/Kconfig
drivers/mmc/Kconfig
drivers/mtd/Kconfig
drivers/net/phy/Kconfig
drivers/net/wireless/Kconfig
drivers/parport/Kconfig
drivers/pnp/Kconfig
drivers/rtc/Kconfig
drivers/s390/block/Kconfig
drivers/s390/block/dasd.c
drivers/s390/block/dasd_diag.c
drivers/s390/block/dasd_eckd.c
drivers/s390/block/dasd_ioctl.c
drivers/s390/char/Kconfig [moved from drivers/s390/Kconfig with 59% similarity]
drivers/s390/char/monreader.c
drivers/s390/char/raw3270.c
drivers/s390/char/sclp.h
drivers/s390/char/sclp_sdias.c
drivers/s390/char/zcore.c
drivers/s390/cio/css.c
drivers/s390/cio/css.h
drivers/s390/cio/device.c
drivers/s390/cio/device_ops.c
drivers/s390/cio/qdio.c
drivers/s390/net/Kconfig
drivers/s390/net/qeth_mpc.c
drivers/s390/scsi/zfcp_aux.c
drivers/s390/scsi/zfcp_dbf.c
drivers/serial/Kconfig
drivers/spi/Kconfig
drivers/telephony/Kconfig
drivers/usb/Kconfig
drivers/video/Kconfig
drivers/w1/Kconfig
include/asm-s390/ccwdev.h
include/asm-s390/ipl.h
include/asm-s390/param.h
net/Kconfig
net/ax25/Kconfig
net/bluetooth/Kconfig
net/irda/Kconfig
sound/Kconfig

index 1a84719be2641f47bedc832ff7a460acbf29cf9b..098c62c29f9c3cda9b4292da5790ae1265be259d 100644 (file)
@@ -4,27 +4,23 @@
 #
 
 config MMU
-       bool
-       default y
+       def_bool y
 
 config ZONE_DMA
        def_bool y
        depends on 64BIT
 
 config LOCKDEP_SUPPORT
-       bool
-       default y
+       def_bool y
 
 config STACKTRACE_SUPPORT
-       bool
-       default y
+       def_bool y
 
 config RWSEM_GENERIC_SPINLOCK
        bool
 
 config RWSEM_XCHGADD_ALGORITHM
-       bool
-       default y
+       def_bool y
 
 config ARCH_HAS_ILOG2_U32
        bool
@@ -35,8 +31,7 @@ config ARCH_HAS_ILOG2_U64
        default n
 
 config GENERIC_HWEIGHT
-       bool
-       default y
+       def_bool y
 
 config GENERIC_TIME
        def_bool y
@@ -55,8 +50,7 @@ config NO_DMA
 mainmenu "Linux Kernel Configuration"
 
 config S390
-       bool
-       default y
+       def_bool y
 
 source "init/Kconfig"
 
@@ -280,6 +274,10 @@ config WARN_STACK_SIZE
 config ARCH_POPULATES_NODE_MAP
        def_bool y
 
+comment "Kernel preemption"
+
+source "kernel/Kconfig.preempt"
+
 source "mm/Kconfig"
 
 config HOLES_IN_ZONE
@@ -320,17 +318,6 @@ config QDIO_DEBUG
 
 comment "Misc"
 
-config PREEMPT
-       bool "Preemptible Kernel"
-       help
-         This option reduces the latency of the kernel when reacting to
-         real-time or interactive events by allowing a low priority process to
-         be preempted even if it is in kernel mode executing a system call.
-         This allows applications to run more reliably even when the system is
-         under load.
-
-         Say N if you are unsure.
-
 config IPL
        bool "Builtin IPL record support"
        help
@@ -488,6 +475,8 @@ config APPLDATA_NET_SUM
          This can also be compiled as a module, which will be called
          appldata_net_sum.o.
 
+source kernel/Kconfig.hz
+
 config NO_IDLE_HZ
        bool "No HZ timer ticks in idle"
        help
@@ -535,18 +524,12 @@ endmenu
 source "net/Kconfig"
 
 config PCMCIA
-       bool
-       default n
-
-source "drivers/base/Kconfig"
+       def_bool n
 
-source "drivers/connector/Kconfig"
-
-source "drivers/scsi/Kconfig"
-
-source "drivers/s390/Kconfig"
+config CCW
+       def_bool y
 
-source "drivers/net/Kconfig"
+source "drivers/Kconfig"
 
 source "fs/Kconfig"
 
index 0e4da8a7d8266c64897375e03002447d1d3c5455..485b60c1983ce8d2efa2a348c0464bb384d890f3 100644 (file)
@@ -1,7 +1,7 @@
 #
 # Automatically generated make config: don't edit
-# Linux kernel version: 2.6.21-rc1
-# Wed Feb 21 10:44:30 2007
+# Linux kernel version: 2.6.21
+# Thu May 10 15:18:19 2007
 #
 CONFIG_MMU=y
 CONFIG_ZONE_DMA=y
@@ -14,6 +14,7 @@ CONFIG_GENERIC_HWEIGHT=y
 CONFIG_GENERIC_TIME=y
 CONFIG_GENERIC_BUG=y
 CONFIG_NO_IOMEM=y
+CONFIG_NO_DMA=y
 CONFIG_S390=y
 CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
 
@@ -41,9 +42,11 @@ CONFIG_AUDIT=y
 # CONFIG_AUDITSYSCALL is not set
 CONFIG_IKCONFIG=y
 CONFIG_IKCONFIG_PROC=y
+CONFIG_LOG_BUF_SHIFT=17
 # CONFIG_CPUSETS is not set
 CONFIG_SYSFS_DEPRECATED=y
 # CONFIG_RELAY is not set
+CONFIG_BLK_DEV_INITRD=y
 CONFIG_INITRAMFS_SOURCE=""
 # CONFIG_CC_OPTIMIZE_FOR_SIZE is not set
 CONFIG_SYSCTL=y
@@ -60,12 +63,14 @@ CONFIG_BASE_FULL=y
 CONFIG_FUTEX=y
 CONFIG_EPOLL=y
 CONFIG_SHMEM=y
-CONFIG_SLAB=y
 CONFIG_VM_EVENT_COUNTERS=y
+CONFIG_SLUB_DEBUG=y
+CONFIG_SLAB=y
+# CONFIG_SLUB is not set
+# CONFIG_SLOB is not set
 CONFIG_RT_MUTEXES=y
 # CONFIG_TINY_SHMEM is not set
 CONFIG_BASE_SMALL=0
-# CONFIG_SLOB is not set
 
 #
 # Loadable module support
@@ -128,6 +133,14 @@ CONFIG_CHECK_STACK=y
 CONFIG_STACK_GUARD=256
 # CONFIG_WARN_STACK is not set
 CONFIG_ARCH_POPULATES_NODE_MAP=y
+
+#
+# Kernel preemption
+#
+# CONFIG_PREEMPT_NONE is not set
+# CONFIG_PREEMPT_VOLUNTARY is not set
+CONFIG_PREEMPT=y
+CONFIG_PREEMPT_BKL=y
 CONFIG_SELECT_MEMORY_MODEL=y
 CONFIG_FLATMEM_MANUAL=y
 # CONFIG_DISCONTIGMEM_MANUAL is not set
@@ -150,7 +163,6 @@ CONFIG_QDIO=y
 #
 # Misc
 #
-CONFIG_PREEMPT=y
 CONFIG_IPL=y
 # CONFIG_IPL_TAPE is not set
 CONFIG_IPL_VM=y
@@ -163,6 +175,11 @@ CONFIG_PFAULT=y
 CONFIG_VIRT_TIMER=y
 CONFIG_VIRT_CPU_ACCOUNTING=y
 # CONFIG_APPLDATA_BASE is not set
+CONFIG_HZ_100=y
+# CONFIG_HZ_250 is not set
+# CONFIG_HZ_300 is not set
+# CONFIG_HZ_1000 is not set
+CONFIG_HZ=100
 CONFIG_NO_IDLE_HZ=y
 CONFIG_NO_IDLE_HZ_INIT=y
 CONFIG_S390_HYPFS_FS=y
@@ -177,7 +194,6 @@ CONFIG_NET=y
 #
 # Networking options
 #
-# CONFIG_NETDEBUG is not set
 CONFIG_PACKET=y
 # CONFIG_PACKET_MMAP is not set
 CONFIG_UNIX=y
@@ -216,6 +232,7 @@ CONFIG_DEFAULT_TCP_CONG="cubic"
 CONFIG_IPV6=y
 # CONFIG_IPV6_PRIVACY is not set
 # CONFIG_IPV6_ROUTER_PREF is not set
+# CONFIG_IPV6_OPTIMISTIC_DAD is not set
 # CONFIG_INET6_AH is not set
 # CONFIG_INET6_ESP is not set
 # CONFIG_INET6_IPCOMP is not set
@@ -240,7 +257,12 @@ CONFIG_IPV6_SIT=y
 #
 # SCTP Configuration (EXPERIMENTAL)
 #
-# CONFIG_IP_SCTP is not set
+CONFIG_IP_SCTP=m
+# CONFIG_SCTP_DBG_MSG is not set
+# CONFIG_SCTP_DBG_OBJCNT is not set
+# CONFIG_SCTP_HMAC_NONE is not set
+# CONFIG_SCTP_HMAC_SHA1 is not set
+CONFIG_SCTP_HMAC_MD5=y
 
 #
 # TIPC Configuration (EXPERIMENTAL)
@@ -263,9 +285,6 @@ CONFIG_IPV6_SIT=y
 #
 CONFIG_NET_SCHED=y
 CONFIG_NET_SCH_FIFO=y
-CONFIG_NET_SCH_CLK_JIFFIES=y
-# CONFIG_NET_SCH_CLK_GETTIMEOFDAY is not set
-# CONFIG_NET_SCH_CLK_CPU is not set
 
 #
 # Queueing/Scheduling
@@ -308,11 +327,14 @@ CONFIG_NET_ESTIMATOR=y
 #
 # CONFIG_NET_PKTGEN is not set
 # CONFIG_NET_TCPPROBE is not set
-# CONFIG_HAMRADIO is not set
-# CONFIG_IRDA is not set
-# CONFIG_BT is not set
-# CONFIG_IEEE80211 is not set
+# CONFIG_AF_RXRPC is not set
+# CONFIG_RFKILL is not set
 # CONFIG_PCMCIA is not set
+CONFIG_CCW=y
+
+#
+# Device Drivers
+#
 
 #
 # Generic Driver Options
@@ -329,6 +351,37 @@ CONFIG_SYS_HYPERVISOR=y
 #
 # CONFIG_CONNECTOR is not set
 
+#
+# Block devices
+#
+# CONFIG_BLK_DEV_COW_COMMON is not set
+CONFIG_BLK_DEV_LOOP=m
+# CONFIG_BLK_DEV_CRYPTOLOOP is not set
+CONFIG_BLK_DEV_NBD=m
+CONFIG_BLK_DEV_RAM=y
+CONFIG_BLK_DEV_RAM_COUNT=16
+CONFIG_BLK_DEV_RAM_SIZE=4096
+CONFIG_BLK_DEV_RAM_BLOCKSIZE=1024
+# CONFIG_CDROM_PKTCDVD is not set
+# CONFIG_ATA_OVER_ETH is not set
+
+#
+# S/390 block device drivers
+#
+CONFIG_BLK_DEV_XPRAM=m
+# CONFIG_DCSSBLK is not set
+CONFIG_DASD=y
+CONFIG_DASD_PROFILE=y
+CONFIG_DASD_ECKD=y
+CONFIG_DASD_FBA=y
+CONFIG_DASD_DIAG=y
+CONFIG_DASD_EER=y
+
+#
+# Misc devices
+#
+# CONFIG_BLINK is not set
+
 #
 # SCSI device support
 #
@@ -356,6 +409,7 @@ CONFIG_SCSI_MULTI_LUN=y
 CONFIG_SCSI_CONSTANTS=y
 CONFIG_SCSI_LOGGING=y
 CONFIG_SCSI_SCAN_ASYNC=y
+CONFIG_SCSI_WAIT_SCAN=m
 
 #
 # SCSI Transports
@@ -372,34 +426,6 @@ CONFIG_SCSI_FC_ATTRS=y
 # CONFIG_ISCSI_TCP is not set
 # CONFIG_SCSI_DEBUG is not set
 CONFIG_ZFCP=y
-CONFIG_CCW=y
-
-#
-# Block devices
-#
-# CONFIG_BLK_DEV_COW_COMMON is not set
-CONFIG_BLK_DEV_LOOP=m
-# CONFIG_BLK_DEV_CRYPTOLOOP is not set
-CONFIG_BLK_DEV_NBD=m
-CONFIG_BLK_DEV_RAM=y
-CONFIG_BLK_DEV_RAM_COUNT=16
-CONFIG_BLK_DEV_RAM_SIZE=4096
-CONFIG_BLK_DEV_RAM_BLOCKSIZE=1024
-CONFIG_BLK_DEV_INITRD=y
-# CONFIG_CDROM_PKTCDVD is not set
-
-#
-# S/390 block device drivers
-#
-CONFIG_BLK_DEV_XPRAM=m
-# CONFIG_DCSSBLK is not set
-CONFIG_DASD=y
-CONFIG_DASD_PROFILE=y
-CONFIG_DASD_ECKD=y
-CONFIG_DASD_FBA=y
-CONFIG_DASD_DIAG=y
-CONFIG_DASD_EER=y
-# CONFIG_ATA_OVER_ETH is not set
 
 #
 # Multi-device support (RAID and LVM)
@@ -421,56 +447,7 @@ CONFIG_DM_MIRROR=y
 CONFIG_DM_ZERO=y
 CONFIG_DM_MULTIPATH=y
 # CONFIG_DM_MULTIPATH_EMC is not set
-
-#
-# Character device drivers
-#
-CONFIG_UNIX98_PTYS=y
-CONFIG_UNIX98_PTY_COUNT=2048
-# CONFIG_HANGCHECK_TIMER is not set
-
-#
-# Watchdog Cards
-#
-# CONFIG_WATCHDOG is not set
-
-#
-# S/390 character device drivers
-#
-CONFIG_TN3270=y
-CONFIG_TN3270_TTY=y
-CONFIG_TN3270_FS=m
-CONFIG_TN3270_CONSOLE=y
-CONFIG_TN3215=y
-CONFIG_TN3215_CONSOLE=y
-CONFIG_CCW_CONSOLE=y
-CONFIG_SCLP_TTY=y
-CONFIG_SCLP_CONSOLE=y
-CONFIG_SCLP_VT220_TTY=y
-CONFIG_SCLP_VT220_CONSOLE=y
-CONFIG_SCLP_CPI=m
-CONFIG_S390_TAPE=m
-
-#
-# S/390 tape interface support
-#
-CONFIG_S390_TAPE_BLOCK=y
-
-#
-# S/390 tape hardware support
-#
-CONFIG_S390_TAPE_34XX=m
-# CONFIG_S390_TAPE_3590 is not set
-# CONFIG_VMLOGRDR is not set
-# CONFIG_VMCP is not set
-# CONFIG_MONREADER is not set
-CONFIG_MONWRITER=m
-
-#
-# Cryptographic devices
-#
-CONFIG_ZCRYPT=m
-# CONFIG_ZCRYPT_MONOLITHIC is not set
+# CONFIG_DM_DELAY is not set
 
 #
 # Network device support
@@ -481,10 +458,6 @@ CONFIG_BONDING=m
 CONFIG_EQUALIZER=m
 CONFIG_TUN=m
 
-#
-# PHY device support
-#
-
 #
 # Ethernet (10 or 100Mbit)
 #
@@ -498,17 +471,13 @@ CONFIG_NET_ETHERNET=y
 #
 # Ethernet (10000 Mbit)
 #
+CONFIG_MLX4_DEBUG=y
 
 #
 # Token Ring devices
 #
 # CONFIG_TR is not set
 
-#
-# Wireless LAN (non-hamradio)
-#
-# CONFIG_NET_RADIO is not set
-
 #
 # Wan interfaces
 #
@@ -536,6 +505,56 @@ CONFIG_CCWGROUP=y
 # CONFIG_NETPOLL is not set
 # CONFIG_NET_POLL_CONTROLLER is not set
 
+#
+# Character devices
+#
+CONFIG_UNIX98_PTYS=y
+CONFIG_LEGACY_PTYS=y
+CONFIG_LEGACY_PTY_COUNT=256
+
+#
+# Watchdog Cards
+#
+# CONFIG_WATCHDOG is not set
+CONFIG_HW_RANDOM=m
+# CONFIG_R3964 is not set
+CONFIG_RAW_DRIVER=m
+CONFIG_MAX_RAW_DEVS=256
+# CONFIG_HANGCHECK_TIMER is not set
+
+#
+# S/390 character device drivers
+#
+CONFIG_TN3270=y
+CONFIG_TN3270_TTY=y
+CONFIG_TN3270_FS=m
+CONFIG_TN3270_CONSOLE=y
+CONFIG_TN3215=y
+CONFIG_TN3215_CONSOLE=y
+CONFIG_CCW_CONSOLE=y
+CONFIG_SCLP=y
+CONFIG_SCLP_TTY=y
+CONFIG_SCLP_CONSOLE=y
+CONFIG_SCLP_VT220_TTY=y
+CONFIG_SCLP_VT220_CONSOLE=y
+CONFIG_SCLP_CPI=m
+CONFIG_S390_TAPE=m
+
+#
+# S/390 tape interface support
+#
+CONFIG_S390_TAPE_BLOCK=y
+
+#
+# S/390 tape hardware support
+#
+CONFIG_S390_TAPE_34XX=m
+# CONFIG_S390_TAPE_3590 is not set
+# CONFIG_VMLOGRDR is not set
+# CONFIG_VMCP is not set
+# CONFIG_MONREADER is not set
+CONFIG_MONWRITER=m
+
 #
 # File systems
 #
@@ -628,6 +647,7 @@ CONFIG_LOCKD_V4=y
 CONFIG_EXPORTFS=y
 CONFIG_NFS_COMMON=y
 CONFIG_SUNRPC=y
+# CONFIG_SUNRPC_BIND34 is not set
 # CONFIG_RPCSEC_GSS_KRB5 is not set
 # CONFIG_RPCSEC_GSS_SPKM3 is not set
 # CONFIG_SMB_FS is not set
@@ -658,6 +678,7 @@ CONFIG_MSDOS_PARTITION=y
 # CONFIG_SUN_PARTITION is not set
 # CONFIG_KARMA_PARTITION is not set
 # CONFIG_EFI_PARTITION is not set
+# CONFIG_SYSV68_PARTITION is not set
 
 #
 # Native Language Support
@@ -668,8 +689,6 @@ CONFIG_MSDOS_PARTITION=y
 # Distributed Lock Manager
 #
 CONFIG_DLM=m
-CONFIG_DLM_TCP=y
-# CONFIG_DLM_SCTP is not set
 # CONFIG_DLM_DEBUG is not set
 
 #
@@ -693,7 +712,6 @@ CONFIG_MAGIC_SYSRQ=y
 CONFIG_DEBUG_FS=y
 CONFIG_HEADERS_CHECK=y
 CONFIG_DEBUG_KERNEL=y
-CONFIG_LOG_BUF_SHIFT=17
 # CONFIG_SCHEDSTATS is not set
 # CONFIG_TIMER_STATS is not set
 # CONFIG_DEBUG_SLAB is not set
@@ -729,12 +747,13 @@ CONFIG_FORCED_INLINING=y
 CONFIG_CRYPTO=y
 CONFIG_CRYPTO_ALGAPI=y
 CONFIG_CRYPTO_BLKCIPHER=y
+CONFIG_CRYPTO_HASH=m
 CONFIG_CRYPTO_MANAGER=y
-# CONFIG_CRYPTO_HMAC is not set
+CONFIG_CRYPTO_HMAC=m
 # CONFIG_CRYPTO_XCBC is not set
 # CONFIG_CRYPTO_NULL is not set
 # CONFIG_CRYPTO_MD4 is not set
-# CONFIG_CRYPTO_MD5 is not set
+CONFIG_CRYPTO_MD5=m
 # CONFIG_CRYPTO_SHA1 is not set
 # CONFIG_CRYPTO_SHA256 is not set
 # CONFIG_CRYPTO_SHA512 is not set
@@ -745,6 +764,7 @@ CONFIG_CRYPTO_ECB=m
 CONFIG_CRYPTO_CBC=y
 CONFIG_CRYPTO_PCBC=m
 # CONFIG_CRYPTO_LRW is not set
+# CONFIG_CRYPTO_CRYPTD is not set
 # CONFIG_CRYPTO_DES is not set
 CONFIG_CRYPTO_FCRYPT=m
 # CONFIG_CRYPTO_BLOWFISH is not set
@@ -771,6 +791,8 @@ CONFIG_CRYPTO_CAMELLIA=m
 # CONFIG_CRYPTO_DES_S390 is not set
 # CONFIG_CRYPTO_AES_S390 is not set
 CONFIG_S390_PRNG=m
+CONFIG_ZCRYPT=m
+# CONFIG_ZCRYPT_MONOLITHIC is not set
 
 #
 # Library routines
index ba5d3167df0db3175fb76525843094ac653582e6..8e1ea1c4012846a8a8d2f31f45f289ceabf39e6f 100644 (file)
@@ -477,7 +477,7 @@ static int __init hypfs_init(void)
                        goto fail_diag;
                }
        }
-       kset_set_kset_s(&s390_subsys, hypervisor_subsys);
+       kobj_set_kset_s(&s390_subsys, hypervisor_subsys);
        rc = subsystem_register(&s390_subsys);
        if (rc)
                goto fail_sysfs;
index 0ea048d350d8a8a2b51e9347823ae88327fab4cc..367caf92ea78afbc9715c9e7f0534424647d3741 100644 (file)
@@ -816,23 +816,23 @@ static int __init ipl_register_fcp_files(void)
 {
        int rc;
 
-       rc = sysfs_create_group(&ipl_subsys.kset.kobj,
+       rc = sysfs_create_group(&ipl_subsys.kobj,
                                &ipl_fcp_attr_group);
        if (rc)
                goto out;
-       rc = sysfs_create_bin_file(&ipl_subsys.kset.kobj,
+       rc = sysfs_create_bin_file(&ipl_subsys.kobj,
                                   &ipl_parameter_attr);
        if (rc)
                goto out_ipl_parm;
-       rc = sysfs_create_bin_file(&ipl_subsys.kset.kobj,
+       rc = sysfs_create_bin_file(&ipl_subsys.kobj,
                                   &ipl_scp_data_attr);
        if (!rc)
                goto out;
 
-       sysfs_remove_bin_file(&ipl_subsys.kset.kobj, &ipl_parameter_attr);
+       sysfs_remove_bin_file(&ipl_subsys.kobj, &ipl_parameter_attr);
 
 out_ipl_parm:
-       sysfs_remove_group(&ipl_subsys.kset.kobj, &ipl_fcp_attr_group);
+       sysfs_remove_group(&ipl_subsys.kobj, &ipl_fcp_attr_group);
 out:
        return rc;
 }
@@ -846,7 +846,7 @@ static int __init ipl_init(void)
                return rc;
        switch (ipl_info.type) {
        case IPL_TYPE_CCW:
-               rc = sysfs_create_group(&ipl_subsys.kset.kobj,
+               rc = sysfs_create_group(&ipl_subsys.kobj,
                                        &ipl_ccw_attr_group);
                break;
        case IPL_TYPE_FCP:
@@ -854,11 +854,11 @@ static int __init ipl_init(void)
                rc = ipl_register_fcp_files();
                break;
        case IPL_TYPE_NSS:
-               rc = sysfs_create_group(&ipl_subsys.kset.kobj,
+               rc = sysfs_create_group(&ipl_subsys.kobj,
                                        &ipl_nss_attr_group);
                break;
        default:
-               rc = sysfs_create_group(&ipl_subsys.kset.kobj,
+               rc = sysfs_create_group(&ipl_subsys.kobj,
                                        &ipl_unknown_attr_group);
                break;
        }
@@ -885,7 +885,7 @@ static int __init reipl_nss_init(void)
 
        if (!MACHINE_IS_VM)
                return 0;
-       rc = sysfs_create_group(&reipl_subsys.kset.kobj, &reipl_nss_attr_group);
+       rc = sysfs_create_group(&reipl_subsys.kobj, &reipl_nss_attr_group);
        if (rc)
                return rc;
        strncpy(reipl_nss_name, kernel_nss_name, NSS_NAME_SIZE + 1);
@@ -900,7 +900,7 @@ static int __init reipl_ccw_init(void)
        reipl_block_ccw = (void *) get_zeroed_page(GFP_KERNEL);
        if (!reipl_block_ccw)
                return -ENOMEM;
-       rc = sysfs_create_group(&reipl_subsys.kset.kobj, &reipl_ccw_attr_group);
+       rc = sysfs_create_group(&reipl_subsys.kobj, &reipl_ccw_attr_group);
        if (rc) {
                free_page((unsigned long)reipl_block_ccw);
                return rc;
@@ -938,7 +938,7 @@ static int __init reipl_fcp_init(void)
        reipl_block_fcp = (void *) get_zeroed_page(GFP_KERNEL);
        if (!reipl_block_fcp)
                return -ENOMEM;
-       rc = sysfs_create_group(&reipl_subsys.kset.kobj, &reipl_fcp_attr_group);
+       rc = sysfs_create_group(&reipl_subsys.kobj, &reipl_fcp_attr_group);
        if (rc) {
                free_page((unsigned long)reipl_block_fcp);
                return rc;
@@ -990,7 +990,7 @@ static int __init dump_ccw_init(void)
        dump_block_ccw = (void *) get_zeroed_page(GFP_KERNEL);
        if (!dump_block_ccw)
                return -ENOMEM;
-       rc = sysfs_create_group(&dump_subsys.kset.kobj, &dump_ccw_attr_group);
+       rc = sysfs_create_group(&dump_subsys.kobj, &dump_ccw_attr_group);
        if (rc) {
                free_page((unsigned long)dump_block_ccw);
                return rc;
@@ -1014,7 +1014,7 @@ static int __init dump_fcp_init(void)
        dump_block_fcp = (void *) get_zeroed_page(GFP_KERNEL);
        if (!dump_block_fcp)
                return -ENOMEM;
-       rc = sysfs_create_group(&dump_subsys.kset.kobj, &dump_fcp_attr_group);
+       rc = sysfs_create_group(&dump_subsys.kobj, &dump_fcp_attr_group);
        if (rc) {
                free_page((unsigned long)dump_block_fcp);
                return rc;
index 8b924b359774a40abb9042c2737b5ac9f6c637a2..d855cdbf8fb86b6b96d6e89b0090c95fc243a06c 100644 (file)
@@ -253,7 +253,10 @@ static int signal_return(struct mm_struct *mm, struct pt_regs *regs,
                         unsigned long address, unsigned long error_code)
 {
        u16 instruction;
-       int rc, compat;
+       int rc;
+#ifdef CONFIG_COMPAT
+       int compat;
+#endif
 
        pagefault_disable();
        rc = __get_user(instruction, (u16 __user *) regs->psw.addr);
index c7219663f2b9e01fa4c04912557b7637c0ee9732..f031b87323308e3131898edecf3be5863e171070 100644 (file)
@@ -3,6 +3,7 @@
 #
 
 menu "Serial ATA (prod) and Parallel ATA (experimental) drivers"
+       depends on HAS_IOMEM
 
 config ATA
        tristate "ATA device support"
index 0300e7f54cc4442e18d9d9966e5d8e7ddafe79bd..2e18a63ead36d735049d7297fedbc1c77b53d5db 100644 (file)
@@ -6,6 +6,7 @@
 #
 
 menu "Auxiliary Display support"
+       depends on PARPORT
 
 config KS0108
        tristate "KS0108 LCD Controller"
index 17ee97f3a99b59900bd6b89f373e871a3662c6ce..b4c8319138b29fbd762941ae74b4cbcc7d441cd3 100644 (file)
@@ -444,8 +444,6 @@ config CDROM_PKTCDVD_WCACHE
          this option is dangerous unless the CD-RW media is known good, as we
          don't do deferred write error handling yet.
 
-source "drivers/s390/block/Kconfig"
-
 config ATA_OVER_ETH
        tristate "ATA over Ethernet support"
        depends on NET
@@ -453,6 +451,8 @@ config ATA_OVER_ETH
        This driver provides Support for ATA over Ethernet block
        devices like the Coraid EtherDrive (R) Storage Blade.
 
+source "drivers/s390/block/Kconfig"
+
 endmenu
 
 endif
index 2df42fdcdc91d5ae87991f1de54de44b756ab040..abcafac647382a7144519542f1ea2ec9b576b332 100644 (file)
@@ -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 HAS_IOMEM
        ---help---
          Say Y here if you have any non-standard serial boards -- boards
          which aren't supported using the standard "dumb" serial driver.
@@ -765,7 +767,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
@@ -813,7 +815,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
@@ -858,6 +860,7 @@ config COBALT_LCD
 
 config DTLK
        tristate "Double Talk PC internal speech card support"
+       depends on ISA
        help
          This driver is for the DoubleTalk PC, a speech synthesizer
          manufactured by RC Systems (<http://www.rcsys.com/>).  It is also
@@ -1043,7 +1046,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
@@ -1078,5 +1081,7 @@ config DEVPORT
        depends on ISA || PCI
        default y
 
+source "drivers/s390/char/Kconfig"
+
 endmenu
 
index a6dcb29181571af022ca6a642b0dba2eb3539ca9..b894f67fdf14194fcef98d13b24af52031f7b9a6 100644 (file)
@@ -3,6 +3,8 @@
 #
 
 menu "IPMI"
+       depends on HAS_IOMEM
+
 config IPMI_HANDLER
        tristate 'IPMI top-level message handler'
        help
index 11089be0691bab5d9c5156a06f6819cc238d3ca8..dc4e1ff7f56fae2567a6deb3bb19a213a71c90c2 100644 (file)
@@ -3,6 +3,7 @@
 #
 
 menu "TPM devices"
+       depends on HAS_IOMEM
 
 config TCG_TPM
        tristate "TPM Hardware Support"
index f4c634504d1adac8ae847e95d5970bec6f3a3ead..e678a33ea672658d64f891b8c021b6f5c2da7255 100644 (file)
@@ -56,4 +56,26 @@ config CRYPTO_DEV_GEODE
          To compile this driver as a module, choose M here: the module
          will be called geode-aes.
 
+config ZCRYPT
+       tristate "Support for PCI-attached cryptographic adapters"
+       depends on S390
+       select ZCRYPT_MONOLITHIC if ZCRYPT="y"
+       default "m"
+       help
+         Select this option if you want to use a PCI-attached cryptographic
+         adapter like:
+         + PCI Cryptographic Accelerator (PCICA)
+         + PCI Cryptographic Coprocessor (PCICC)
+         + PCI-X Cryptographic Coprocessor (PCIXCC)
+         + Crypto Express2 Coprocessor (CEX2C)
+         + Crypto Express2 Accelerator (CEX2A)
+
+config ZCRYPT_MONOLITHIC
+       bool "Monolithic zcrypt module"
+       depends on ZCRYPT="m"
+       help
+         Select this option if you want to have a single module z90crypt.ko
+         that contains all parts of the crypto device driver (ap bus,
+         request router and all the card drivers).
+
 endmenu
index 30d021d1a07c8670687e05abb3238772b7aec181..72be6c63edfc01767d503eaa57ba9c40e0219498 100644 (file)
@@ -3,6 +3,7 @@
 #
 
 menu "DMA Engine support"
+       depends on !S390
 
 config DMA_ENGINE
        bool "Support for DMA engines"
index 4f0898400c6de212334d63be47f79c3bb07b3806..807c402df0495801fc98a53f2a1ff824cc595c4b 100644 (file)
@@ -7,6 +7,7 @@
 #
 
 menu 'EDAC - error detection and reporting (RAS) (EXPERIMENTAL)'
+       depends on HAS_IOMEM
 
 config EDAC
        tristate "EDAC core system error reporting (EXPERIMENTAL)"
index 3ba3a5221c41776f75f07706a4d20effbca452c4..4d1cb5b855d17e86285b7f3aeca698e80775fa57 100644 (file)
@@ -4,6 +4,7 @@
 
 menuconfig HWMON
        tristate "Hardware Monitoring support"
+       depends on HAS_IOMEM
        default y
        help
          Hardware monitoring devices let you monitor the hardware health
index 434a61b415a347ba529241ac439bbe3e36d69bbe..96867347bcbfffa0639d0df93b08cbbb86c23b68 100644 (file)
@@ -4,6 +4,7 @@
 
 menuconfig I2C
        tristate "I2C support"
+       depends on HAS_IOMEM
        ---help---
          I2C (pronounce: I-square-C) is a slow serial bus protocol used in
          many micro controller applications and developed by Philips.  SMBus,
index 1d06b415ede9278d5c664244038bfb1e9adea581..9040809d2c254f2df0a43a9c216f5fa08bbefd86 100644 (file)
@@ -7,6 +7,7 @@
 if BLOCK
 
 menu "ATA/ATAPI/MFM/RLL support"
+       depends on HAS_IOMEM
 
 config IDE
        tristate "ATA/ATAPI/MFM/RLL support"
index 61d7809a5a262340864f5012835b7a75636493cd..f21426ad2faaf1d963af5afd7a95bcb2e63d56fc 100644 (file)
@@ -1,4 +1,5 @@
 menu "IEEE 1394 (FireWire) support"
+       depends on PCI || BROKEN
 
 config IEEE1394
        tristate "IEEE 1394 (FireWire) support"
index 37deaae49190ec9bdeedafe897d7ac824b441eb0..994decc7bcf2afd9c2c129fb6556af935ad8ce73 100644 (file)
@@ -1,4 +1,5 @@
 menu "InfiniBand support"
+       depends on HAS_IOMEM
 
 config INFINIBAND
        depends on PCI || BROKEN
index 0e9b69535ad6990a0766b346412b352562860375..f814fb3a469d4d181dddea4107015e7ee2c49177 100644 (file)
@@ -3,6 +3,7 @@
 #
 
 menu "Input device support"
+       depends on !S390
 
 config INPUT
        tristate "Generic input layer (needed for keyboard, mouse, ...)" if EMBEDDED
index c90afeea54aa26ede05e85f3488e93edc601c43c..d42fe89cddf6987648eddd2200c8c01f33eda709 100644 (file)
@@ -3,6 +3,7 @@
 #
 
 menu "ISDN subsystem"
+       depends on !S390
 
 config ISDN
        tristate "ISDN support"
index 703cc88d1ef974bcf8d0b27f7625f23d079aec4c..e8e37d826478842df2d95d7f4d65db77623c8dfe 100644 (file)
@@ -2,6 +2,7 @@
 # KVM configuration
 #
 menu "Virtualization"
+       depends on X86
 
 config KVM
        tristate "Kernel-based Virtual Machine (KVM) support"
index 80acd08f0e97bd3b9cf940e5a25ccb2d31fce312..87d2046f866caa29b7e1b8f541b640789be3ec63 100644 (file)
@@ -1,5 +1,6 @@
 
 menu "LED devices"
+       depends on HAS_IOMEM
 
 config NEW_LEDS
        bool "LED Support"
index 91d25798ae4a625ceab60094f2a43340bc443f2f..3a80e0cc73699e9e24bcc6fb4382fab9cb5a9dec 100644 (file)
@@ -3,6 +3,7 @@
 #
 
 menu "Multimedia devices"
+       depends on HAS_IOMEM
 
 config VIDEO_DEV
        tristate "Video For Linux"
index 71037f91c222611e8d9933d441fb29a4337f4096..c88cc75ab49b7e807f30da88de8e4bf0bf776aba 100644 (file)
@@ -1,5 +1,6 @@
 
 menu "Fusion MPT device support"
+       depends on PCI
 
 config FUSION
        bool
index 6443392bffff17402d59b2ff39f3700a7229e7fe..f4ac21e5771e8da2d9bcb42455407f7c22ddaaf4 100644 (file)
@@ -1,5 +1,6 @@
 
 menu "I2O device support"
+       depends on PCI
 
 config I2O
        tristate "I2O support"
index ab6e985275b28b3ae9e4addba68732deaeea7b7a..a20a51efe11896416e2ca4f7bdee82f4e047a592 100644 (file)
@@ -3,6 +3,7 @@
 #
 
 menu "Multifunction device drivers"
+       depends on HAS_IOMEM
 
 config MFD_SM501
        tristate "Support for Silicon Motion SM501"
index 45b7d53b949c00f9ff187bb24215145cc2abd7a6..c0b41e8bcd9d9311cef9976ca38e968746d72167 100644 (file)
@@ -4,6 +4,7 @@
 
 menuconfig MMC
        tristate "MMC/SD card support"
+       depends on HAS_IOMEM
        help
          MMC is the "multi-media card" bus protocol.
 
index c1b47db29bd23ad72f8443e4e1ad2885f7cb8f4d..fbec8cd55e38e78e020826d9df8cb6ed7879d6d9 100644 (file)
@@ -2,6 +2,7 @@
 
 menuconfig MTD
        tristate "Memory Technology Device (MTD) support"
+       depends on HAS_IOMEM
        help
          Memory Technology Devices are flash, RAM and similar chips, often
          used for solid state file systems on embedded devices. This option
index f994f129f3d8c17477edc0aded181253f57603de..c0d3101eb6a0a5891876fe32262191ccd98244be 100644 (file)
@@ -3,6 +3,7 @@
 #
 
 menu "PHY device support"
+       depends on !S390
 
 config PHYLIB
        tristate "PHY Device support and infrastructure"
index e273347dc6068b5dcad2653a46f02b07f17f3aef..e3f5bb0fe603cf66eab0dc6118bbd1d6a4e34e21 100644 (file)
@@ -3,6 +3,7 @@
 #
 
 menu "Wireless LAN"
+       depends on !S390
 
 config WLAN_PRE80211
        bool "Wireless LAN (pre-802.11)"
index 36c6a1bfe558374dc76a9124375f0c06c92bfded..f46c69e4ed829772c190cf2fbfa6910c300613c6 100644 (file)
@@ -6,6 +6,7 @@
 #
 
 menu "Parallel port support"
+       depends on HAS_IOMEM
 
 config PARPORT
        tristate "Parallel port support"
index c5143201419aebdeff65e7a2ad3e121e6bbd503f..1959cef8e9debc6e613882ebfd06427ecab929d2 100644 (file)
@@ -3,6 +3,7 @@
 #
 
 menu "Plug and Play support"
+       depends on HAS_IOMEM
 
 config PNP
        bool "Plug and Play support"
index 76422eded36ec762fb422d5f44de42f4ba8a8067..1759baad439cd22f55d471e96da3f2c40f9953e8 100644 (file)
@@ -3,6 +3,7 @@
 #
 
 menu "Real Time Clock"
+       depends on !S390
 
 config RTC_LIB
        tristate
index b250c53545033cba2a019ee4e5973bf1bac04551..e879b212cf4367441e853c5e7681850ae0e57a9b 100644 (file)
@@ -1,11 +1,9 @@
-if S390 && BLOCK
-
 comment "S/390 block device drivers"
-       depends on S390
+       depends on S390 && BLOCK
 
 config BLK_DEV_XPRAM
        tristate "XPRAM disk support"
-       depends on S390
+       depends on S390 && BLOCK
        help
          Select this option if you want to use your expanded storage on S/390
          or zSeries as a disk.  This is useful as a _fast_ swap device if you
@@ -15,12 +13,13 @@ config BLK_DEV_XPRAM
 
 config DCSSBLK
        tristate "DCSSBLK support"
+       depends on S390 && BLOCK
        help
          Support for dcss block device
 
 config DASD
        tristate "Support for DASD devices"
-       depends on CCW
+       depends on CCW && BLOCK
        help
          Enable this option if you want to access DASDs directly utilizing
          S/390s channel subsystem commands. This is necessary for running
@@ -62,5 +61,3 @@ config DASD_EER
          This driver provides a character device interface to the
          DASD extended error reporting. This is only needed if you want to
          use applications written for the EER facility.
-
-endif
index 977521013fe8065c6be213c7aaecda48792e6a91..bfeca57098fa6725edd53546e1466f78e6aceed9 100644 (file)
@@ -2174,9 +2174,10 @@ dasd_generic_notify(struct ccw_device *cdev, int event)
        return ret;
 }
 
-struct dasd_ccw_req * dasd_generic_build_rdc(struct dasd_device *device,
-                                            void *rdc_buffer,
-                                            int rdc_buffer_size, char *magic)
+static struct dasd_ccw_req *dasd_generic_build_rdc(struct dasd_device *device,
+                                                  void *rdc_buffer,
+                                                  int rdc_buffer_size,
+                                                  char *magic)
 {
        struct dasd_ccw_req *cqr;
        struct ccw1 *ccw;
@@ -2219,6 +2220,7 @@ int dasd_generic_read_dev_chars(struct dasd_device *device, char *magic,
        dasd_sfree_request(cqr, cqr->device);
        return ret;
 }
+EXPORT_SYMBOL_GPL(dasd_generic_read_dev_chars);
 
 static int __init
 dasd_init(void)
index e810e4a44ed4ea2105b9c6169487e21d78d20e43..eccac1c3b71bb86ef535300a21c4311ebce343a9 100644 (file)
@@ -50,6 +50,7 @@ struct dasd_diag_private {
        struct dasd_diag_rw_io iob;
        struct dasd_diag_init_io iib;
        blocknum_t pt_block;
+       struct ccw_dev_id dev_id;
 };
 
 struct dasd_diag_req {
@@ -102,7 +103,7 @@ mdsk_init_io(struct dasd_device *device, unsigned int blocksize,
        iib = &private->iib;
        memset(iib, 0, sizeof (struct dasd_diag_init_io));
 
-       iib->dev_nr = _ccw_device_get_device_number(device->cdev);
+       iib->dev_nr = private->dev_id.devno;
        iib->block_size = blocksize;
        iib->offset = offset;
        iib->flaga = DASD_DIAG_FLAGA_DEFAULT;
@@ -127,7 +128,7 @@ mdsk_term_io(struct dasd_device * device)
        private = (struct dasd_diag_private *) device->private;
        iib = &private->iib;
        memset(iib, 0, sizeof (struct dasd_diag_init_io));
-       iib->dev_nr = _ccw_device_get_device_number(device->cdev);
+       iib->dev_nr = private->dev_id.devno;
        rc = dia250(iib, TERM_BIO);
        return rc;
 }
@@ -166,7 +167,7 @@ dasd_start_diag(struct dasd_ccw_req * cqr)
        private = (struct dasd_diag_private *) device->private;
        dreq = (struct dasd_diag_req *) cqr->data;
 
-       private->iob.dev_nr = _ccw_device_get_device_number(device->cdev);
+       private->iob.dev_nr = private->dev_id.devno;
        private->iob.key = 0;
        private->iob.flags = DASD_DIAG_RWFLAG_ASYNC;
        private->iob.block_count = dreq->block_count;
@@ -323,11 +324,12 @@ dasd_diag_check_device(struct dasd_device *device)
                                "memory allocation failed for private data");
                        return -ENOMEM;
                }
+               ccw_device_get_id(device->cdev, &private->dev_id);
                device->private = (void *) private;
        }
        /* Read Device Characteristics */
        rdc_data = (void *) &(private->rdc_data);
-       rdc_data->dev_nr = _ccw_device_get_device_number(device->cdev);
+       rdc_data->dev_nr = private->dev_id.devno;
        rdc_data->rdc_len = sizeof (struct dasd_diag_characteristics);
 
        rc = diag210((struct diag210 *) rdc_data);
index c9583fbc2a7dd8893e924f6be665efdcf672a2c6..418b4e63a4fab42473f9d650073171a81543a8b4 100644 (file)
@@ -450,9 +450,9 @@ dasd_eckd_generate_uid(struct dasd_device *device, struct dasd_uid *uid)
        return 0;
 }
 
-struct dasd_ccw_req * dasd_eckd_build_rcd_lpm(struct dasd_device *device,
-                                             void *rcd_buffer,
-                                             struct ciw *ciw, __u8 lpm)
+static struct dasd_ccw_req *dasd_eckd_build_rcd_lpm(struct dasd_device *device,
+                                                   void *rcd_buffer,
+                                                   struct ciw *ciw, __u8 lpm)
 {
        struct dasd_ccw_req *cqr;
        struct ccw1 *ccw;
index 758cfb54286570b2333998adcf2180bf20ee32c5..672eb0a3dd0bd4e5e48a71ce33456ee0ce668dc6 100644 (file)
@@ -255,6 +255,7 @@ dasd_ioctl_information(struct dasd_device *device,
        unsigned long flags;
        int rc;
        struct ccw_device *cdev;
+       struct ccw_dev_id dev_id;
 
        if (!device->discipline->fill_info)
                return -EINVAL;
@@ -270,8 +271,9 @@ dasd_ioctl_information(struct dasd_device *device,
        }
 
        cdev = device->cdev;
+       ccw_device_get_id(cdev, &dev_id);
 
-       dasd_info->devno = _ccw_device_get_device_number(device->cdev);
+       dasd_info->devno = dev_id.devno;
        dasd_info->schid = _ccw_device_get_subchannel_number(device->cdev);
        dasd_info->cu_type = cdev->id.cu_type;
        dasd_info->cu_model = cdev->id.cu_model;
similarity index 59%
rename from drivers/s390/Kconfig
rename to drivers/s390/char/Kconfig
index 165af398fdead8b181edc120ae91ed6a364f1cb3..66102a1843220ab4c8e0e77483e8f7aba3030bce 100644 (file)
@@ -1,69 +1,9 @@
-config CCW
-       bool
-       default y
-
-source "drivers/block/Kconfig"
-
-source "drivers/md/Kconfig"
-
-
-menu "Character device drivers"
-
-config UNIX98_PTYS
-       bool "Unix98 PTY support"
-       ---help---
-         A pseudo terminal (PTY) is a software device consisting of two
-         halves: a master and a slave. The slave device behaves identical to
-         a physical terminal; the master device is used by a process to
-         read data from and write data to the slave, thereby emulating a
-         terminal. Typical programs for the master side are telnet servers
-         and xterms.
-
-         Linux has traditionally used the BSD-like names /dev/ptyxx for
-         masters and /dev/ttyxx for slaves of pseudo terminals. This scheme
-         has a number of problems. The GNU C library glibc 2.1 and later,
-         however, supports the Unix98 naming standard: in order to acquire a
-         pseudo terminal, a process opens /dev/ptmx; the number of the pseudo
-         terminal is then made available to the process and the pseudo
-         terminal slave can be accessed as /dev/pts/<number>. What was
-         traditionally /dev/ttyp2 will then be /dev/pts/2, for example.
-
-         The entries in /dev/pts/ are created on the fly by a virtual
-         file system; therefore, if you say Y here you should say Y to
-         "/dev/pts file system for Unix98 PTYs" as well.
-
-         If you want to say Y here, you need to have the C library glibc 2.1
-         or later (equal to libc-6.1, check with "ls -l /lib/libc.so.*").
-         Read the instructions in <file:Documentation/Changes> pertaining to
-         pseudo terminals. It's safe to say N.
-
-config UNIX98_PTY_COUNT
-       int "Maximum number of Unix98 PTYs in use (0-2048)"
-       depends on UNIX98_PTYS
-       default "256"
-       help
-         The maximum number of Unix98 PTYs that can be used at any one time.
-         The default is 256, and should be enough for desktop systems. Server
-         machines which support incoming telnet/rlogin/ssh connections and/or
-         serve several X terminals may want to increase this: every incoming
-         connection and every xterm uses up one PTY.
-
-         When not in use, each additional set of 256 PTYs occupy
-         approximately 8 KB of kernel memory on 32-bit architectures.
-
-config HANGCHECK_TIMER
-       tristate "Hangcheck timer"
-       help
-         The hangcheck-timer module detects when the system has gone
-         out to lunch past a certain margin.  It can reboot the system
-         or merely print a warning.
-
-source "drivers/char/watchdog/Kconfig"
-
 comment "S/390 character device drivers"
+       depends on S390
 
 config TN3270
        tristate "Support for locally attached 3270 terminals"
+       depends on CCW
        help
          Include support for IBM 3270 terminals.
 
@@ -88,6 +28,7 @@ config TN3270_CONSOLE
 
 config TN3215
        bool "Support for 3215 line mode terminal"
+       depends on CCW
        help
          Include support for IBM 3215 line-mode terminals.
 
@@ -99,12 +40,19 @@ config TN3215_CONSOLE
          Linux system console.
 
 config CCW_CONSOLE
-       bool
-       depends on TN3215_CONSOLE || TN3270_CONSOLE
-       default y
+       bool
+       depends on TN3215_CONSOLE || TN3270_CONSOLE
+       default y
+
+config SCLP
+       bool "Support for SCLP"
+       depends on S390
+       help
+         Include support for the SCLP interface to the service element.
+
 config SCLP_TTY
        bool "Support for SCLP line mode terminal"
+       depends on SCLP
        help
          Include support for IBM SCLP line-mode terminals.
 
@@ -117,6 +65,7 @@ config SCLP_CONSOLE
 
 config SCLP_VT220_TTY
        bool "Support for SCLP VT220-compatible terminal"
+       depends on SCLP
        help
          Include support for an IBM SCLP VT220-compatible terminal.
 
@@ -129,6 +78,7 @@ config SCLP_VT220_CONSOLE
 
 config SCLP_CPI
        tristate "Control-Program Identification"
+       depends on SCLP
        help
          This option enables the hardware console interface for system
          identification. This is commonly used for workload management and
@@ -140,6 +90,7 @@ config SCLP_CPI
 
 config S390_TAPE
        tristate "S/390 tape device support"
+       depends on CCW
        help
          Select this option if you want to access channel-attached tape
          devices on IBM S/390 or zSeries.
@@ -194,6 +145,7 @@ config VMLOGRDR
 
 config VMCP
        tristate "Support for the z/VM CP interface (VM only)"
+       depends on S390
        help
          Select this option if you want to be able to interact with the control
          program on z/VM
@@ -207,33 +159,8 @@ config MONREADER
 
 config MONWRITER
        tristate "API for writing z/VM monitor service records"
+       depends on S390
        default "m"
        help
          Character device driver for writing z/VM monitor service records
 
-endmenu
-
-menu "Cryptographic devices"
-
-config ZCRYPT
-       tristate "Support for PCI-attached cryptographic adapters"
-       select ZCRYPT_MONOLITHIC if ZCRYPT="y"
-       default "m"
-       help
-         Select this option if you want to use a PCI-attached cryptographic
-         adapter like:
-         + PCI Cryptographic Accelerator (PCICA)
-         + PCI Cryptographic Coprocessor (PCICC)
-         + PCI-X Cryptographic Coprocessor (PCIXCC)
-         + Crypto Express2 Coprocessor (CEX2C)
-         + Crypto Express2 Accelerator (CEX2A)
-
-config ZCRYPT_MONOLITHIC
-       bool "Monolithic zcrypt module"
-       depends on ZCRYPT="m"
-       help
-         Select this option if you want to have a single module z90crypt.ko
-         that contains all parts of the crypto device driver (ap bus,
-         request router and all the card drivers).
-
-endmenu
index 8df7b1323c053177f078c9e06798cd5a75909a7f..67009bfa093e12c8c0a828e9528f49021d84df20 100644 (file)
@@ -97,7 +97,7 @@ static u8 user_data_sever[16] = {
  * Create the 8 bytes EBCDIC DCSS segment name from
  * an ASCII name, incl. padding
  */
-static inline void dcss_mkname(char *ascii_name, char *ebcdic_name)
+static void dcss_mkname(char *ascii_name, char *ebcdic_name)
 {
        int i;
 
@@ -191,7 +191,7 @@ static inline u32 mon_rec_end(struct mon_msg *monmsg)
        return *((u32 *) (mon_mca_start(monmsg) + monmsg->mca_offset + 8));
 }
 
-static inline int mon_check_mca(struct mon_msg *monmsg)
+static int mon_check_mca(struct mon_msg *monmsg)
 {
        if ((mon_rec_end(monmsg) <= mon_rec_start(monmsg)) ||
            (mon_rec_start(monmsg) < mon_dcss_start) ||
@@ -209,8 +209,8 @@ static inline int mon_check_mca(struct mon_msg *monmsg)
        return 0;
 }
 
-static inline int mon_send_reply(struct mon_msg *monmsg,
-                                struct mon_private *monpriv)
+static int mon_send_reply(struct mon_msg *monmsg,
+                         struct mon_private *monpriv)
 {
        int rc;
 
@@ -236,7 +236,7 @@ static inline int mon_send_reply(struct mon_msg *monmsg,
        return 0;
 }
 
-static inline void mon_free_mem(struct mon_private *monpriv)
+static void mon_free_mem(struct mon_private *monpriv)
 {
        int i;
 
@@ -246,7 +246,7 @@ static inline void mon_free_mem(struct mon_private *monpriv)
        kfree(monpriv);
 }
 
-static inline struct mon_private *mon_alloc_mem(void)
+static struct mon_private *mon_alloc_mem(void)
 {
        int i;
        struct mon_private *monpriv;
@@ -307,7 +307,7 @@ static inline void mon_next_mca(struct mon_msg *monmsg)
        monmsg->pos = 0;
 }
 
-static inline struct mon_msg *mon_next_message(struct mon_private *monpriv)
+static struct mon_msg *mon_next_message(struct mon_private *monpriv)
 {
        struct mon_msg *monmsg;
 
index 8facd14adb7c168ab2d5c6137fd6eee63ffebbec..f6ef90ee3e7d83d06090ff594818d2f40fdd6c85 100644 (file)
@@ -589,9 +589,10 @@ static int
 __raw3270_size_device_vm(struct raw3270 *rp)
 {
        int rc, model;
+       struct ccw_dev_id dev_id;
 
-       raw3270_init_diag210.vrdcdvno = 
-               _ccw_device_get_device_number(rp->cdev);
+       ccw_device_get_id(rp->cdev, &dev_id);
+       raw3270_init_diag210.vrdcdvno = dev_id.devno;
        raw3270_init_diag210.vrdclen = sizeof(struct diag210);
        rc = diag210(&raw3270_init_diag210);
        if (rc)
index 87ac4a3ad49dccf9b4113e093f1ec015e0801273..dbb99d1b6f57ffa814f3f8b37c48abc5413e50c6 100644 (file)
@@ -132,6 +132,9 @@ int sclp_deactivate(void);
 int sclp_reactivate(void);
 int sclp_service_call(sclp_cmdw_t command, void *sccb);
 
+int sclp_sdias_init(void);
+void sclp_sdias_exit(void);
+
 /* useful inlines */
 
 /* VM uses EBCDIC 037, LPAR+native(SE+HMC) use EBCDIC 500 */
index 52283daddaef224db42cf70bd3ba421ab11b5059..1c064976b32bd322a4e4554e9d335bf1cef71328 100644 (file)
@@ -66,9 +66,9 @@ static DEFINE_MUTEX(sdias_mutex);
 
 static void sdias_callback(struct sclp_req *request, void *data)
 {
-       struct sdias_sccb *sccb;
+       struct sdias_sccb *cbsccb;
 
-       sccb = (struct sdias_sccb *) request->sccb;
+       cbsccb = (struct sdias_sccb *) request->sccb;
        sclp_req_done = 1;
        wake_up(&sdias_wq); /* Inform caller, that request is complete */
        TRACE("callback done\n");
@@ -229,7 +229,7 @@ out:
        return rc;
 }
 
-int __init sdias_init(void)
+int __init sclp_sdias_init(void)
 {
        int rc;
 
@@ -248,7 +248,7 @@ int __init sdias_init(void)
        return 0;
 }
 
-void __exit sdias_exit(void)
+void __exit sclp_sdias_exit(void)
 {
        debug_unregister(sdias_dbf);
        sclp_unregister(&sclp_sdias_register);
index 89d439316a531cb3373a16b780de0fecc8cf7c78..66eb0688d523491b0749651f8f02ea7d4ef926ce 100644 (file)
@@ -21,6 +21,7 @@
 #include <asm/debug.h>
 #include <asm/processor.h>
 #include <asm/irqflags.h>
+#include "sclp.h"
 
 #define TRACE(x...) debug_sprintf_event(zcore_dbf, 1, x)
 #define MSG(x...) printk( KERN_ALERT x )
@@ -564,8 +565,6 @@ static void __init zcore_header_init(int arch, struct zcore_header *hdr)
        get_cpu_id(&hdr->cpu_id);
 }
 
-extern int sdias_init(void);
-
 static int __init zcore_init(void)
 {
        unsigned char arch;
@@ -582,7 +581,7 @@ static int __init zcore_init(void)
        TRACE("wwpn:   %llx\n", (unsigned long long) ipl_info.data.fcp.wwpn);
        TRACE("lun:    %llx\n", (unsigned long long) ipl_info.data.fcp.lun);
 
-       rc = sdias_init();
+       rc = sclp_sdias_init();
        if (rc)
                goto fail;
 
@@ -634,12 +633,10 @@ fail:
        return rc;
 }
 
-extern void sdias_exit(void);
-
 static void __exit zcore_exit(void)
 {
        debug_unregister(zcore_dbf);
-       sdias_exit();
+       sclp_sdias_exit();
        diag308(DIAG308_REL_HSA, NULL);
 }
 
index 27c6d9e55b23e41142309750fbd3afb799a2a8c3..dfca0ef139fdc374cddc8bb0ef452b24a10ccd78 100644 (file)
@@ -191,8 +191,7 @@ static int css_register_subchannel(struct subchannel *sch)
        return ret;
 }
 
-int
-css_probe_device(struct subchannel_id schid)
+static int css_probe_device(struct subchannel_id schid)
 {
        int ret;
        struct subchannel *sch;
index 71fcfdc42800d39d0433d51cbf1e6f30be521f37..ed7977531c3f8a14d9e345f86130107e1e582442 100644 (file)
@@ -138,9 +138,7 @@ struct css_driver {
  * all css_drivers have the css_bus_type
  */
 extern struct bus_type css_bus_type;
-extern struct css_driver io_subchannel_driver;
 
-extern int css_probe_device(struct subchannel_id);
 extern int css_sch_device_register(struct subchannel *);
 extern void css_sch_device_unregister(struct subchannel *);
 extern struct subchannel * get_subchannel_by_schid(struct subchannel_id);
index a23ff582db9ddf03b303aa6647d2d353f7e96294..a8b373f69cf0ef2d61ab1315b3b191f4276e39e9 100644 (file)
@@ -129,7 +129,7 @@ static void io_subchannel_verify(struct device *);
 static void io_subchannel_ioterm(struct device *);
 static void io_subchannel_shutdown(struct subchannel *);
 
-struct css_driver io_subchannel_driver = {
+static struct css_driver io_subchannel_driver = {
        .subchannel_type = SUBCHANNEL_TYPE_IO,
        .drv = {
                .name = "io_subchannel",
@@ -546,7 +546,7 @@ static struct attribute_group ccwdev_attr_group = {
        .attrs = ccwdev_attrs,
 };
 
-struct attribute_group *ccwdev_attr_groups[] = {
+static struct attribute_group *ccwdev_attr_groups[] = {
        &ccwdev_attr_group,
        NULL,
 };
index 16f59fcb66b13938480a497f4d2deeda2d9fa669..a5d263fb55ae1722ff0aced679d55df0978e7546 100644 (file)
@@ -616,6 +616,17 @@ ccw_device_get_chp_desc(struct ccw_device *cdev, int chp_no)
        return chp_get_chp_desc(chpid);
 }
 
+/**
+ * ccw_device_get_id - obtain a ccw device id
+ * @cdev: device to obtain the id for
+ * @dev_id: where to fill in the values
+ */
+void ccw_device_get_id(struct ccw_device *cdev, struct ccw_dev_id *dev_id)
+{
+       *dev_id = cdev->private->dev_id;
+}
+EXPORT_SYMBOL(ccw_device_get_id);
+
 // FIXME: these have to go:
 
 int
index f770018fe1d5c02c691686b32115b59bf1d6472e..e70aeb7a378109ef1fa1f6a31d72ae6fe7009828 100644 (file)
@@ -1983,6 +1983,7 @@ qdio_handle_pci(struct qdio_irq *irq_ptr)
                if (q->is_input_q&QDIO_FLAG_NO_INPUT_INTERRUPT_CONTEXT)
                        qdio_mark_q(q);
                else {
+                       qdio_perf_stat_dec(&perf_stats.tl_runs);
                        __qdio_inbound_processing(q);
                }
        }
index f98fa465df0a79b4ed45c68ea43a89e83cc4e072..eada69dec4fe7ea7c299e701f31b6c66ee6211c8 100644 (file)
@@ -3,7 +3,7 @@ menu "S/390 network device drivers"
 
 config LCS
        tristate "Lan Channel Station Interface"
-       depends on NETDEVICES && (NET_ETHERNET || TR || FDDI)
+       depends on CCW && NETDEVICES && (NET_ETHERNET || TR || FDDI)
        help
           Select this option if you want to use LCS networking  on IBM S/390
           or zSeries. This device driver supports Token Ring (IEEE 802.5),
@@ -13,7 +13,7 @@ config LCS
 
 config CTC
        tristate "CTC device support"
-       depends on NETDEVICES
+       depends on CCW && NETDEVICES
        help
          Select this option if you want to use channel-to-channel networking
          on IBM S/390 or zSeries. This device driver supports real CTC
@@ -42,7 +42,7 @@ config SMSGIUCV
 
 config CLAW
        tristate "CLAW device support"
-       depends on NETDEVICES
+       depends on CCW && NETDEVICES
        help
          This driver supports channel attached CLAW devices.
          CLAW is Common Link Access for Workstation.  Common devices
@@ -52,7 +52,7 @@ config CLAW
 
 config QETH
        tristate "Gigabit Ethernet device support"
-       depends on NETDEVICES && IP_MULTICAST && QDIO
+       depends on CCW && NETDEVICES && IP_MULTICAST && QDIO
        help
          This driver supports the IBM S/390 and zSeries OSA Express adapters
          in QDIO mode (all media types), HiperSockets interfaces and VM GuestLAN
index f54fdfdbf06fcf300f8e812b67451fcdf09055f0..f29a4bc4f6f2ebe855d99c6f65a1ab8282f7c7b7 100644 (file)
@@ -162,7 +162,7 @@ struct ipa_rc_msg {
        char *msg;
 };
 
-struct ipa_rc_msg qeth_ipa_rc_msg[] = {
+static struct ipa_rc_msg qeth_ipa_rc_msg[] = {
        {IPA_RC_SUCCESS,                "success"},
        {IPA_RC_NOTSUPP,                "Command not supported"},
        {IPA_RC_IP_TABLE_FULL,          "Add Addr IP Table Full - ipv6"},
@@ -226,7 +226,7 @@ struct ipa_cmd_names {
        char *name;
 };
 
-struct ipa_cmd_names qeth_ipa_cmd_names[] = {
+static struct ipa_cmd_names qeth_ipa_cmd_names[] = {
        {IPA_CMD_STARTLAN,      "startlan"},
        {IPA_CMD_STOPLAN,       "stoplan"},
        {IPA_CMD_SETVMAC,       "setvmac"},
index 324899c96efe2dcf4b15597d245c5306ceead9f6..ddff40c4212c28068dcb3b58e501ba1398d4e336 100644 (file)
@@ -607,8 +607,7 @@ zfcp_sg_list_free(struct zfcp_sg_list *sg_list)
  * @sg_count: elements in array
  * Return: size of entire scatter-gather list
  */
-size_t
-zfcp_sg_size(struct scatterlist *sg, unsigned int sg_count)
+static size_t zfcp_sg_size(struct scatterlist *sg, unsigned int sg_count)
 {
        unsigned int i;
        struct scatterlist *p;
@@ -975,8 +974,7 @@ zfcp_free_low_mem_buffers(struct zfcp_adapter *adapter)
                mempool_destroy(adapter->pool.data_gid_pn);
 }
 
-void
-zfcp_dummy_release(struct device *dev)
+static void zfcp_dummy_release(struct device *dev)
 {
        return;
 }
@@ -1336,7 +1334,7 @@ zfcp_nameserver_enqueue(struct zfcp_adapter *adapter)
 
 #define ZFCP_LOG_AREA                   ZFCP_LOG_AREA_FC
 
-void
+static void
 zfcp_fsf_incoming_els_rscn(struct zfcp_adapter *adapter,
                           struct fsf_status_read_buffer *status_buffer)
 {
index d8191d115c14a3c8a8db329f5613e53bc2805224..5f3212440f68594b304e9c0b48074b1c3c0618bd 100644 (file)
@@ -478,7 +478,7 @@ static struct debug_view zfcp_hba_dbf_view = {
        NULL
 };
 
-void
+static void
 _zfcp_san_dbf_event_common_ct(const char *tag, struct zfcp_fsf_req *fsf_req,
                              u32 s_id, u32 d_id, void *buffer, int buflen)
 {
index e8efe938c4e740a64da3bc68627cb9ad8ae2ecaf..a6f5bfbb777b646ae75047c3ba625a677ba3edc3 100644 (file)
@@ -5,6 +5,7 @@
 #
 
 menu "Serial drivers"
+       depends on HAS_IOMEM
 
 #
 # The new 8250/16550 serial drivers
index 07c587ec71be17b42d7900d809199236ffe0f12a..7c9d37f651e3bd6887f4d36217c4ae393e38d617 100644 (file)
@@ -6,6 +6,7 @@
 # fully appropriate there, so it'd need some thought to do well.
 #
 menu "SPI support"
+       depends on HAS_IOMEM
 
 config SPI
        bool "SPI support"
index 7625b1816baf96a5c560c4a4457bea8fc3152743..dd1d6a53f3c084f0b5a2cc49d27ee27da3fafb0c 100644 (file)
@@ -3,6 +3,7 @@
 #
 
 menu "Telephony Support"
+       depends on HAS_IOMEM
 
 config PHONE
        tristate "Linux telephony support"
index 278a22cea5bf78c42b1bc76afd62688f0a3a73a9..15499b7e33f4855b1f6bb8f440d06672a8388c86 100644 (file)
@@ -3,6 +3,7 @@
 #
 
 menu "USB support"
+       depends on HAS_IOMEM
 
 # Host-side USB depends on having a host controller
 # NOTE:  dummy_hcd is always an option, but it's ignored here ...
index 9a256d2ff9dc8e18cae69f852c28b9061022b2d2..f54438828cb91ade3dff0fa3d438ea47390eac8a 100644 (file)
@@ -3,6 +3,7 @@
 #
 
 menu "Graphics support"
+       depends on HAS_IOMEM
 
 source "drivers/video/backlight/Kconfig"
 source "drivers/video/display/Kconfig"
index c287a9ae4fdd56690444c44a2f6e57269e50cb5a..ca75b3ad3a2ebd6f64ae48fc7d476c7ec98f86ec 100644 (file)
@@ -1,4 +1,5 @@
 menu "Dallas's 1-wire bus"
+       depends on HAS_IOMEM
 
 config W1
        tristate "Dallas's 1-wire support"
index 6795ecefd15b353c3c93414856a770d5e350416a..4c2e1710f15724ad7d170adb25723683245a30e1 100644 (file)
@@ -16,6 +16,7 @@
 /* structs from asm/cio.h */
 struct irb;
 struct ccw1;
+struct ccw_dev_id;
 
 /* simplified initializers for struct ccw_device:
  * CCW_DEVICE and CCW_DEVICE_DEVTYPE initialize one
@@ -175,6 +176,7 @@ extern int ccw_device_set_offline(struct ccw_device *cdev);
 
 extern struct ciw *ccw_device_get_ciw(struct ccw_device *, __u32 cmd);
 extern __u8 ccw_device_get_path_mask(struct ccw_device *);
+extern void ccw_device_get_id(struct ccw_device *, struct ccw_dev_id *);
 
 #define get_ccwdev_lock(x) (x)->ccwlock
 
@@ -184,7 +186,6 @@ extern __u8 ccw_device_get_path_mask(struct ccw_device *);
 extern struct ccw_device *ccw_device_probe_console(void);
 
 // FIXME: these have to go
-extern int _ccw_device_get_device_number(struct ccw_device *);
 extern int _ccw_device_get_subchannel_number(struct ccw_device *);
 
 extern void *ccw_device_get_chp_desc(struct ccw_device *, int);
index bdcd448d43fb86518f5edb2d0eca000a1333129d..2c40fd3a137f304afd985a58c8155abadd7dcf70 100644 (file)
@@ -79,8 +79,8 @@ struct ipl_parameter_block {
  * IPL validity flags
  */
 extern u32 ipl_flags;
-
 extern u32 dump_prefix_page;
+extern unsigned int zfcpdump_prefix_array[];
 
 extern void do_reipl(void);
 extern void ipl_save_parameters(void);
index 085a7e229b2377e9a6c462d255f597e3a995e25c..34aaa4603347f46f4125a2d787ef256a854037d3 100644 (file)
@@ -10,7 +10,7 @@
 #define _ASMS390_PARAM_H
 
 #ifdef __KERNEL__
-# define HZ            100             /* Internal kernel timer frequency */
+# define HZ            CONFIG_HZ       /* Internal kernel timer frequency */
 # define USER_HZ       100             /* .. some user interfaces are in "ticks" */
 # define CLOCKS_PER_SEC        (USER_HZ)       /* like times() */
 #endif
index caeacd16656a044588d54b3ede24ea80e0252c59..f3de72978ab61e1866e1fa4e2d585abaf5496901 100644 (file)
@@ -218,6 +218,7 @@ config FIB_RULES
        bool
 
 menu "Wireless"
+       depends on !S390
 
 source "net/wireless/Kconfig"
 source "net/mac80211/Kconfig"
index 43dd86fca4d3d0cd558d6bce78793e6113a2604e..2a72aa96a568e023ace382de13205de1a17f016d 100644 (file)
@@ -3,7 +3,7 @@
 #
 
 menuconfig HAMRADIO
-       depends on NET
+       depends on NET && !S390
        bool "Amateur Radio support"
        help
          If you want to connect your Linux box to an amateur radio, answer Y
index 6929490d095afaf8d5321803a8cfa42b4e7da0ca..7725da95a767185c5a3cccd0713198a1e8070328 100644 (file)
@@ -3,7 +3,7 @@
 #
 
 menuconfig BT
-       depends on NET
+       depends on NET && !S390
        tristate "Bluetooth subsystem support"
        help
          Bluetooth is low-cost, low-power, short-range wireless technology.
index 9efb17ba48acc9c6995cb72af28af9678dd84210..c8671a7ffb3cd11153fad20d0f6cfc16479b6e1e 100644 (file)
@@ -3,7 +3,7 @@
 #
 
 menuconfig IRDA
-       depends on NET
+       depends on NET && !S390
        tristate "IrDA (infrared) subsystem support"
        select CRC_CCITT
        ---help---
index 97532bbc2ccba8fb301a6dfdd9991a3694012381..9ea473823418858f5d4b9e90cf0c14726507d9c1 100644 (file)
@@ -2,6 +2,7 @@
 #
 
 menu "Sound"
+       depends on HAS_IOMEM
 
 config SOUND
        tristate "Sound card support"