[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
CVS: cvs.openbsd.org: src
- To: source-changes_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org
- Subject: CVS: cvs.openbsd.org: src
- From: Jacob Meuser <jakemsr_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org>
- Date: Mon, 15 Sep 2008 16:40:50 -0600 (MDT)
Module name: src
Changes by: jakemsr_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org 2008/09/15 16:40:50
sys/dev/pci : auich.c
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@
Visit your host, monkey.org