1. 21 1月, 2010 1 次提交
    • S
      serial-core: resume serial hardware with no_console_suspend · 4547be78
      Stanislav Brabec 提交于
      Perform a tricky suspend/resume even with no_console_suspend.
      
      With no_console_suspend, kernel skips serial port suspend/resume and the
      serial hardware may remain in undefined state after resume. It actually
      happens on devices that don't have BIOS that handle serial
      initialization. It makes impossible to use serial console after resume.
      
      Devices affected by this problem include:
      Sharp Zaurus devices
      Several PXA based ARM embedded boards
      
      The patch does:
      - Save the hardware state
      - Perform buffer flush in time of its suspend call
      - Tell the driver that port is suspended
      - But still accept new data
      - And keep console hardware in state that allows to send them
      
      It allows to capture late console messages without breaking console
      after resume.
      
      This is just a resend of a patch discussed in these threads, as the
      patch was not yet applied.
      
      "Possible suspend/resume regression in .32-rc?" (Nov 1-5, 2009, ARM
      list, later LKML)
      
      "serial-core: resume serial hardware with no_console_suspend" (Sep
      15-Oct 18, 2009, LKML & ARM lists)
      Signed-off-by: NStanislav Brabec <sbrabec@suse.cz>
      Tested-by: NHaojian Zhuang <haojian.zhuang@gmail.com>
      Tested-by: NDaniel Mack <daniel@caiaq.de>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      4547be78
  2. 12 12月, 2009 2 次提交
  3. 13 10月, 2009 1 次提交
  4. 24 9月, 2009 1 次提交
    • R
      serial core: fix new kernel-doc warnings · 1b9894f3
      Randy Dunlap 提交于
      Fix new kernel-doc warnings in serial_core.[hc] files.
      
        Warning(include/linux/serial_core.h:485): No description found for parameter 'uport'
        Warning(include/linux/serial_core.h:485): Excess function parameter 'port' description in 'uart_handle_dcd_change'
        Warning(include/linux/serial_core.h:511): No description found for parameter 'uport'
        Warning(include/linux/serial_core.h:511): Excess function parameter 'port' description in 'uart_handle_cts_change'
        Warning(drivers/serial/serial_core.c:2437): No description found for parameter 'uport'
        Warning(drivers/serial/serial_core.c:2437): Excess function parameter 'port' description in 'uart_add_one_port'
        Warning(drivers/serial/serial_core.c:2509): No description found for parameter 'uport'
        Warning(drivers/serial/serial_core.c:2509): Excess function parameter 'port' description in 'uart_remove_one_port'
      Signed-off-by: NRandy Dunlap <randy.dunlap@oracle.com>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      1b9894f3
  5. 20 9月, 2009 11 次提交
  6. 02 4月, 2009 1 次提交
  7. 01 4月, 2009 1 次提交
  8. 07 1月, 2009 1 次提交
  9. 03 1月, 2009 3 次提交
  10. 16 10月, 2008 1 次提交
  11. 14 10月, 2008 2 次提交
  12. 23 7月, 2008 1 次提交
  13. 21 7月, 2008 2 次提交
  14. 05 7月, 2008 1 次提交
  15. 05 6月, 2008 1 次提交
  16. 03 6月, 2008 1 次提交
    • A
      serial_core: uart_set_ldisc infrastructure · 64e9159f
      Alan Cox 提交于
      The tty layer provides a callback that is used when the line discipline
      is changed. Some hardware uses this to configure hardware specific
      features such as IrDA mode on serial ports. Unfortunately the serial
      layer does not provide this feature or pass it down to drivers.
      
      Blackfin used to hack around this by rewriting the tty ops, but those are
      now properly shared and const so the hack fails. Instead provide the
      proper operations.
      
      This change plus a follow up from the Blackfin guys is needed to avoid
      blackfin losing features in this release.
      Signed-off-by: NAlan Cox <alan@redhat.com>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      64e9159f
  17. 25 5月, 2008 1 次提交
  18. 09 5月, 2008 1 次提交
  19. 30 4月, 2008 3 次提交
  20. 28 4月, 2008 1 次提交
  21. 20 4月, 2008 1 次提交
  22. 18 4月, 2008 2 次提交