Subject: Re: audio_detach_mi ?
To: Jared D. McNeill <firstname.lastname@example.org>
From: Lennart Augustsson <email@example.com>
Date: 06/04/2001 09:21:21
Yes, just use the usual detach machinery. I.e., call config_deactivate() when
you're deactivated, then call config_detach() when your detach() is called.
You can look at dev/usb/uaudio.c for a sound driver that can detach.
"Jared D. McNeill" wrote:
> I'm working on a PCMCIA audio driver, but there doesn't seem to be a function
> (audio_detach_mi?) to complement audio_attach_mi. As a result, a new audio
> device is attach everytime the card is inserted.
> Is there any way to detach the audio device when the PCMCIA device attaches?
> Jared D. McNeill - firstname.lastname@example.org
> Computer Programming Technology
> New Brunswick Community College, Saint John