Module Name: src Committed By: martin Date: Sat Mar 21 15:31:51 UTC 2020
Modified Files: src/sys/arch/amiga/dev [netbsd-9]: aucc.c src/sys/dev/pci [netbsd-9]: auacer.c auich.c auixp.c auvia.c gcscaudio.c src/sys/dev/sbus [netbsd-9]: dbri.c Log Message: Pull up following revision(s) (requested by isaki in ticket #792): sys/arch/amiga/dev/aucc.c: revision 1.48 sys/dev/pci/auixp.c: revision 1.49 sys/dev/pci/gcscaudio.c: revision 1.19 sys/dev/pci/auich.c: revision 1.159 sys/dev/sbus/dbri.c: revision 1.42 sys/dev/pci/auvia.c: revision 1.85 sys/dev/pci/auacer.c: revision 1.39 Drop 512 bytes limit on auvia_round_blocksize(). This fixes attach on 6 channels device. PR kern/55017. round_blocksize must return a multiple of the framesize. aucc(4) supports 3 channels mode. round_blocksize must return a multiple of the framesize even if passed blocksize is greater than the upper limit. round_blocksize must return a multiple of the framesize. It's not divisible when blk=GCSCAUDI_PRD_SIZE_MAX and channels=4. round_blocksize must return a multiple of the framesize even if 6 channels mode. I believe that keeping "good alignment" is just a wish, not constraint. To generate a diff of this commit: cvs rdiff -u -r1.46.2.1 -r1.46.2.2 src/sys/arch/amiga/dev/aucc.c cvs rdiff -u -r1.38 -r1.38.2.1 src/sys/dev/pci/auacer.c cvs rdiff -u -r1.157 -r1.157.2.1 src/sys/dev/pci/auich.c cvs rdiff -u -r1.47 -r1.47.2.1 src/sys/dev/pci/auixp.c cvs rdiff -u -r1.84 -r1.84.2.1 src/sys/dev/pci/auvia.c cvs rdiff -u -r1.18 -r1.18.2.1 src/sys/dev/pci/gcscaudio.c cvs rdiff -u -r1.41 -r1.41.2.1 src/sys/dev/sbus/dbri.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.