From 0a17f47b92e6a0ef24283cf95b44a90d8a54749d Mon Sep 17 00:00:00 2001 From: Robert Drehmel Date: Mon, 8 Jul 2002 11:41:53 +0000 Subject: [PATCH] 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 16d7088cc250..75ac4f63e52a 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;