summaryrefslogtreecommitdiffstats
path: root/sys/net/if_pflow.c
diff options
context:
space:
mode:
authorjakemsr <jakemsr@openbsd.org>2008-09-15 22:40:50 +0000
committerjakemsr <jakemsr@openbsd.org>2008-09-15 22:40:50 +0000
commit449e7ceca30f00e13e0c921c3c39ba864558605b (patch)
tree0c134e7deed7396d48ff9b3d1a6945d40edfa46d /sys/net/if_pflow.c
parentremove dead stores and newly created unused variables. (diff)
downloadwireguard-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