diff options
author | Jacob Meuser <jakemsr@cvs.openbsd.org> | 2008-09-15 22:40:51 +0000 |
---|---|---|
committer | Jacob Meuser <jakemsr@cvs.openbsd.org> | 2008-09-15 22:40:51 +0000 |
commit | 28b1fafca5fb1a8888b84ab98aa5a50a73d115e1 (patch) | |
tree | 6b4bfa271718aaff81fe4d24ef416a02d6da4a6b /sys/dev/ccd.c | |
parent | 7fde72f66b65a8084625ffb1727f3d307c7a17e2 (diff) |
this driver uses three dma segments; play, record, calibrate.
instead of using a linked list to describe the dma segments
use three distinct pointers.
also, this driver only needs 1 buffer descriptor for each dma
segment, since each buffer descriptor can handle as many samples
as each segment can hold.
makes the code a little easier to read and allows us to free
the calibration buffer when we're done with it.
idea originally from ratchov@ a while back. tested by ratchov@
and myself.
ok ratchov@
Diffstat (limited to 'sys/dev/ccd.c')
0 files changed, 0 insertions, 0 deletions