From mboxrd@z Thu Jan 1 00:00:00 1970 From: Oliver Neukum Date: Sat, 13 Oct 2001 08:45:13 +0000 Subject: Re: Device count (to be done with) 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 > >Here I must disagree. You need to add more code to the kernel to return > >information on successfully binding drivers to devices to user space than > > by simply handling the counter. > > Of course, I understand that this system must be as robust as possible, > but I was viewing things from the most global perspective. I mean I was > only referring to "kernel modules" rather than devices. My thoughts were > as simple as "two module loads will result in the module actually being > uloaded only after two module unloads". I was just referring to module > "convenience" counts which would be very useful (even necessary) to > have. Now, if there need to be subsystem-specific error-handling > mechanisms that's fine (the agent scripts can very well work with this). There's no need. The module counter infrastructure is already there. Another counter to be incremented on a further device addition is the simplest solution. Regards Oliver _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel