1. 15 8月, 2015 14 次提交
  2. 06 8月, 2015 1 次提交
    • P
      serial: 8250_pci: fix mode after S3/S4 resume for F81504/508/512 · d3159455
      Peter Hung 提交于
      Fix RS232/485 mode incorrect setting after S3/S4 resume for F81504/508/512
      
      We had add RS232/485 RTS control with fecf27a3. But when it
      resume from S3/S4, the mode register 0x40 + 0x08 * idx + 7 will
      rewrite to 0x01 (RS232 mode).
      
      This patch will modify 2 sections.
      
      One is pci_fintek_init(), if it called when first init, it will
      write mode register with 0x01. If it called from S3/S4 resume,
      it's will get the relative port data and pass it to
      pci_fintek_rs485_config() with NULL rs485 parameter.
      
      The another modification is in pci_fintek_rs485_config(). It'll
      re-apply old configuration when the parameter rs485 is NULL.
      Signed-off-by: NPeter Hung <hpeter+linux_kernel@gmail.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      d3159455
  3. 05 8月, 2015 19 次提交
  4. 04 8月, 2015 3 次提交
  5. 28 7月, 2015 1 次提交
  6. 24 7月, 2015 2 次提交
    • P
      drivers/tty: make serial/sunhv.c driver explicitly non-modular · 4fef5351
      Paul Gortmaker 提交于
      The Kconfig for this driver is currently:
      
      config SERIAL_SUNHV
              bool "Sun4v Hypervisor Console support"
      
      ...meaning that it currently is not being built as a module by
      anyone.  Lets remove the modular and unused code here, so that
      when reading the driver there is no doubt it is builtin-only.
      
      Since module_init translates to device_initcall in the non-modular
      case, the init ordering remains unchanged with this commit.
      
      We don't swap module.h for init.h since this file has init.h already.
      
      We leave some tags like MODULE_LICENSE for documentation purposes, and
      for the "git blame" value.  Also note that MODULE_DEVICE_TABLE is a
      no-op for non-modular code, so we remove that too.
      
      Cc: "David S. Miller" <davem@davemloft.net>
      Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
      Cc: Jiri Slaby <jslaby@suse.com>
      Cc: sparclinux@vger.kernel.org
      Cc: linux-serial@vger.kernel.org
      Signed-off-by: NPaul Gortmaker <paul.gortmaker@windriver.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      4fef5351
    • P
      drivers/tty: make serial/suncore.c driver explicitly non-modular · 37db2234
      Paul Gortmaker 提交于
      The Kconfig for this driver is currently:
      
      config SERIAL_SUNCORE
              bool
      
      ...meaning that it currently is not being built as a module by
      anyone.  Lets remove the modular and unused code here, so that
      when reading the driver there is no doubt it is builtin-only.
      
      Since module_init translates to device_initcall in the non-modular
      case, the init ordering remains unchanged with this commit.
      
      We don't swap module.h for init.h since this file has init.h already.
      
      We leave some tags like MODULE_LICENSE for documentation purposes, and
      for the "git blame" value.
      
      Cc: "David S. Miller" <davem@davemloft.net>
      Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
      Cc: Jiri Slaby <jslaby@suse.com>
      Cc: sparclinux@vger.kernel.org
      Cc: linux-serial@vger.kernel.org
      Signed-off-by: NPaul Gortmaker <paul.gortmaker@windriver.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      37db2234