summaryrefslogtreecommitdiffstats
path: root/mm/ksm.c
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2011-06-14 17:38:19 +0900
committerPaul Mundt <lethal@linux-sh.org>2011-06-14 17:38:19 +0900
commit72b294cf76dcd6d37891387049ddbe3c25043cb8 (patch)
treee19eaab5e23bba04b1f0f9ef244764ae73656764 /mm/ksm.c
parent61a6976bf19a6cf5dfcf37c3536665b316f22d49 (diff)
downloadblackbird-op-linux-72b294cf76dcd6d37891387049ddbe3c25043cb8.tar.gz
blackbird-op-linux-72b294cf76dcd6d37891387049ddbe3c25043cb8.zip
serial: sh-sci: FIFO sizing helper consolidation.
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: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'mm/ksm.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud