]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
Merge remote-tracking branch 'tty/tty-next'
authorStephen Rothwell <sfr@canb.auug.org.au>
Thu, 13 Oct 2011 05:08:23 +0000 (16:08 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 13 Oct 2011 05:08:23 +0000 (16:08 +1100)
Conflicts:
arch/powerpc/include/asm/udbg.h
arch/powerpc/kernel/udbg.c
drivers/tty/serial/8250.c

29 files changed:
1  2 
arch/arm/Kconfig
arch/arm/plat-s5p/Kconfig
arch/arm/plat-samsung/Kconfig
arch/arm/plat-samsung/Makefile
arch/arm/plat-samsung/include/plat/irqs.h
arch/powerpc/include/asm/udbg.h
arch/powerpc/kernel/udbg.c
arch/x86/platform/mrst/mrst.c
drivers/staging/Kconfig
drivers/staging/Makefile
drivers/tty/Kconfig
drivers/tty/hvc/hvcs.c
drivers/tty/serial/8250.c
drivers/tty/serial/8250_pci.c
drivers/tty/serial/altera_jtaguart.c
drivers/tty/serial/altera_uart.c
drivers/tty/serial/atmel_serial.c
drivers/tty/serial/imx.c
drivers/tty/serial/lantiq.c
drivers/tty/serial/max3107.c
drivers/tty/serial/mrst_max3110.c
drivers/tty/serial/msm_serial.c
drivers/tty/serial/pch_uart.c
drivers/tty/serial/samsung.c
drivers/tty/serial/serial_core.c
drivers/tty/serial/sh-sci.c
drivers/tty/serial/uartlite.c
drivers/tty/serial/ucc_uart.c
include/linux/tty.h

index b429c0ac9d2d4b2ffeae9045b5a4858dabd824ee,325d2f55744d2daea20d0a7f959bd1ecc5f5f138..5d3cdb50668689e291894c60bceaf310cffc79dd
@@@ -766,8 -722,10 +766,7 @@@ config ARCH_S3C64X
        select ARCH_REQUIRE_GPIOLIB
        select SAMSUNG_CLKSRC
        select SAMSUNG_IRQ_VIC_TIMER
-       select SAMSUNG_IRQ_UART
        select S3C_GPIO_TRACK
 -      select S3C_GPIO_PULL_UPDOWN
 -      select S3C_GPIO_CFG_S3C24XX
 -      select S3C_GPIO_CFG_S3C64XX
        select S3C_DEV_NAND
        select USB_ARCH_HAS_OHCI
        select SAMSUNG_GPIOLIB_4BIT
Simple merge
Simple merge
Simple merge
index 6587ec7bc6ec8e081b99341323380082b9efee0f,5354ae91bdde8f2d168c68552a50f5f97f5520e9..7efc08eccfa191f4d4e0bbdb7226fd6b3eec9489
@@@ -54,9 -54,7 +54,10 @@@ extern void __init udbg_init_40x_realmo
  extern void __init udbg_init_cpm(void);
  extern void __init udbg_init_usbgecko(void);
  extern void __init udbg_init_wsp(void);
 +extern void __init udbg_init_ps3gelic(void);
 +extern void __init udbg_init_debug_opal_raw(void);
 +extern void __init udbg_init_debug_opal_hvsi(void);
+ extern void __init udbg_init_ehv_bc(void);
  
  #endif /* __KERNEL__ */
  #endif /* _ASM_POWERPC_UDBG_H */
index 35f948203ec59fc698129057ff544db1d57632a1,b4607a91d1f44563d2dcf8851118de567aa88dc7..7de6d3747619afa4a59a54dd981e855b46454cb5
@@@ -67,12 -67,8 +67,14 @@@ void __init udbg_early_init(void
        udbg_init_usbgecko();
  #elif defined(CONFIG_PPC_EARLY_DEBUG_WSP)
        udbg_init_wsp();
 +#elif defined(CONFIG_PPC_EARLY_DEBUG_PS3GELIC)
 +      udbg_init_ps3gelic();
 +#elif defined(CONFIG_PPC_EARLY_DEBUG_OPAL_RAW)
 +      udbg_init_debug_opal_raw();
 +#elif defined(CONFIG_PPC_EARLY_DEBUG_OPAL_HVSI)
 +      udbg_init_debug_opal_hvsi();
+ #elif defined(CONFIG_PPC_EARLY_DEBUG_EHV_BC)
+       udbg_init_ehv_bc();
  #endif
  
  #ifdef CONFIG_PPC_EARLY_DEBUG
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
index 610b8e63710d53c67bfa83d35fed8ec01771a018,076e9c6269d3c8e5e26e0aced4bf13ae313c3242..eeadf1b8e093202234b30c688490da2de10a3c04
@@@ -443,42 -450,24 +450,6 @@@ static void au_serial_out(struct uart_p
        __raw_writel(value, p->membase + offset);
  }
  
- /* Save the LCR value so it can be re-written when a Busy Detect IRQ occurs. */
- static inline void dwapb_save_out_value(struct uart_port *p, int offset,
-                                       int value)
- {
-       struct uart_8250_port *up =
-               container_of(p, struct uart_8250_port, port);
-       if (offset == UART_LCR)
-               up->lcr = value;
- }
- /* Read the IER to ensure any interrupt is cleared before returning from ISR. */
- static inline void dwapb_check_clear_ier(struct uart_port *p, int offset)
- {
-       if (offset == UART_TX || offset == UART_IER)
-               p->serial_in(p, UART_IER);
- }
- static void dwapb_serial_out(struct uart_port *p, int offset, int value)
 -static unsigned int tsi_serial_in(struct uart_port *p, int offset)
--{
-       int save_offset = offset;
-       offset = map_8250_out_reg(p, offset) << p->regshift;
-       dwapb_save_out_value(p, save_offset, value);
-       writeb(value, p->membase + offset);
-       dwapb_check_clear_ier(p, save_offset);
 -      unsigned int tmp;
 -      offset = map_8250_in_reg(p, offset) << p->regshift;
 -      if (offset == UART_IIR) {
 -              tmp = readl(p->membase + (UART_IIR & ~3));
 -              return (tmp >> 16) & 0xff; /* UART_IIR % 4 == 2 */
 -      } else
 -              return readb(p->membase + offset);
--}
--
- static void dwapb32_serial_out(struct uart_port *p, int offset, int value)
 -static void tsi_serial_out(struct uart_port *p, int offset, int value)
--{
-       int save_offset = offset;
--      offset = map_8250_out_reg(p, offset) << p->regshift;
-       dwapb_save_out_value(p, save_offset, value);
-       writel(value, p->membase + offset);
-       dwapb_check_clear_ier(p, save_offset);
 -      if (!((offset == UART_IER) && (value & UART_IER_UUE)))
 -              writeb(value, p->membase + offset);
--}
--
  static unsigned int io_serial_in(struct uart_port *p, int offset)
  {
        offset = map_8250_in_reg(p, offset) << p->regshift;
@@@ -517,16 -508,11 +490,6 @@@ static void set_io_from_upio(struct uar
                p->serial_out = au_serial_out;
                break;
  
-       case UPIO_DWAPB:
-               p->serial_in = mem_serial_in;
-               p->serial_out = dwapb_serial_out;
-               break;
-       case UPIO_DWAPB32:
-               p->serial_in = mem32_serial_in;
-               p->serial_out = dwapb32_serial_out;
 -      case UPIO_TSI:
 -              p->serial_in = tsi_serial_in;
 -              p->serial_out = tsi_serial_out;
--              break;
--
        default:
                p->serial_in = io_serial_in;
                p->serial_out = io_serial_out;
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge