grey- and blacklisting drivers [Was: Re: Using the "best
available" driver]
Dmitry Torokhov
dmitry.torokhov at gmail.com
Tue Dec 13 17:00:51 EST 2005
On 12/13/05, Kay Sievers <kay.sievers at vrfy.org> wrote:
> 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?)
>
If it is called autobindm but I am lobbying for "bind_mode". See serio
bus below.
> > 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.
> > 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"? ;)
--
Dmitry
More information about the linux-pcmcia
mailing list