Subject: Re: question on device detachment
To: Gregory McGarry <firstname.lastname@example.org>
From: Ferry Sutanto <email@example.com>
Date: 10/18/2001 12:45:59
Thanks for the help!!!!
Which kernel thread are u talking about ?
--- Gregory McGarry <firstname.lastname@example.org> wrote:
> Ferry Sutanto wrote:
> > I looked into sys/dev/pcmcia codes and in that
> > directory, there are some detach function defines.
> > want to know who called the detach function ? I
> > that the following call chain occurs:
> > 1. pcmcia interrupt happen.
> > 2. the interrupt handler will handle the interrupt
> > signal the daemon process.
> > 3. the daemon process will do ioctl on the device.
> > 4. ioctl will do the detachment. I think to do the
> > detachment, it should start with config_detach ??
> > from the device tree, it will finds its way to the
> > device specific detach function.
> > Am I right with the above assumption ?
> The pcmcia controller receives the insertion/removal
> events, tells the card to deactivate itself and
> notifies its kernel thread to detach the card.
> No ioctls involved.
> -- Gregory McGarry <email@example.com>
Do You Yahoo!?
Make a great connection at Yahoo! Personals.