1. 02 10月, 2006 1 次提交
    • J
      [PATCH] const struct tty_operations · b68e31d0
      Jeff Dike 提交于
      As part of an SMP cleanliness pass over UML, I consted a bunch of
      structures in order to not have to document their locking.  One of these
      structures was a struct tty_operations.  In order to const it in UML
      without introducing compiler complaints, the declaration of
      tty_set_operations needs to be changed, and then all of its callers need to
      be fixed.
      
      This patch declares all struct tty_operations in the tree as const.  In all
      cases, they are static and used only as input to tty_set_operations.  As an
      extra check, I ran an i386 allyesconfig build which produced no extra
      warnings.
      
      53 drivers are affected.  I checked the history of a bunch of them, and in
      most cases, there have been only a handful of maintenance changes in the
      last six months.  serial_core.c was the busiest one that I looked at.
      Signed-off-by: NJeff Dike <jdike@addtoit.com>
      Acked-by: NAlan Cox <alan@redhat.com>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      b68e31d0
  2. 26 9月, 2006 1 次提交
  3. 30 8月, 2006 1 次提交
  4. 10 7月, 2006 1 次提交
    • Z
      [SERIAL] 8250: add tsi108 serial support · 3be91ec7
      Zang Roy-r61911 提交于
      The following patch gets rid of CONFIG_TSI108_BRIDGE.  I add UPIO_TSI to
      handle IIR and IER register in serial_in and serial_out.
      
      (1) the reason to rewrite serial_in:
      
          TSI108 rev Z1 version ERRATA.  Reading the UART's Interrupt
          Identification Register (IIR) clears the Transmit Holding Register
          Empty (THRE) and Transmit buffer Empty (TEMP) interrupts even if they
          are not enabled in the Interrupt Enable Register (IER).  This leads to
          loss of the interrupts.  Interrupts are not cleared when reading UART
          registers as 32-bit word.
      
      (2) the reason to rewrite serial_out:
      
          Check for UART_IER_UUE bit in the autoconfig routine.  This section
          of autoconfig is excluded for Tsi108/109 because bits 7 and 6 are
          reserved for internal use.  They are R/W bits.  In addition to
          incorrect identification, changing these bits (from 00) will make
          Tsi108/109 UART non-functional.
      Signed-off-by: NRoy Zang <tie-fei.zang@freescale.com>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      3be91ec7
  5. 04 7月, 2006 1 次提交
  6. 03 7月, 2006 1 次提交
    • R
      [SERIAL] Convert fifosize to an unsigned int · 947deee8
      Russell King 提交于
      Some UARTs have more than 255 bytes of FIFO, which can't be
      represented by an unsigned char.  Change the kernel's internal
      structure to be an unsigned int, but still export an unsigned char
      via the TIOCGSERIAL ioctl.  If the TIOCSSERIAL ioctl provides a
      fifo size of 0, assume this means "don't change" otherwise we'll
      corrupt the larger fifo sizes.
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      947deee8
  7. 01 7月, 2006 1 次提交
  8. 27 6月, 2006 2 次提交
  9. 16 5月, 2006 1 次提交
  10. 30 4月, 2006 1 次提交
  11. 21 3月, 2006 1 次提交
  12. 09 3月, 2006 1 次提交
  13. 03 2月, 2006 1 次提交
    • A
      [SERIAL] initialize spinlock for port failed to setup console · 9c0f4755
      Atsushi Nemoto 提交于
      It seems serial_core intend to initialize port->lock just once for each
      ports.  This is done in uart_set_options() for console, and in
      uart_add_one_port() for other ports.  But there is a case the port->lock is
      not initialized by serial_core.  If the setup function for the console was
      failed, it will not call uart_set_options() but the port is marked as
      console (uart_console(port) returns 1).  It can happen if console was PCI
      port which can not detected at the time of register_console.
      
      This patch is to initialize port->lock for such console port.  With this
      change, most of spin_lock_init() (some of them are labeled "Temporary
      fix.") in low-level serial drivers can be omitted.
      Signed-off-by: NAtsushi Nemoto <anemo@mba.ocn.ne.jp>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      9c0f4755
  14. 22 1月, 2006 2 次提交
  15. 14 1月, 2006 1 次提交
  16. 13 1月, 2006 1 次提交
  17. 08 1月, 2006 1 次提交
    • R
      [SERIAL] Fix clocal wakeup problem · f61051cd
      Russell King 提交于
      Jim Alexander reported a problem where "if one calls open() in
      blocking mode with CLOCAL off, the 8250.c driver under the 2.6
      kernel (or at least 2.6.8 and 2.6.10) does not wake up the
      blocked process when DCD is asserted."
      
      Fix this by enabling modem status interrupts immediately before
      we read the carrier detect status.
      
      Thanks to Jim for reporting the problem and testing the fix.
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      f61051cd
  18. 05 1月, 2006 1 次提交
  19. 29 11月, 2005 1 次提交
  20. 13 11月, 2005 1 次提交
  21. 06 11月, 2005 1 次提交
  22. 31 10月, 2005 2 次提交
  23. 03 9月, 2005 1 次提交
  24. 01 9月, 2005 1 次提交
  25. 04 7月, 2005 1 次提交
  26. 30 6月, 2005 1 次提交
  27. 29 6月, 2005 1 次提交
  28. 17 4月, 2005 1 次提交
    • L
      Linux-2.6.12-rc2 · 1da177e4
      Linus Torvalds 提交于
      Initial git repository build. I'm not bothering with the full history,
      even though we have it. We can create a separate "historical" git
      archive of that later if we want to, and in the meantime it's about
      3.2GB when imported into git - space that would just make the early
      git days unnecessarily complicated, when we don't have a lot of good
      infrastructure for it.
      
      Let it rip!
      1da177e4