1. 28 6月, 2011 3 次提交
  2. 14 6月, 2011 3 次提交
    • P
      serial: sh-sci: Support generic SCLSR overrun detection. · 4b8c59a3
      Paul Mundt 提交于
      For all ports with a valid SCLSR register we can use the generic FIFO
      overrun detection logic. Test the validity of the SCLSR register rather
      than depending explicitly on port type, which can be ambiguous for the
      SCIFA/B types.
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      4b8c59a3
    • P
      serial: sh-sci: FIFO sizing helper consolidation. · 72b294cf
      Paul Mundt 提交于
      This consolidates all of the TX/RX fill/room nonsense in to a single set
      of fairly heavyweight definitions. The implementation goes in descending
      order of complexity, testing the register map for capabilities until we
      run out of options and do it the legacy SCI way. Masks are derived
      directly from the per-port FIFO size, meaning that platforms with FIFO
      sizes not matching the standard port types will still need to manually
      fix them up.
      
      This also fixes up a number of issues such as tx_empty being completely
      bogus for SCI and IrDA ports, some ports using masks smaller or greater
      than their FIFO size, and so forth.
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      72b294cf
    • P
      serial: sh-sci: Abstract register maps. · 61a6976b
      Paul Mundt 提交于
      This takes a bit of a sledgehammer to the horribly CPU subtype
      ifdef-ridden header and abstracts all of the different register layouts
      in to distinct types which in turn can be overriden on a per-port basis,
      or permitted to default to the map matching the port type at probe time.
      
      In the process this ultimately fixes up inumerable bugs with mismatches
      on various CPU types (particularly the legacy ones that were obviously
      broken years ago and no one noticed) and provides a more tightly coupled
      and consolidated platform for extending and implementing generic
      features.
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      61a6976b
  3. 08 6月, 2011 5 次提交
  4. 06 6月, 2011 1 次提交
  5. 27 5月, 2011 1 次提交
  6. 25 5月, 2011 3 次提交
    • A
      drivers/tty/serial/pch_uart.c needs slab.h · 023bc8e7
      Andrew Morton 提交于
      alpha allmodconfig:
      
        drivers/tty/serial/pch_uart.c: In function 'dma_handle_tx':
        drivers/tty/serial/pch_uart.c:873: error: implicit declaration of function 'kzalloc'
        drivers/tty/serial/pch_uart.c:873: warning: assignment makes pointer from integer without a cast
        drivers/tty/serial/pch_uart.c: In function 'pch_uart_init_port':
        drivers/tty/serial/pch_uart.c:1403: warning: assignment makes pointer from integer without a cast
      
      Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
      Cc: Greg KH <greg@kroah.com>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      023bc8e7
    • D
      arch, mm: filter disallowed nodes from arch specific show_mem functions · 7bf02ea2
      David Rientjes 提交于
      Architectures that implement their own show_mem() function did not pass
      the filter argument to show_free_areas() to appropriately avoid emitting
      the state of nodes that are disallowed in the current context.  This patch
      now passes the filter argument to show_free_areas() so those nodes are now
      avoided.
      
      This patch also removes the show_free_areas() wrapper around
      __show_free_areas() and converts existing callers to pass an empty filter.
      
      ia64 emits additional information for each node, so skip_free_areas_zone()
      must be made global to filter disallowed nodes and it is converted to use
      a nid argument rather than a zone for this use case.
      Signed-off-by: NDavid Rientjes <rientjes@google.com>
      Cc: Russell King <linux@arm.linux.org.uk>
      Cc: Tony Luck <tony.luck@intel.com>
      Cc: Fenghua Yu <fenghua.yu@intel.com>
      Cc: Kyle McMartin <kyle@mcmartin.ca>
      Cc: Helge Deller <deller@gmx.de>
      Cc: James Bottomley <jejb@parisc-linux.org>
      Cc: "David S. Miller" <davem@davemloft.net>
      Cc: Guan Xuetao <gxt@mprc.pku.edu.cn>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      7bf02ea2
    • J
      atmel_serial: keep the platform_device unchanged · 2b348e2f
      Jean-Christophe PLAGNIOL-VILLARD 提交于
      specify the port num via platform_data this will allow to match the clock
      with the plaform_dev staticaly
      Signed-off-by: NJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
      Acked-by: NAlan Cox <alan@linux.intel.com>
      Cc: Nicolas Ferre <nicolas.ferre@atmel.com>
      Cc: Patrice Vilchez <patrice.vilchez@atmel.com>
      Cc: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
      Cc: Greg Kroah-Hartman <gregkh@suse.de>
      2b348e2f
  7. 23 5月, 2011 3 次提交
  8. 20 5月, 2011 3 次提交
  9. 19 5月, 2011 2 次提交
  10. 13 5月, 2011 1 次提交
  11. 12 5月, 2011 1 次提交
    • S
      8250_pci: Add support for the Digi/IBM PCIe 2-port Adapter · aa273ae5
      Scott Kilau 提交于
      Add support to the 8250 PCI serial driver for the Digi/IBM PCIe 2-port Async EIA-232 Adapter.
      
      Oxford Semiconductor produces a 2/4/8 port UART (OXPCIe952/OXPCIe954/OXPCIe958) chip
      called the Tornado, that can be used to create a very simple serial board product.
      The kernel sources currently have just 2 vendors using this chip, which is Oxford and Mainpipe.
      This new Digi/IBM serial product now uses it as well.
      
      Rather than create a long running comment of vendors using the chip, the one changed comment
      in the patch below now just lists "For Oxford Semiconductor Tornado based devices" to be a
      more generic comment for all vendors that end up using the Oxford Tornado chip.
      
      Cc: Michael Reed <mreed10@us.ibm.com>
      Signed-off-by: NScott Kilau <scottk@digi.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      aa273ae5
  12. 11 5月, 2011 1 次提交
  13. 06 5月, 2011 1 次提交
  14. 04 5月, 2011 1 次提交
  15. 26 4月, 2011 3 次提交
  16. 20 4月, 2011 8 次提交