diff options
author | Takashi Yoshii <[email protected]> | 2012-11-16 10:53:31 +0900 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2012-11-15 18:02:51 -0800 |
commit | 8c66d6d2a1a572768616ddca2c3863384b14d846 (patch) | |
tree | 03009efbd0a88bd5a44bd1d6e90b03a0d8ccdc77 /fs/jbd/commit.c | |
parent | 63f7ad115ef35b711f3ae2b46a07acbf1ca3bdfd (diff) |
serial: sh-sci: fix common SCIFB regmap definition
About FIFO count, there are two variants of SCIFs which show
a) TX count in upper, RX count in lower byte of FDR register
b) TX count in TFDR register, RX count in RFDR register
Common SCIFB regmap in current source code is defined as "a".
At least 7372 and 73a0 HW manual say their SICFB are "b".
This patch alters the definition to "b", considering the current
one has come from a mistake. The reason is as follows.
The flag SCIFB sh-sci driver means it has 256 byte FIFO.
The count is from 0(empty) to 256(full), that makes 9-bit.
Because FDR is 16-bit register, it can not hold two 9-bits.
That's why, SCIFB can not be "a".
Signed-off-by: Takashi Yoshii <[email protected]>
Signed-off-by: Shinya Kuribayashi <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'fs/jbd/commit.c')
0 files changed, 0 insertions, 0 deletions