1. 14 Jun, 2011 2 commits
    • Paul Mundt's avatar
      serial: sh-sci: FIFO sizing helper consolidation. · 72b294cf
      Paul Mundt authored
      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: default avatarPaul Mundt <lethal@linux-sh.org>
      72b294cf
    • Paul Mundt's avatar
      serial: sh-sci: Abstract register maps. · 61a6976b
      Paul Mundt authored
      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: default avatarPaul Mundt <lethal@linux-sh.org>
      61a6976b
  2. 08 Jun, 2011 5 commits
  3. 06 Jun, 2011 1 commit
  4. 04 Jun, 2011 16 commits
  5. 03 Jun, 2011 16 commits