freebsd-dev/sys/dev/sound
Marius Strobl 238bc19306 MFC: r197401
- According to Linux, the ALi M5451 can do 31-bit DMA instead of just
  30-bit like the reset of the controllers supported by this driver.
  Actually ALi M5451 can be setup up to generate 32-bit addresses by
  setting the 31st bit via the accompanying ISA bridge, which allows
  it to work in sparc64 machines whose IOMMU require at least 32-bit
  DMA. Even though other architectures would also benefit from 32-bit
  DMA, enabling this bit is limited to sparc64 as bus_dma(9) doesn't
  generally guarantee that a low address of BUS_SPACE_MAXADDR_32BIT
  results in a buffer in the 32-bit range.
- According to Tatsuo YOKOGAWA's ali(4), the the DMA transfer size of
  ALi M5451 is fixed to 64k and in fact using the default size of 4k
  causes the chip to overrun the mapping, triggering uncorrectable
  DMA errors on sparc64.
- The 4DWAVE DX and NX require the recording buffer to be 8-byte
  aligned so adjust the bus_dma_tag_create(9) accordingly.
- Unlike the rest of the controllers supported by this driver, the
  ALi M5451 only has 32 hardware channels instead of 64 so limit the
  loop in tr_intr() accordingly. [1]

Submitted by:	yongari [1]
Reviewed by:	yongari (superset of what is committed)
Approved by:	re (kib)
2009-09-25 19:59:18 +00:00
..
isa Sound Mega-commit. Expect further cleanup until code freeze. 2009-06-07 19:12:08 +00:00
macio Fix powerpc build failure due to strict kobj signatures checking. 2009-06-08 08:10:52 +00:00
midi Change the type of uio_resid member of struct uio from int to ssize_t. 2009-06-25 18:46:30 +00:00
pci MFC: r197401 2009-09-25 19:59:18 +00:00
pcm - Do aggresive saturation on various polynomial interpolators. 2009-07-14 18:53:34 +00:00
sbus Fix compile time warning on sparc64, thanks to strict kobj signatures checking. 2009-06-08 23:24:01 +00:00
usb USB audio: 2009-07-30 00:14:56 +00:00
chip.h
clone.c Sound Mega-commit. Expect further cleanup until code freeze. 2009-06-07 19:12:08 +00:00
clone.h - Add option to allow sleeping malloc(9). 2007-06-14 11:10:21 +00:00
driver.c Sound Mega-commit. Expect further cleanup until code freeze. 2009-06-07 19:12:08 +00:00
unit.c Sound Mega-commit. Expect further cleanup until code freeze. 2009-06-07 19:12:08 +00:00
unit.h Last major commit and updates for RELENG_7: 2007-05-31 18:35:24 +00:00
version.h - Add a way to change filter oversampling factor through 2009-06-15 04:31:34 +00:00