1. 04 6月, 2016 5 次提交
  2. 02 5月, 2016 2 次提交
  3. 06 3月, 2016 1 次提交
  4. 25 5月, 2015 1 次提交
  5. 12 1月, 2015 1 次提交
  6. 24 9月, 2014 1 次提交
  7. 17 4月, 2014 1 次提交
  8. 07 4月, 2014 1 次提交
  9. 08 2月, 2014 1 次提交
    • P
      raw: set range for MAX_RAW_DEVS · 7143479a
      Paul Bolle 提交于
      The Kconfig symbol MAX_RAW_DEVS is meant to be between 1 and 65536. But
      those boundaries are not enforced by its Kconfig entry.
      
      Note that MAX_RAW_DEVS is used to set MAX_RAW_MINORS in
      drivers/char/raw.c. If one would accidentally set MAX_RAW_DEVS to an
      invalid value, that invalid value will actually end up being used in
      raw_init().
      
      So add an appropriate range to this Kconfig entry.
      Signed-off-by: NPaul Bolle <pebolle@tiscali.nl>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      7143479a
  10. 13 11月, 2013 1 次提交
  11. 04 6月, 2013 1 次提交
  12. 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
  13. 18 9月, 2012 1 次提交
  14. 16 5月, 2012 2 次提交
  15. 09 3月, 2012 1 次提交
  16. 02 11月, 2011 1 次提交
  17. 11 6月, 2011 1 次提交
    • C
      arch/tile: add hypervisor-based character driver for SPI flash ROM · dbcb4a1a
      Chris Metcalf 提交于
      The first version of this patch proposed an arch/tile/drivers/ directory,
      but the consensus was that this was probably a poor choice for a place to
      group Tilera-specific drivers, and that in any case grouping by platform
      was discouraged, and grouping by function was preferred.
      
      This version of the patch addresses various issues raised in the
      community, primarily the absence of sysfs integration.  The sysfs
      integration now handles passing information on sector size, page size,
      and total partition size to userspace as well.  In addition, we now
      use a single "struct cdev" to manage all the partition minor devices,
      and dynamically discover the correct number of partitions from the
      hypervisor rather than using a module_param with a default value.
      
      This driver has no particular "peer" drivers it can be grouped with.
      It is sort of like an MTD driver for SPI ROM, but it doesn't group well
      with the other MTD devices since it relies on hypervisor virtualization
      to handle many of the irritating aspects of flash ROM management: sector
      awareness, background read for sub-sector writes, bit examination to
      determine whether a sector erase needs to be issued, etc.  It is in fact
      more like an EEPROM driver, but the hypervisor virtualization does require
      a "flush" command if you wish to commit a sector write prior to writing
      to a different sector, and this is sufficiently different from generic
      I2C/SPI EEPROMs that as a result it doesn't group well with them either.
      
      The simple character device is already in use by a range of Tilera
      SPI ROM management tools, as well as by customers.  In addition, using
      the simple character device actually simplifies the userspace tools,
      since they don't need to manage sector erase, background read, etc.
      This both simplifies the code (since we can uniformly manage plain files
      and the SPI ROM) as well as makes the user code portable to non-Linux
      platforms that don't offer the same MTD ioctls.
      Signed-off-by: NChris Metcalf <cmetcalf@tilera.com>
      Reviewed-by: NArnd Bergmann <arnd@arndb.de>
      dbcb4a1a
  18. 07 5月, 2011 1 次提交
  19. 24 3月, 2011 1 次提交
  20. 23 2月, 2011 4 次提交
  21. 18 2月, 2011 1 次提交
  22. 21 1月, 2011 1 次提交
    • D
      kconfig: rename CONFIG_EMBEDDED to CONFIG_EXPERT · 6a108a14
      David Rientjes 提交于
      The meaning of CONFIG_EMBEDDED has long since been obsoleted; the option
      is used to configure any non-standard kernel with a much larger scope than
      only small devices.
      
      This patch renames the option to CONFIG_EXPERT in init/Kconfig and fixes
      references to the option throughout the kernel.  A new CONFIG_EMBEDDED
      option is added that automatically selects CONFIG_EXPERT when enabled and
      can be used in the future to isolate options that should only be
      considered for embedded systems (RISC architectures, SLOB, etc).
      
      Calling the option "EXPERT" more accurately represents its intention: only
      expert users who understand the impact of the configuration changes they
      are making should enable it.
      Reviewed-by: NIngo Molnar <mingo@elte.hu>
      Acked-by: NDavid Woodhouse <david.woodhouse@intel.com>
      Signed-off-by: NDavid Rientjes <rientjes@google.com>
      Cc: Greg KH <gregkh@suse.de>
      Cc: "David S. Miller" <davem@davemloft.net>
      Cc: Jens Axboe <axboe@kernel.dk>
      Cc: Arnd Bergmann <arnd@arndb.de>
      Cc: Robin Holt <holt@sgi.com>
      Cc: <linux-arch@vger.kernel.org>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      6a108a14
  23. 14 1月, 2011 2 次提交
  24. 01 12月, 2010 1 次提交
  25. 23 10月, 2010 1 次提交
  26. 12 8月, 2010 1 次提交
  27. 05 6月, 2010 1 次提交
  28. 28 5月, 2010 1 次提交
    • M
      char drivers: RAM oops/panic logger · 56d611a0
      Marco Stornelli 提交于
      Ramoops, like mtdoops, can log oops/panic information but in RAM.  It can
      be used with persistent RAM for systems without flash support.  In
      addition, for this systems, with this driver, it's no more needed add to
      the kernel the mtd subsystem with advantage in footprint.
      
      It can be used in a very easy way with persistent RAM for systems without
      flash support.  For these systems, with this driver, it is no longer
      required to cinlude mtd subsystem with an advantage in footprint.  In
      addition, you can save flash space and store this information only in RAM.
      Signed-off-by: NMarco Stornelli <marco.stornelli@gmail.com>
      Cc: Simon Kagstrom <simon.kagstrom@netinsight.net>
      Cc: David Woodhouse <David.Woodhouse@intel.com>
      Cc; Anders Grafstrom <anders.grafstrom@netinsight.net>
      Cc: Yuasa Yoichi <yuasa@linux-mips.org>
      Cc: Jamie Lokier <jamie@shareable.org>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      56d611a0
  29. 22 5月, 2010 2 次提交
    • R
      tty: n_gsm: depends on NET · 972c1962
      Randy Dunlap 提交于
      n_gsm uses skb functions, so it should depend on NET.
      
      n_gsm.c:(.text+0x123d49): undefined reference to `skb_dequeue'
      n_gsm.c:(.text+0x123d98): undefined reference to `kfree_skb'
      n_gsm.c:(.text+0x123e1e): undefined reference to `skb_pull'
      Signed-off-by: NRandy Dunlap <randy.dunlap@oracle.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      972c1962
    • A
      tty: n_gsm line discipline · e1eaea46
      Alan Cox 提交于
      Add an implementation of GSM 0710 MUX. The implementation currently supports
      
      - Basic and advanced framing (as either end of the link)
      - UI or UIH data frames
      - Adaption layer 1-4 (1 and 2 via tty, 3 and 4 as skbuff lists)
      - Modem and control messages including the correct retry process
      - Flow control
      
      and exposes the MUX channels as a set of virtual tty devices including modem
      signals. This is an experimental driver.
      Signed-off-by: NAlan Cox <alan@linux.intel.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      e1eaea46