From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Woodhouse Date: Wed, 07 Feb 2001 10:27:03 +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 vojtech@suse.cz said: > IMO it needs not to be a true queue, but rather than a list of > present devices which is then checked against a list that the daemon > knows about already and the events would be then made to synchronize > them. Eeek! Keeping a 'this is what we think userland thinks' state scares me. It can and will get out of sync. This is where the interface between PCMCIA socket drivers and the core code got it right, IMO. You make the current state available, and occasionally give hints like 'This bit may have changed. You might want to take a look." Thinks.... a list of hotplug devices in a /proc file, listing some unique per-instance ID against the type, topological information and current name of the device. You don't send explicit add/remove events to userspace, just an "Oi. Look again". ? -- 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