1. 24 Nov, 2011 4 commits
    • Paul Mundt's avatar
      serial: sh-sci: Fix up modem control handling. · cdf7c42f
      Paul Mundt authored
      At the moment things like CTS/RTS are reported for all ports, while the
      vast majority of them do not implement support at all (and others
      implement support entirely in hardware). Fix up the ->get_mctrl()
      reporting to simply assert DSR/CAR as other drivers without control
      lines do.
      Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
      cdf7c42f
    • Paul Mundt's avatar
      serial: sh-sci: Clarify enable_ms/break_ctl comments. · d39ec6ce
      Paul Mundt authored
      Technically there's nothing we can do for either of these, so update the
      comments to reflect this, rather than infering that there's additional
      work to be done.
      Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
      d39ec6ce
    • Paul Mundt's avatar
      serial: sh-sci: Support icount statistics for error cases. · d97fbbed
      Paul Mundt authored
      Presently the icount stats are only adjusted for the rx/tx case, this
      makes sure that they're updated appropriately for the non-tx/rx cases,
      too (specifically overruns, breaks, as well as frame and parity errors).
      Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
      d97fbbed
    • Paul Mundt's avatar
      serial: sh-sci: Fix up SCFCR handling. · 0979e0e6
      Paul Mundt authored
      Presently there are a few places that make assumptions about the
      existence of SCFCR, which doesn't hold true for several port types. While
      generally harmless, this does lead to bogus reads/writes in both the
      termios/runtime PM cases that are better off simply never being made in
      the first place.
      
      While we're at it, also get rid of a straggling PORT_SCI check that
      infers all non-SCI ports contain SCFCR. This doesn't presently have any
      impact, but as we're now able to test for the existence of registers
      without defering to the port type we future proof for additional port
      types.
      Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
      0979e0e6
  2. 17 Nov, 2011 6 commits
  3. 16 Nov, 2011 15 commits
  4. 15 Nov, 2011 10 commits
  5. 14 Nov, 2011 5 commits