1. 27 9月, 2006 2 次提交
  2. 26 9月, 2006 1 次提交
  3. 18 9月, 2006 1 次提交
  4. 12 9月, 2006 1 次提交
  5. 30 8月, 2006 2 次提交
  6. 27 8月, 2006 1 次提交
  7. 24 8月, 2006 2 次提交
  8. 31 7月, 2006 1 次提交
  9. 22 7月, 2006 5 次提交
  10. 15 7月, 2006 2 次提交
  11. 14 7月, 2006 1 次提交
  12. 13 7月, 2006 1 次提交
    • D
      [SERIAL] sunsu: Handle keyboard and mouse ports directly. · 91d1ed1a
      David S. Miller 提交于
      The sunsu_ports[] array exists merely to be able to easily
      use an integer index to get at the proper serial console
      port struct.
      
      We size this only for real ports, not for the keyboard and
      mouse, and thus keyboard and mouse port registration would
      fail.
      
      Fix this by dynamically allocating the port struct for the
      keyboard and mouse, instead of using the sunsu_ports[]
      array.
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      91d1ed1a
  13. 10 7月, 2006 4 次提交
    • A
      [SERIAL] 8250: sysrq deadlock fix · 68aa2c0d
      Andrew Morton 提交于
      Fix http://bugzilla.kernel.org/show_bug.cgi?id=6716
      
      Doing a sysrq over a serial line into an SMP machine presently deadlocks.
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      68aa2c0d
    • 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
    • J
      [SERIAL] IP22: fix serial console hangs · c65b15cf
      Julien BLACHE 提交于
      The patch below fixes serial console hangs as seen on IP22
      machines. Typically, while booting, the machine hangs for ~1 minute
      displaying "INIT: ", then the same thing happens again when init
      enters in the designated runlevel and finally the getty process on
      ttyS0 hangs indefinitely (though strace'ing it helps).
      
      strace (-e raw=ioctl, otherwise the ioctl() translation is utterly
      bogus) reveals that getty hangs on ioctl() 0x540f which happens to be
      TCSETSW (I saw it hang on another console ioctl() but couldn't
      reproduce that one).
      
      A diff between ip22zilog and sunzilog revealed the following
      differences:
       1. the channel A flag being set on up.port.flags instead of up.flags
       2. the channel A flag being set on what is marked as being channel B
       3. sunzilog has a call to uart_update_timeout(port, termios->c_cflag, baud);
          at the end of sunzilog_set_termios(), which ip22zilog lacks (on
          purpose ?)
      
      The patch below addresses point 1 and fixes the serial console hangs
      just fine. However point 2 should be investigated by someone familiar
      with the IP22 Zilog; it's probably OK as is but even if it is, a
      comment in ip22zilog.c is badly needed.
      
      Point 3 is left as an exercise for whoever feels like digging into
      ip22zilog :)
      
      These are the main obvious differences between ip22zilog and
      sunzilog. Newer versions of sunzilog (Linus's git tree as of today)
      are more close to ip22zilog as the sbus_{write,read}b have been
      changed into simple {write,read}b, which shrinks the diff by a fair
      amount. Resyncing both drivers should be doable in a few hours time
      now for someone familiar with the IP22 Zilog hardware.
      Signed-off-by: NJulien BLACHE <jb@jblache.org>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      c65b15cf
    • M
      [SERIAL] dz: Fix compilation error · d608ab99
      Martin Michlmayr 提交于
      Fix the following compilation error in the dz serial driver that got
      introduced with the "kernel console should send CRLF not LFCR" change.
      
        CC      drivers/serial/dz.o
      drivers/serial/dz.c: In function 'dz_console_putchar':
      drivers/serial/dz.c:679: error: 'uport' undeclared (first use in this function)
      drivers/serial/dz.c:679: error: (Each undeclared identifier is reported only once
      drivers/serial/dz.c:679: error: for each function it appears in.)
      Signed-off-by: NMartin Michlmayr <tbm@cyrius.com>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      d608ab99
  14. 05 7月, 2006 1 次提交
  15. 04 7月, 2006 2 次提交
  16. 03 7月, 2006 4 次提交
    • R
      [SERIAL] Ensure 8250_pci quirks are not marked __devinit · 61a116ef
      Russell King 提交于
      The 8250_pci quirks must not be marked __devinit since they may
      be used from parport_serial.  We only really need to mark those
      which might be used by cards recognised by parport_serial, but
      that wouldn't allow static checking.
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      61a116ef
    • B
      [POWERPC] Add new interrupt mapping core and change platforms to use it · 0ebfff14
      Benjamin Herrenschmidt 提交于
      This adds the new irq remapper core and removes the old one.  Because
      there are some fundamental conflicts with the old code, like the value
      of NO_IRQ which I'm now setting to 0 (as per discussions with Linus),
      etc..., this commit also changes the relevant platform and driver code
      over to use the new remapper (so as not to cause difficulties later
      in bisecting).
      
      This patch removes the old pre-parsing of the open firmware interrupt
      tree along with all the bogus assumptions it made to try to renumber
      interrupts according to the platform. This is all to be handled by the
      new code now.
      
      For the pSeries XICS interrupt controller, a single remapper host is
      created for the whole machine regardless of how many interrupt
      presentation and source controllers are found, and it's set to match
      any device node that isn't a 8259.  That works fine on pSeries and
      avoids having to deal with some of the complexities of split source
      controllers vs. presentation controllers in the pSeries device trees.
      
      The powerpc i8259 PIC driver now always requests the legacy interrupt
      range. It also has the feature of being able to match any device node
      (including NULL) if passed no device node as an input. That will help
      porting over platforms with broken device-trees like Pegasos who don't
      have a proper interrupt tree.
      Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      0ebfff14
    • T
      [PATCH] irq-flags: serial: Use the new IRQF_ constants · 40663cc7
      Thomas Gleixner 提交于
      Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
      Cc: Ingo Molnar <mingo@elte.hu>
      Cc: "David S. Miller" <davem@davemloft.net>
      Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      Cc: Russell King <rmk@arm.linux.org.uk>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      40663cc7
    • 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
  17. 01 7月, 2006 5 次提交
  18. 30 6月, 2006 4 次提交