via_chan_status_clear

Name

via_chan_status_clear --  Clear status flags on specified DMA channel

Synopsis

void via_chan_status_clear (long iobase);

Arguments

iobase

PCI base address for SGD channel registers

Description

Clear any pending status flags for the given DMA channel (derived from iobase), if any flags are asserted.

Note that iobase is not the PCI base address, but the PCI base address plus an offset to one of three PCM channels supported by the chip.