Subject: Re: CVS commit: src/sys/dev
To: Jared D. McNeill <jmcneill@invisible.ca>
From: Christos Zoulas <christos@zoulas.com>
List: source-changes
Date: 12/16/2007 16:20:02
On Dec 16,  2:05pm, jmcneill@invisible.ca ("Jared D. McNeill") wrote:
-- Subject: Re: CVS commit: src/sys/dev

| On Sun, 16 Dec 2007, Christos Zoulas wrote:
| > Modified Files:
| > 	src/sys/dev: midi.c
| > 	src/sys/dev/isa: midi_pcppi.c pcppi.c spkr.c
| > 	src/sys/dev/usb: ubt.c
| >
| > Log Message:
| > add null pmf handlers.
| 
| Are you sure? What happens if midi or spkr are active when you suspend? As 
| a bare minimum, there are some callouts in midi that need to be stopped.

I guess, butI have not tried it.

| I'm not sure how ubt works, but I would expect that the device still needs 
| to be stopped (pending transactions cancelled, etc) before going to sleep, 
| and started up again on resume.

I will look into it.

christos