1. 29 11月, 2005 1 次提交
  2. 22 11月, 2005 1 次提交
  3. 19 11月, 2005 3 次提交
  4. 18 11月, 2005 2 次提交
    • R
      [PARISC] Define port->timeout to fix a long msleep in mux.c · a137ce85
      Ryan Bradetich 提交于
      This commit is in response to a bug reported by Vesa on the irc channel
      a couple of weeks ago.
      
      The bug was that the console would apparently hang (not return) while
      using the mux console.
      
      The root cause of this bug is that bash (with readline support) makes a
      call to the tcsetattr() glibc function with the argument TCSADRAIN.  This
      causes the serial core in the kernel use the uart_wait_until_sent() to be
      called. This function verifies the mux transmit queue is empty or calls the
      msleep_interruptable() with a calculated timeout value that is dependant
      upon the port->timeout variable.
      
      The real problem here is that the port->timeout was not defined so it
      was defaulted to 0 and the timeout calculation performs the following
      calculation:
      
      char_time = (port->timeout - HZ/50) / port->fifosize;
      
      where char_time is an unsigned long. Since the serial Mux does not use
      interrupts, the msleep_interruptable() function waits until the timeout
      has been reached ... and when the port->timeout < HZ/50 this timeout will
      be a long time. (I have validated that the console will eventually
      return ... but it takes quite a while for this to happen).
      
      This patch simply sets the port->timeout on the Mux to HZ/50 to avoid
      this long timeout period.
      Signed-off-by: NRyan Bradetich <rbrad@parisc-linux.org>
      Signed-off-by: NKyle McMartin <kyle@parisc-linux.org>
      a137ce85
    • R
      [PARISC] Compile fixups for serial/mux.c · 92495c0e
      Ryan Bradetich 提交于
      This patch does the following:
      * Fixes compiler warnings.
      * Replaces a __raw_readl call with the existing macro.
      Signed-off-by: NRyan Bradetich <rbrad@parisc-linux.org>
      Signed-off-by: NKyle McMartin <kyle@parisc-linux.org>
      92495c0e
  5. 14 11月, 2005 2 次提交
  6. 13 11月, 2005 7 次提交
  7. 10 11月, 2005 1 次提交
  8. 08 11月, 2005 2 次提交
  9. 07 11月, 2005 2 次提交
  10. 06 11月, 2005 1 次提交
  11. 05 11月, 2005 1 次提交
  12. 04 11月, 2005 1 次提交
  13. 31 10月, 2005 5 次提交
  14. 30 10月, 2005 1 次提交
  15. 29 10月, 2005 1 次提交
  16. 28 10月, 2005 3 次提交
  17. 25 10月, 2005 2 次提交
    • J
      [SERIAL] new hp diva console port · 551f8f0e
      Justin Chen 提交于
      Add the new ID 0x132a and configure the new PCI Diva console port.  This
      device supports only 1 single console UART.
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      551f8f0e
    • B
      [SERIAL] support the Exsys EX-4055 4S four-port card · add7b58e
      Bjorn Helgaas 提交于
      Tested by Wolfgang Denk with this device:
      
          00:0f.0 Network controller: PLX Technology, Inc. PCI <-> IOBus Bridge (rev 01)
              Subsystem: Exsys EX-4055 4S(16C550) RS-232
              Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
              Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
              Interrupt: pin A routed to IRQ 10
              Region 0: Memory at 80100000 (32-bit, non-prefetchable) [size=128]
              Region 1: I/O ports at 7080 [size=128]
              Region 2: I/O ports at 7400 [size=32]
      
          00:0f.0 Class 0280: 10b5:9050 (rev 01)
              Subsystem: d84d:4055
      
      Results with this patch:
      
          Serial: 8250/16550 driver $Revision: 1.90 $ 32 ports, IRQ sharing enabled
          ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
          PCI: Found IRQ 10 for device 0000:00:0f.0
          ttyS4 at I/O 0x7400 (irq = 10) is a 16550A
          ttyS5 at I/O 0x7408 (irq = 10) is a 16550A
          ttyS6 at I/O 0x7410 (irq = 10) is a 16550A
          ttyS7 at I/O 0x7418 (irq = 10) is a 16550A
      Signed-off-by: NBjorn Helgaas <bjorn.helgaas@hp.com>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      add7b58e
  18. 22 10月, 2005 3 次提交
  19. 15 10月, 2005 1 次提交