diff options
author | Terry Lv <r65388@freescale.com> | 2013-04-12 15:44:46 +0800 |
---|---|---|
committer | Terry Lv <r65388@freescale.com> | 2013-04-15 17:29:07 +0800 |
commit | f8f1b8124d552ec0320c4360b460ed2d74fab81d (patch) | |
tree | 626216bc729c8a26f3f2542eddb2d940525de485 /drivers/Kconfig | |
parent | b4570bd7fce38384f01eed2a0cd5ff1c28165ad8 (diff) | |
download | linux-f8f1b8124d552ec0320c4360b460ed2d74fab81d.tar.gz |
ENGR00258357-5: mlb: Use circle buf macros to replace old ringbuf mechanism
Use circle buf to replace old ringbuf mechanism.
Change to use circle buffer in read, write, rx isr and tx isr functions.
In first design of MLB, it's using it's own mechanism to manage ring
buffer, like in mxc_mlb.c.
And then, I saw that kernel already had a serials of circ buffer macros
which can be used to manage ring buffers.
This patch is to use circle buffer macros to manage mlb internal ring
buffers.
For detail of circle buffers, you can refer to
linux-2.6-imx/Documentation/circular-buffers.txt.
Signed-off-by: Terry Lv <r65388@freescale.com>
Diffstat (limited to 'drivers/Kconfig')
0 files changed, 0 insertions, 0 deletions