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
This commit is contained in:
Scott Long 2002-06-28 06:11:26 +00:00
parent 79a20d3b58
commit 63393eea99
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=98961

View File

@ -1390,7 +1390,7 @@ m3_config(struct sc_info *sc)
hv_cfg = HV_BUTTON_FROM_GD; hv_cfg = HV_BUTTON_FROM_GD;
data = pci_read_config(sc->dev, PCI_ALLEGRO_CONFIG, 4); 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 |= REDUCED_DEBOUNCE | HV_CTRL_ENABLE | hv_cfg;
data |= PM_CTRL_ENABLE | CLK_DIV_BY_49 | USE_PCI_TIMING; data |= PM_CTRL_ENABLE | CLK_DIV_BY_49 | USE_PCI_TIMING;
pci_write_config(sc->dev, PCI_ALLEGRO_CONFIG, data, 4); pci_write_config(sc->dev, PCI_ALLEGRO_CONFIG, data, 4);