Re: Cosmetic JFFS patch.

Daniel Stone
2001-06-30T02:54:08Z

On Thu, Jun 28, 2001 at 11:17:15AM -0700, Christoph Zens wrote:
>
> > Also, in printk's, you waste run-time memory, and you bloat up the need
> > for the log size. Both of which are _technical_ reasons not to do it.
> >
> > Small is beuatiful.
>
> I totally agree. If you want to use Linux for a small and low cost
> embedded system, you can't afford loads of RAM and FLASH space.
> Small is the _key_ for those systems.

*For* *those* *systems*.

Until 99% of the Linux machines are Agendas, or whatever, and 1% PC's, as
opposed to the other way around, we should default to displaying basic[1]
info about the driver, unless told to with a "verbose" option or somesuch,
which would make it spew verbose stuff[2]. And then a "debug" option which
would make it spew lots and lots of stuff[3]. All of this specifiable on the
commandline. (Can you currently change the default loglevel on the kernel
commandline?).

I honestly feel that this is the best idea. Just because we do this by
default doesn't mean that the people who make embedded systems can't modify
the kernel, or hell, even just the bootflags, to do what they want.

:) d

[1]: <device name>: <hardware type> <irq, etc>, e.g.:
eth0: Intel EtherExpress PRO/100, IRQ10, etc
[2]: <driver name>: <version> <maintainer>
<device name>: <hardware type> <irq, etc>, e.g.:
eepro100.c: v0.1, Daniel Stone <daniel@sfarc.net>
eth0: Intel EtherExpress PRO/100, IRQ10, etc
[3]: <driver name>: <version> <maintainer>
<other random init crap>
<device name>: <hardware type> <irq, etc>
<other random crap>, e.g.:
eepro100.c: v0.1, Daniel Stone <daniel@sfarc.net>
Loaded with no options, scanning all PCI bus by default.
eth0: Intel EtherExpress PRO/100, IRQ10, etc
Intel i82559 OEM card, with <x> bug.
Enabling lock-up workaround bug, but you should get a Tulip.

--
Daniel Stone <daniel@sfarc.net>
<Nuke> "can NE1 help me aim nuclear weaponz????? /MSG ME!!"