summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorscottl <scottl@FreeBSD.org>2002-06-28 06:11:26 +0000
committerscottl <scottl@FreeBSD.org>2002-06-28 06:11:26 +0000
commit475c5eb90b20f3c7b7414e7b5e3028e760cb83c2 (patch)
treec2eba9e6a7bb9aea90daccb1daa1ad9e7a128e9a /sys
parentc59db05ae8ee8f954e58de461a063cdbe4a07d6b (diff)
downloadFreeBSD-src-475c5eb90b20f3c7b7414e7b5e3028e760cb83c2.zip
FreeBSD-src-475c5eb90b20f3c7b7414e7b5e3028e760cb83c2.tar.gz
Fix a botched flag clear operation. Rumor has it that this also fixes
the funky-volume-settings-on-startup problem. Reviewed by: the channel that shall not be named MFC after: 7 days
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/sound/pci/maestro3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/sound/pci/maestro3.c b/sys/dev/sound/pci/maestro3.c
index b38b334..16d7088 100644
--- a/sys/dev/sound/pci/maestro3.c
+++ b/sys/dev/sound/pci/maestro3.c
@@ -1390,7 +1390,7 @@ m3_config(struct sc_info *sc)
hv_cfg = HV_BUTTON_FROM_GD;
data = pci_read_config(sc->dev, PCI_ALLEGRO_CONFIG, 4);
- data &= HV_BUTTON_FROM_GD;
+ data &= ~HV_BUTTON_FROM_GD;
data |= REDUCED_DEBOUNCE | HV_CTRL_ENABLE | hv_cfg;
data |= PM_CTRL_ENABLE | CLK_DIV_BY_49 | USE_PCI_TIMING;
pci_write_config(sc->dev, PCI_ALLEGRO_CONFIG, data, 4);
OpenPOWER on IntegriCloud