From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Woodhouse Date: Mon, 05 Feb 2001 23:43:06 +0000 Subject: Re: Adding PCMCIA support to the kernel tree -- developers needed. Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Mon, 5 Feb 2001, Miles Lane wrote: > David, as you work on this design, would you include > a plan for supporting detection of devices that are > already plugged in at boot time? This is something > that David Brownell is already working on for > PCI/Cardbus and USB. Have we considered the possibility that the kernel thread spawned by exec_usermodehelper could sleep on a wait queue if invoked too early in the boot sequence, and the kernel could call wake_up() on that wait queue after the root filesystem is mounted? That way, we can just forget about this special case. Or is that still too early in the boot sequence? Do we need to wait for other filesystems to be mounted? > BTW: I'll be exploring your design over the next > few days and hope to at least have a bit of > constructive feedback for you. Thanks. Now the listserver has finally seen fit to spit my ramblings back at me, I'm not really sure whether the bus->read/write functions are a good idea. It depends how many existing drivers would need to be modified. For drivers which are only PCMCIA, it's OK; but introducing that extra overhead (little though it is) for existing drivers which handle devices on multiple busses is less clearly the right thing to do. (Note that we wouldn't do this for CardBus - only PCMCIA). Maybe we should go down the pcmcia_enable_resource() route after all. But then again... are we going to need this anyway for dealing with multiple PCI(/other) busses? -- dwmw2 _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net http://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel