From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kay Sievers Date: Tue, 13 Dec 2005 21:27:42 +0000 Subject: Re: grey- and blacklisting drivers [Was: Re: Using the "best available" driver] Message-Id: <20051213212742.GA8123@vrfy.org> 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 On Tue, Dec 13, 2005 at 03:56:49PM -0500, Dmitry Torokhov wrote: > On 12/13/05, Kay Sievers wrote: > > > > And another thing is the prameters textual value like "auto" and > > "manual". If we never add a third option to it, we may stick with the sysfs > > boolean, which is smaller and simpler to implement. Not sure what's the > > best here. > > I prefer textual values because: > 1. They self-descriptive The same is true for sysfs booleans. No need to "describe" "autobind" on and off, right?) > 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. > 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. Kay ------------------------------------------------------- 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