diff options
author | 2008-09-15 22:40:50 +0000 | |
---|---|---|
committer | 2008-09-15 22:40:50 +0000 | |
commit | 449e7ceca30f00e13e0c921c3c39ba864558605b (patch) | |
tree | 0c134e7deed7396d48ff9b3d1a6945d40edfa46d /sys/net/if_pflow.c | |
parent | remove dead stores and newly created unused variables. (diff) | |
download | wireguard-openbsd-449e7ceca30f00e13e0c921c3c39ba864558605b.tar.xz wireguard-openbsd-449e7ceca30f00e13e0c921c3c39ba864558605b.zip |
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/net/if_pflow.c')
0 files changed, 0 insertions, 0 deletions