Subject: Re: CVS commit: src/sys/dev
To: Christos Zoulas <christos@netbsd.org>
From: Jared D. McNeill <jmcneill@invisible.ca>
List: source-changes
Date: 12/16/2007 14:05:36
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'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.

Cheers,
Jared