Subject: Re: cardbus code without busy wait
To: None <lennart@augustsson.net>
From: Hayakawa Koichi <haya@arch.sony.co.jp>
List: tech-kern
Date: 01/19/2000 18:20:58
From: Lennart Augustsson <lennart@augustsson.net>
Subject: Re: cardbus code without busy wait
Date: Wed, 19 Jan 2000 09:56:58 +0100
Message-ID: <38857C5A.6A0DFDAF@augustsson.net>
> Hayakawa Koichi wrote:
>
> > This code is not beautiful, because in interrupt context we
> > must use busy wait. Unfortunately, PCcard probe routine may
> > be called in interrupt context.
>
> Why? If the probe is called from an interrupt context then there should
> be another thread for it.
Oh, I made a mistake... I worry about card attaching
sequence at boot time. At boot time, kernel thread cannot
be used when inserted device is used to boot kernel up.
Which context is used during the boot sequence?
--
HAYAKAWA, Koichi