1. 11 6月, 2013 1 次提交
  2. 16 4月, 2013 1 次提交
  3. 11 3月, 2013 1 次提交
  4. 16 2月, 2013 1 次提交
  5. 12 2月, 2013 1 次提交
  6. 11 2月, 2013 2 次提交
  7. 09 2月, 2013 1 次提交
  8. 22 1月, 2013 1 次提交
  9. 19 1月, 2013 1 次提交
    • J
      tty: Added a CONFIG_TTY option to allow removal of TTY · 4f73bc4d
      Joe Millenbach 提交于
      The option allows you to remove TTY and compile without errors. This
      saves space on systems that won't support TTY interfaces anyway.
      bloat-o-meter output is below.
      
      The bulk of this patch consists of Kconfig changes adding "depends on
      TTY" to various serial devices and similar drivers that require the TTY
      layer.  Ideally, these dependencies would occur on a common intermediate
      symbol such as SERIO, but most drivers "select SERIO" rather than
      "depends on SERIO", and "select" does not respect dependencies.
      
      bloat-o-meter output comparing our previous minimal to new minimal by
      removing TTY.  The list is filtered to not show removed entries with awk
      '$3 != "-"' as the list was very long.
      
      add/remove: 0/226 grow/shrink: 2/14 up/down: 6/-35356 (-35350)
      function                                     old     new   delta
      chr_dev_init                                 166     170      +4
      allow_signal                                  80      82      +2
      static.__warned                              143     142      -1
      disallow_signal                               63      62      -1
      __set_special_pids                            95      94      -1
      unregister_console                           126     121      -5
      start_kernel                                 546     541      -5
      register_console                             593     588      -5
      copy_from_user                                45      40      -5
      sys_setsid                                   128     120      -8
      sys_vhangup                                   32      19     -13
      do_exit                                     1543    1526     -17
      bitmap_zero                                   60      40     -20
      arch_local_irq_save                          137     117     -20
      release_task                                 674     652     -22
      static.spin_unlock_irqrestore                308     260     -48
      Signed-off-by: NJoe Millenbach <jmillenbach@gmail.com>
      Reviewed-by: NJamey Sharp <jamey@minilop.net>
      Reviewed-by: NJosh Triplett <josh@joshtriplett.org>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      4f73bc4d
  10. 20 11月, 2012 1 次提交
  11. 19 11月, 2012 1 次提交
  12. 29 10月, 2012 1 次提交
    • J
      i2c-i801: Simplify dependency towards GPIOLIB · 79e3e5b8
      Jean Delvare 提交于
      Arbitrarily selecting GPIOLIB causes trouble on some architectures,
      so don't do that. Instead, just make the optional multiplexing code
      depend on CONFIG_I2C_MUX_GPIO instead of CONFIG_I2C_MUX for now. We
      can revisit if the i2c-i801 driver ever supports other multiplexing
      flavors.
      
      Also make that optional code depend on DMI, as it won't do anything
      without that.
      Signed-off-by: NJean Delvare <khali@linux-fr.org>
      Cc: Fengguang Wu <fengguang.wu@intel.com>
      79e3e5b8
  13. 08 10月, 2012 1 次提交
  14. 06 10月, 2012 3 次提交
    • J
      i2c-i801: Support SMBus multiplexing on Asus Z8 series · 3ad7ea18
      Jean Delvare 提交于
      Add support for SMBus multiplexing on Asus Z8 motherboard series. On
      these boards, the memory slots are behind a GPIO-controlled I2C
      multiplexer. Models with 6 or 12 memory slots have 2 segments behind
      the multiplexer, while models with 18 memory slots have 3 such
      segments.
      
      On these boards, only the memory slots are behind the multiplexer,
      so it is possible to keep the autodetection mechanism.
      
      The code is generic enough so it could work on other boards as long as
      the multiplexer is controlled by GPIO pins. For other forms of
      multiplexing (for example using an I2C device) additional code will be
      needed.
      
      Thanks to Asus for providing a board to develop and test this feature,
      as well as all the technical information required.
      
      At the moment, the GPIO driver must be loaded before the i2c-i801
      driver, but I hope to solve this soon, using deferred probing on
      the i2c-mux-gpio side.
      Signed-off-by: NJean Delvare <khali@linux-fr.org>
      3ad7ea18
    • J
      i2c-viapro: Add VIA VX900 device ID · 01d56a6a
      Jean Delvare 提交于
      The SMBus controller in the VIA VX900 appears to be compatible with
      the VIA VX855, so just add the device ID.
      
      This closes kernel bug #43096.
      Signed-off-by: NJean Delvare <khali@linux-fr.org>
      01d56a6a
    • P
      i2c: Make I2C available on UML · 3ddb59d4
      Peter Huewe 提交于
      Remove the global dependency of the I2C subsystem on HAS_IOMEM and
      move the dependency to the i2c/busses submenu, with an exception for
      i2c-stub.
      
      The generic I2C part does not need to have HAS_IOMEM set and thus now
      becomes available in UML, so the I2C subsystem can now be used, e.g.
      by the i2c-stub driver, for development of I2C device drivers.
      
      [JD: Some adjustments.]
      
      [Heiko Carstens: Keep I2C disabled on S390.]
      Signed-off-by: NPeter Huewe <peterhuewe@gmx.de>
      Signed-off-by: NJean Delvare <khali@linux-fr.org>
      3ddb59d4
  15. 12 9月, 2012 1 次提交
  16. 10 9月, 2012 2 次提交
    • A
      i2c-designware: Fix build error if CONFIG_I2C_DESIGNWARE_PLATFORM=y && CONFIG_I2C_DESIGNWARE_PCI=y · e68bb91b
      Axel Lin 提交于
      This patch adds config I2C_DESIGNWARE_CORE in Kconfig, and let
      I2C_DESIGNWARE_PLATFORM and I2C_DESIGNWARE_PCI select I2C_DESIGNWARE_CORE.
      
      Because both I2C_DESIGNWARE_PLATFORM and I2C_DESIGNWARE_PCI can be built as
      built-in or module, we also need to export the functions in i2c-designware-core.
      
      This fixes below build error when CONFIG_I2C_DESIGNWARE_PLATFORM=y &&
      CONFIG_I2C_DESIGNWARE_PCI=y:
      
        LD      drivers/i2c/busses/built-in.o
      drivers/i2c/busses/i2c-designware-pci.o: In function `i2c_dw_clear_int':
      i2c-designware-core.c:(.text+0xa10): multiple definition of `i2c_dw_clear_int'
      drivers/i2c/busses/i2c-designware-platform.o:i2c-designware-platdrv.c:(.text+0x928): first defined here
      drivers/i2c/busses/i2c-designware-pci.o: In function `i2c_dw_init':
      i2c-designware-core.c:(.text+0x178): multiple definition of `i2c_dw_init'
      drivers/i2c/busses/i2c-designware-platform.o:i2c-designware-platdrv.c:(.text+0x90): first defined here
      drivers/i2c/busses/i2c-designware-pci.o: In function `dw_readl':
      i2c-designware-core.c:(.text+0xe8): multiple definition of `dw_readl'
      drivers/i2c/busses/i2c-designware-platform.o:i2c-designware-platdrv.c:(.text+0x0): first defined here
      drivers/i2c/busses/i2c-designware-pci.o: In function `i2c_dw_isr':
      i2c-designware-core.c:(.text+0x724): multiple definition of `i2c_dw_isr'
      drivers/i2c/busses/i2c-designware-platform.o:i2c-designware-platdrv.c:(.text+0x63c): first defined here
      drivers/i2c/busses/i2c-designware-pci.o: In function `i2c_dw_xfer':
      i2c-designware-core.c:(.text+0x4b0): multiple definition of `i2c_dw_xfer'
      drivers/i2c/busses/i2c-designware-platform.o:i2c-designware-platdrv.c:(.text+0x3c8): first defined here
      drivers/i2c/busses/i2c-designware-pci.o: In function `i2c_dw_is_enabled':
      i2c-designware-core.c:(.text+0x9d4): multiple definition of `i2c_dw_is_enabled'
      drivers/i2c/busses/i2c-designware-platform.o:i2c-designware-platdrv.c:(.text+0x8ec): first defined here
      drivers/i2c/busses/i2c-designware-pci.o: In function `dw_writel':
      i2c-designware-core.c:(.text+0x124): multiple definition of `dw_writel'
      drivers/i2c/busses/i2c-designware-platform.o:i2c-designware-platdrv.c:(.text+0x3c): first defined here
      drivers/i2c/busses/i2c-designware-pci.o: In function `i2c_dw_xfer_msg':
      i2c-designware-core.c:(.text+0x2e8): multiple definition of `i2c_dw_xfer_msg'
      drivers/i2c/busses/i2c-designware-platform.o:i2c-designware-platdrv.c:(.text+0x200): first defined here
      drivers/i2c/busses/i2c-designware-pci.o: In function `i2c_dw_enable':
      i2c-designware-core.c:(.text+0x9c8): multiple definition of `i2c_dw_enable'
      drivers/i2c/busses/i2c-designware-platform.o:i2c-designware-platdrv.c:(.text+0x8e0): first defined here
      drivers/i2c/busses/i2c-designware-pci.o: In function `i2c_dw_read_comp_param':
      i2c-designware-core.c:(.text+0xa24): multiple definition of `i2c_dw_read_comp_param'
      drivers/i2c/busses/i2c-designware-platform.o:i2c-designware-platdrv.c:(.text+0x93c): first defined here
      drivers/i2c/busses/i2c-designware-pci.o: In function `i2c_dw_disable':
      i2c-designware-core.c:(.text+0x9dc): multiple definition of `i2c_dw_disable'
      drivers/i2c/busses/i2c-designware-platform.o:i2c-designware-platdrv.c:(.text+0x8f4): first defined here
      drivers/i2c/busses/i2c-designware-pci.o: In function `i2c_dw_func':
      i2c-designware-core.c:(.text+0x710): multiple definition of `i2c_dw_func'
      drivers/i2c/busses/i2c-designware-platform.o:i2c-designware-platdrv.c:(.text+0x628): first defined here
      drivers/i2c/busses/i2c-designware-pci.o: In function `i2c_dw_disable_int':
      i2c-designware-core.c:(.text+0xa18): multiple definition of `i2c_dw_disable_int'
      drivers/i2c/busses/i2c-designware-platform.o:i2c-designware-platdrv.c:(.text+0x930): first defined here
      make[3]: *** [drivers/i2c/busses/built-in.o] Error 1
      make[2]: *** [drivers/i2c/busses] Error 2
      make[1]: *** [drivers/i2c] Error 2
      make: *** [drivers] Error 2
      Signed-off-by: NAxel Lin <axel.lin@gmail.com>
      Signed-off-by: NJean Delvare <khali@linux-fr.org>
      Tested-by: NJiri Slaby <jslaby@suse.cz>
      Cc: stable@vger.kernel.org [3.2+]
      e68bb91b
    • J
      i2c-i801: Add Device IDs for Intel Lynx Point-LP PCH · 4a8f1ddd
      James Ralston 提交于
      Add the SMBus Device IDs for the Intel Lynx Point-LP PCH.
      Signed-off-by: NJames Ralston <james.d.ralston@intel.com>
      Signed-off-by: NJean Delvare <khali@linux-fr.org>
      4a8f1ddd
  17. 26 8月, 2012 1 次提交
  18. 24 7月, 2012 1 次提交
  19. 14 7月, 2012 1 次提交
  20. 09 7月, 2012 1 次提交
  21. 12 5月, 2012 1 次提交
  22. 21 4月, 2012 1 次提交
  23. 16 4月, 2012 1 次提交
  24. 27 3月, 2012 1 次提交
  25. 08 3月, 2012 1 次提交
  26. 25 2月, 2012 2 次提交
  27. 18 1月, 2012 1 次提交
  28. 08 12月, 2011 1 次提交
  29. 30 10月, 2011 1 次提交
    • G
      i2c: I2C_ELEKTOR should depend on HAS_IOPORT · 9519282a
      Geert Uytterhoeven 提交于
      On m68k, I get:
      
      drivers/i2c/busses/i2c-elektor.c: In function ‘pcf_isa_init’:
      drivers/i2c/busses/i2c-elektor.c:153: error: implicit declaration of function ‘ioport_map’
      drivers/i2c/busses/i2c-elektor.c:153: warning: assignment makes pointer from integer without a cast
      drivers/i2c/busses/i2c-elektor.c: In function ‘elektor_probe’:
      drivers/i2c/busses/i2c-elektor.c:287: error: implicit declaration of function ‘ioport_unmap’
      
      Since commit 82ed223c ("iomap: make IOPORT/PCI
      mapping functions conditional"), ioport_map() is only available on platforms
      that set HAS_IOPORT.
      Signed-off-by: NGeert Uytterhoeven <geert@linux-m68k.org>
      Signed-off-by: NJean Delvare <khali@linux-fr.org>
      9519282a
  30. 29 10月, 2011 2 次提交
  31. 25 10月, 2011 1 次提交
  32. 24 10月, 2011 1 次提交
    • A
      mfd: remove CONFIG_MFD_SUPPORT · 8a0a8e8e
      Arnd Bergmann 提交于
      We currently have two symbols to control compilation the MFD subsystem,
      MFD_SUPPORT and MFD_CORE. The MFD_SUPPORT is actually not required
      at all, it only hides the submenu when not set, with the effect that
      Kconfig warns about missing dependencies when another driver selects
      an MFD driver while MFD_SUPPORT is disabled. Turning the MFD submenu
      back from menuconfig into a plain menu simplifies the Kconfig syntax
      for those kinds of users and avoids the surprise when the menu
      suddenly appears because another driver was enabled that selects this
      symbol.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      8a0a8e8e
  33. 25 5月, 2011 2 次提交