1. 31 3月, 2016 1 次提交
  2. 05 10月, 2015 1 次提交
  3. 06 11月, 2014 1 次提交
    • P
      serial: Fix locking for uart driver set_termios() method · 7c8ab967
      Peter Hurley 提交于
      The low-level uart driver may modify termios settings to override
      settings that are not compatible with the uart, such as CRTSCTS.
      Thus, callers of the low-level uart driver's set_termios() method must
      hold termios_rwsem write lock to prevent concurrent access to termios,
      in case such override occurs.
      
      The termios_rwsem lock requirement does not extend to console setup
      (ie., uart_set_options), as console setup cannot race with tty
      operations. Nor does this lock requirement extend to functions which
      cannot be concurrent with tty ioctls (ie., uart_port_startup() and
      uart_resume_port()).
      
      Further, always claim the port mutex to protect hardware
      re-reprogramming in the set_termios() uart driver method. Note this
      is unnecessary for console initialization in uart_set_options()
      which cannot be concurrent with other uart operations.
      Signed-off-by: NPeter Hurley <peter@hurleysoftware.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      7c8ab967
  4. 09 9月, 2014 1 次提交
  5. 29 5月, 2014 1 次提交
  6. 17 10月, 2013 1 次提交
    • L
      serial: core: delete .set_wake() callback · fa2b5ea0
      Linus Walleij 提交于
      This deletes the .set_wake() callback in the struct uart_ops.
      Apparently this has been unused since pre-git times. In the
      old-2.6-bkcvs it is deleted as part of a changeset removing
      the PM_SET_WAKEUP from pm_request_t which is since also deleted
      from the kernel.
      
      The apropriate way to set wakeups in the kernel is to have a
      code snippet like this in .suspend() or .runtime_suspend()
      callbacks:
      
      static int foo_suspend(struct device *dev)
      {
      	if (device_may_wakeup(dev)) {
      		/* Enable wakeups, set internal states */
      	}
      }
      
      This specific callback is not coming back.
      
      Cc: Rafael J. Wysocki <rjw@sisk.pl>
      Cc: Len Brown <len.brown@intel.com>
      Cc: Pavel Machek <pavel@ucw.cz>
      Cc: Kevin Hilman <khilman@deeprootsystems.com>
      Cc: Dmitry Artamonow <mad_soft@inbox.ru>
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      fa2b5ea0
  7. 16 1月, 2013 2 次提交
  8. 05 1月, 2012 1 次提交
  9. 21 7月, 2008 1 次提交
  10. 03 6月, 2006 1 次提交
  11. 16 4月, 2006 1 次提交
    • R
      [SERIAL] Update serial driver documentation · 67ab7f59
      Russell King 提交于
      Improve serial driver documentation:
      - Remove CVS id.
      - Update pointer to reference driver documentation.
      - Add comments about new uart_write_console function.
      - Add TIOCM_LOOP modem control bit description.
      - Add commentry about enable_ms method being called multiple times.
      - Add commentry about startup/shutdown method calling.
      - Mention that dereferencing port->info after shutdown is invalid.
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      67ab7f59
  12. 31 10月, 2005 1 次提交
  13. 29 6月, 2005 1 次提交
  14. 17 4月, 2005 1 次提交
    • L
      Linux-2.6.12-rc2 · 1da177e4
      Linus Torvalds 提交于
      Initial git repository build. I'm not bothering with the full history,
      even though we have it. We can create a separate "historical" git
      archive of that later if we want to, and in the meantime it's about
      3.2GB when imported into git - space that would just make the early
      git days unnecessarily complicated, when we don't have a lot of good
      infrastructure for it.
      
      Let it rip!
      1da177e4