]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
- When acknowledging interrupts, write the value 0xff to the interrupt
authorJohn Baldwin <jhb@FreeBSD.org>
Wed, 3 Jan 2001 01:32:57 +0000 (01:32 +0000)
committerJohn Baldwin <jhb@FreeBSD.org>
Wed, 3 Jan 2001 01:32:57 +0000 (01:32 +0000)
commit1b4080172259e201c82e4e164ec866805ce78abb
treec323ef9b8a4a48e45963b408e891e29fca719b32
parentd0d4e34743cb69c172764cc53a8e14a0f5292384
- When acknowledging interrupts, write the value 0xff to the interrupt
  status register rather than 0.  Without this, a single hardware volume
  event triggers an interrupt storm.
- Implement hardware volume control for the Maestro chips.  This version
  only handles the case where both channels are adjusted at the same time.

Reviewed by: cg
sys/dev/sound/pci/maestro.c
sys/dev/sound/pci/maestro_reg.h