I have no auacer(4), testing appreciated. -- jake...@sdf.lonestar.org SDF Public Access UNIX System - http://sdf.lonestar.org
Index: auacer.c =================================================================== RCS file: /cvs/src/sys/dev/pci/auacer.c,v retrieving revision 1.9 diff -u -p auacer.c --- auacer.c 7 Sep 2010 16:21:44 -0000 1.9 +++ auacer.c 12 Sep 2010 07:09:53 -0000 @@ -1079,15 +1079,22 @@ int auacer_activate(struct device *self, int act) { struct auacer_softc *sc = (struct auacer_softc *)self; + int rv = 0; switch (act) { + case DVACT_ACTIVATE: + break; + case DVACT_QUIESCE: + rv = config_activate_children(self, act); + break; case DVACT_SUSPEND: break; case DVACT_RESUME: - auacer_reset_codec(sc); - delay(1000); - (sc->codec_if->vtbl->restore_ports)(sc->codec_if); + ac97_resume(&sc->host_if, sc->codec_if); + rv = config_activate_children(self, act); break; + case DVACT_DEACTIVATE: + break; } - return 0; + return (rv); }