Module Name: src Committed By: isaki Date: Sat May 25 04:25:30 UTC 2019
Modified Files: src/sys/dev/pci: yds.c Log Message: Fix yds_intr. It has not worked well since netbsd-8. - Read data offset before set ACTV2. - The interrupts occur every hardware block, not blocksize specified by round_blocksize. The hardware block may span (upper layer's) two blocks. So bus_dmamap_sync'ing each (upper layer's) block is not enough. XXX To fix this, Use only 48kHz and drop other frequencies. It can make blocksize fixed. Then the hardware block aligns to upper layer's block alignment. Analyzed by Y.Sugahara. To generate a diff of this commit: cvs rdiff -u -r1.62 -r1.63 src/sys/dev/pci/yds.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.