From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dominik Brodowski Date: Tue, 13 Dec 2005 22:54:42 +0000 Subject: Re: grey- and blacklisting drivers [Was: Re: Using the "best available" driver] Message-Id: <20051213225442.GA7393@isilmar.linta.de> List-Id: References: <20051207181524.71dc2d41.zaitcev@redhat.com> In-Reply-To: <20051207181524.71dc2d41.zaitcev@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org Hi, On Tue, Dec 13, 2005 at 05:00:51PM -0500, Dmitry Torokhov wrote: > > The same is true for sysfs booleans. No need to "describe" "autobind" on > > and off, right?) > > > > If it is called autobindm but I am lobbying for "bind_mode". See serio > bus below. bind_mode is not self-explanatory. And the textual interface takes up more space, and as we want to propagate this interface to as many drivers as possible (I imagine), the cleaner and leaner the interface, the better :-) > > > 2. They already used in kernel, so if you switch to numeric you'll > > > break userrspace > > > > Ther are currently no such attributes at the driver level, right? So > > this does not apply at all. > > > > serio bus has 'bind_mode" device and driver attributes. If we add them > to the driver core I would like them to be compatible so I could drop > them from serio bus itself. Well, you can have both :-) -- and then, after a conversion period, drop one or the other. > > > 3. Implementation difference is insignificant. > > > > Well, if a boolean is enough, I disagree. But I'm not sure if someone > > will want to specify a third operation mode. Than the textual values > > are a big advantage, sure. > > > > Hmm, I wonder what that mode will be.. "random"? ;) Yes, I cannot think of a third mode either... and 0 and 1 (which we can "suggest" to users of the interface) are extendable to 2, if we ever need a random or other mode... Dominik ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&op=click _______________________________________________ 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