1. 17 7月, 2007 5 次提交
    • A
      68360serial: remove broken optimisation · d471d340
      Alan Cox 提交于
      Remove the broken 'no termios change' optimisation for this driver.
      Signed-off-by: NAlan Cox <alan@redhat.com>
      Cc: Greg Ungerer <gerg@snapgear.com>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      d471d340
    • H
      atmel_serial: fix break handling · 9e6077bd
      Haavard Skinnemoen 提交于
      The RXBRK field in the AT91/AT32 USART status register has the
      following definition according to e.g. the AT32AP7000 data sheet:
      
          RXBRK: Break Received/End of Break
          0: No Break received or End of Break detected since the last RSTSTA.
          1: Break Received or End of Break detected since the last RSTSTA.
      
      Thus, for each break, the USART sets the RXBRK bit twice. This patch
      modifies the driver to report the break event to the serial core only
      once by keeping track of whether a break condition is currently
      active. The break_active flag is reset as soon as a character is
      received, so even if we miss the start-of-break interrupt this should
      do the right thing.
      Signed-off-by: NHaavard Skinnemoen <hskinnemoen@atmel.com>
      Cc: Andrew Victor <andrew@sanpeople.com>
      Cc: Russell King <rmk@arm.linux.org.uk>
      Cc: Ivan Kuten <ivan.kuten@promwad.com>
      Cc: Nicolas Ferre <nicolas.ferre@rfo.atmel.com>
      Cc: Patrice Vilchez <patrice.vilchez@rfo.atmel.com>
      Cc: Andrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      9e6077bd
    • T
      Update zilog timeout · c1fbac44
      Thiemo Seufer 提交于
      Update zilog timeout, thanks Peter Fuerst.
      Signed-off-by: NThiemo Seufer <ths@networkno.de>
      Cc: Martin Michlmayr <tbm@cyrius.com>
      Cc: Peter Fuerst <pf@net.alphadv.de>
      Cc: Russell King <rmk@arm.linux.org.uk>
      Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
      Cc: Ralf Baechle <ralf@linux-mips.org>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      c1fbac44
    • Y
      serial: convert early_uart to earlycon for 8250 · 18a8bd94
      Yinghai Lu 提交于
      Beacuse SERIAL_PORT_DFNS is removed from include/asm-i386/serial.h and
      include/asm-x86_64/serial.h.  the serial8250_ports need to be probed late in
      serial initializing stage.  the console_init=>serial8250_console_init=>
      register_console=>serial8250_console_setup will return -ENDEV, and console
      ttyS0 can not be enabled at that time.  need to wait till uart_add_one_port in
      drivers/serial/serial_core.c to call register_console to get console ttyS0.
      that is too late.
      
      Make early_uart to use early_param, so uart console can be used earlier.  Make
      it to be bootconsole with CON_BOOT flag, so can use console handover feature.
      and it will switch to corresponding normal serial console automatically.
      
      new command line will be:
      	console=uart8250,io,0x3f8,9600n8
      	console=uart8250,mmio,0xff5e0000,115200n8
      or
      	earlycon=uart8250,io,0x3f8,9600n8
      	earlycon=uart8250,mmio,0xff5e0000,115200n8
      
      it will print in very early stage:
      	Early serial console at I/O port 0x3f8 (options '9600n8')
      	console [uart0] enabled
      later for console it will print:
      	console handover: boot [uart0] -> real [ttyS0]
      
      Signed-off-by: <yinghai.lu@sun.com>
      Cc: Andi Kleen <ak@suse.de>
      Cc: Bjorn Helgaas <bjorn.helgaas@hp.com>
      Cc: Russell King <rmk@arm.linux.org.uk>
      Cc: Gerd Hoffmann <kraxel@suse.de>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      18a8bd94
    • Y
      serial: assert DTR for serial console devices · 79492689
      Yinghai Lu 提交于
      Some RS-232 devices require DTR to be asserted before they can be used.  DTR
      is normally asserted in uart_startup() when the port is opened.  But we don't
      actually open serial console ports, so assert DTR when the port is added.
      
      BTW:
      earlyprintk and early_uart are hard coded to set DTR/RTS.
      
      rmk says
      
        The only issue I can think of is the possibility for an attached modem to
        auto-answer or maybe even auto-dial before the system is ready for it to do
        so.  Might have an undesirable cost implication for some running with such a
        setup.
      
        Apart from that, I can't think of any other side effect of this specific
        patch.
      Signed-off-by: NYinghai Lu <yinghai.lu@sun.com>
      Acked-by: NRussell King <rmk@arm.linux.org.uk>
      Cc: Andi Kleen <ak@suse.de>
      Cc: Bjorn Helgaas <bjorn.helgaas@hp.com>
      Cc: Gerd Hoffmann <kraxel@suse.de>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      79492689
  2. 13 7月, 2007 1 次提交
  3. 12 7月, 2007 2 次提交
  4. 09 7月, 2007 1 次提交
  5. 29 6月, 2007 2 次提交
  6. 11 6月, 2007 4 次提交
  7. 06 6月, 2007 1 次提交
  8. 30 5月, 2007 2 次提交
  9. 29 5月, 2007 2 次提交
  10. 22 5月, 2007 2 次提交
  11. 17 5月, 2007 2 次提交
  12. 16 5月, 2007 2 次提交
  13. 14 5月, 2007 1 次提交
  14. 12 5月, 2007 2 次提交
  15. 10 5月, 2007 5 次提交
  16. 09 5月, 2007 6 次提交