Re: [patch 2/2] fastboot: use a DMI match table to set defaults forport-disable

From: Alan Cox
Date: Tue Aug 12 2008 - 08:16:34 EST


On Tue, 12 Aug 2008 04:37:18 -0700
Arjan van de Ven <arjan@xxxxxxxxxxxxx> wrote:

> On Tue, 12 Aug 2008 09:10:09 +0100
> Alan Cox <alan@xxxxxxxxxxxxxxxxxxx> wrote:
>
> > > if you solder the board... well you can add a tiny kernel patch or
> > > change the dmi ;)
> >
> > Lots of people have them modified and you can even buy them
> > pre-modded as an end user. It needs to be simpler than hacking your
> > kernel. In fact this argues that the port disables should be handled
> > by user space not by the kernel ?
>
> which is a commandline option then; because once userspace runs you've
> already paid the price in terms of boottime otherwise and would make
> the idea entirely moot.

For the boot device yes, for the rest no. And the boot command line is
managed by the installer which is user space and vendor controlled so a
good place to put fuzzy complex logic like that.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/