grey- and blacklisting drivers [Was: Re: Using the "best
available" driver]
Kay Sievers
kay.sievers at vrfy.org
Tue Dec 13 16:27:42 EST 2005
On Tue, Dec 13, 2005 at 03:56:49PM -0500, Dmitry Torokhov wrote:
> On 12/13/05, Kay Sievers <kay.sievers at vrfy.org> 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
More information about the linux-pcmcia
mailing list