From 799302929ce9a3f509f26edca1552ad215bc2792 Mon Sep 17 00:00:00 2001 From: robert Date: Mon, 8 Jul 2002 11:41:53 +0000 Subject: Reenable the m3 interrupts in m3_pci_resume() and do not enable them in m3_pci_attach(). --- sys/dev/sound/pci/maestro3.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/dev/sound/pci/maestro3.c b/sys/dev/sound/pci/maestro3.c index 16d7088..75ac4f6 100644 --- a/sys/dev/sound/pci/maestro3.c +++ b/sys/dev/sound/pci/maestro3.c @@ -1044,8 +1044,6 @@ m3_init(struct sc_info *sc) m3_wr_assp_data(sc, i, 0); /* zero entire dac/adc area */ } - m3_enable_ints(sc); - /* [m3_assp_continue] */ m3_wr_1(sc, DSP_PORT_CONTROL_REG_B, reset_state | REGB_ENABLE_RESET); @@ -1325,6 +1323,8 @@ m3_pci_resume(device_t dev) m3_amp_enable(sc); + m3_enable_ints(sc); + if (mixer_reinit(dev) == -1) { device_printf(dev, "unable to reinitialize the mixer\n"); return ENXIO; -- cgit v1.1