1. 08 1月, 2006 1 次提交
  2. 07 1月, 2006 3 次提交
  3. 06 1月, 2006 4 次提交
  4. 04 1月, 2006 1 次提交
  5. 30 12月, 2005 1 次提交
  6. 27 12月, 2005 1 次提交
  7. 23 12月, 2005 1 次提交
  8. 08 12月, 2005 1 次提交
  9. 29 11月, 2005 1 次提交
  10. 22 11月, 2005 1 次提交
  11. 19 11月, 2005 3 次提交
  12. 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
  13. 14 11月, 2005 2 次提交
  14. 13 11月, 2005 7 次提交
  15. 10 11月, 2005 1 次提交
  16. 08 11月, 2005 2 次提交
  17. 07 11月, 2005 2 次提交
  18. 06 11月, 2005 1 次提交
  19. 05 11月, 2005 1 次提交
  20. 04 11月, 2005 1 次提交
  21. 31 10月, 2005 3 次提交