1. 26 5月, 2017 1 次提交
  2. 03 2月, 2017 1 次提交
  3. 11 1月, 2017 1 次提交
  4. 16 11月, 2016 1 次提交
  5. 10 11月, 2016 1 次提交
  6. 28 10月, 2016 1 次提交
  7. 29 6月, 2016 1 次提交
  8. 26 6月, 2016 1 次提交
  9. 04 6月, 2016 7 次提交
  10. 02 5月, 2016 2 次提交
  11. 06 3月, 2016 1 次提交
  12. 25 5月, 2015 1 次提交
  13. 12 1月, 2015 1 次提交
  14. 24 9月, 2014 1 次提交
  15. 17 4月, 2014 1 次提交
  16. 07 4月, 2014 1 次提交
  17. 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
  18. 13 11月, 2013 1 次提交
  19. 04 6月, 2013 1 次提交
  20. 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
  21. 18 9月, 2012 1 次提交
  22. 16 5月, 2012 2 次提交
  23. 09 3月, 2012 1 次提交
  24. 02 11月, 2011 1 次提交
  25. 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
  26. 07 5月, 2011 1 次提交
  27. 24 3月, 2011 1 次提交
  28. 23 2月, 2011 4 次提交
  29. 18 2月, 2011 1 次提交