1. 14 6月, 2009 1 次提交
  2. 11 6月, 2009 1 次提交
  3. 07 6月, 2009 1 次提交
  4. 25 5月, 2009 2 次提交
  5. 22 5月, 2009 1 次提交
  6. 19 5月, 2009 2 次提交
  7. 14 5月, 2009 1 次提交
  8. 23 4月, 2009 1 次提交
  9. 14 4月, 2009 2 次提交
  10. 07 4月, 2009 2 次提交
  11. 03 4月, 2009 1 次提交
  12. 29 3月, 2009 2 次提交
  13. 28 3月, 2009 1 次提交
  14. 21 3月, 2009 1 次提交
  15. 21 2月, 2009 1 次提交
    • M
      8250: fix boot hang with serial console when using with Serial Over Lan port · b6adea33
      Mauro Carvalho Chehab 提交于
      Intel 8257x Ethernet boards have a feature called Serial Over Lan.
      
      This feature works by emulating a serial port, and it is detected by
      kernel as a normal 8250 port.  However, this emulation is not perfect, as
      also noticed on changeset 7500b1f6.
      
      Before this patch, the kernel were trying to check if the serial TX is
      capable of work using IRQ's.
      
      This were done with a code similar this:
      
              serial_outp(up, UART_IER, UART_IER_THRI);
              lsr = serial_in(up, UART_LSR);
              iir = serial_in(up, UART_IIR);
              serial_outp(up, UART_IER, 0);
      
              if (lsr & UART_LSR_TEMT && iir & UART_IIR_NO_INT)
      		up->bugs |= UART_BUG_TXEN;
      
      This works fine for other 8250 ports, but, on 8250-emulated SoL port, the
      chip is a little lazy to down UART_IIR_NO_INT at UART_IIR register.
      
      Due to that, UART_BUG_TXEN is sometimes enabled.  However, as TX IRQ keeps
      working, and the TX polling is now enabled, the driver miss-interprets the
      IRQ received later, hanging up the machine until a key is pressed at the
      serial console.
      
      This is the 6 version of this patch.  Previous versions were trying to
      introduce a large enough delay between serial_outp and serial_in(up,
      UART_IIR), but not taking forever.  However, the needed delay couldn't be
      safely determined.
      
      At the experimental tests, a delay of 1us solves most of the cases, but
      still hangs sometimes.  Increasing the delay to 5us was better, but still
      doesn't solve.  A very high delay of 50 ms seemed to work every time.
      
      However, poking around with delays and pray for it to be enough doesn't
      seem to be a good approach, even for a quirk.
      
      So, instead of playing with random large arbitrary delays, let's just
      disable UART_BUG_TXEN for all SoL ports.
      
      [akpm@linux-foundation.org: fix warnings]
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
      Cc: <stable@kernel.org>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      b6adea33
  16. 19 2月, 2009 1 次提交
  17. 18 2月, 2009 1 次提交
  18. 30 1月, 2009 2 次提交
  19. 29 1月, 2009 1 次提交
  20. 28 1月, 2009 1 次提交
  21. 26 1月, 2009 1 次提交
  22. 23 1月, 2009 1 次提交
  23. 22 1月, 2009 1 次提交
  24. 15 1月, 2009 1 次提交
  25. 07 1月, 2009 1 次提交
    • S
      Resurrect IT8172 IDE controller driver · 391ad190
      Shane McDonald 提交于
      Support for the IT8172 IDE controller was removed from the kernel
      sometime after 2.6.18.  Support for the only boards that used the IT8172
      was removed from the kernel after 2.6.18, as they had never compiled
      since 2.6.0.  However, there are a couple of platforms that use this
      chip: the PMC-Sierra Xiao Hu thin-client computer, which is no longer
      in production, and the Linksys NSS4000 Network Attached Storage box,
      which is based on the Xiao Hu board.  I am attempting to add support
      for the Xiao Hu to the kernel, and this IT8172 IDE controller is the
      first bit of code in this effort.
      
      This patch resurrects the IT8172 IDE controller code.  I began with
      the 2.6.18 version of the it8172.c file, and have moved it forward so
      that it works with the latest version of the kernel.  I have run this
      driver on a PMC-Sierra Xiao Hu board with the 2.6.28 kernel, and
      I have had no problems with it in my configuration.  The attached patch
      applies cleanly against 2.6.28.
      Signed-off-by: NShane McDonald <mcdonald.shane@gmail.com>
      Acked-by: NSergei Shtylyov <sshtylyov@ru.mvista.com>
      Cc: alan@lxorguk.ukuu.org.uk
      [bart: s/HWIF(drive)/drive->hwif/]
      Signed-off-by: NBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
      391ad190
  26. 03 1月, 2009 2 次提交
  27. 24 10月, 2008 1 次提交
  28. 22 10月, 2008 1 次提交
  29. 21 10月, 2008 1 次提交
  30. 17 10月, 2008 1 次提交
  31. 01 10月, 2008 1 次提交
  32. 25 9月, 2008 1 次提交
  33. 18 9月, 2008 1 次提交