Re: [PATCH] Wait for console to become available, ver 3.1

From: David VomLehn
Date: Sun Apr 19 2009 - 12:12:04 EST


Bodo Eggert wrote:
David VomLehn <dvomlehn@xxxxxxxxx> wrote:

+ consoledelay=ms [KNL] Wait up to ms milliseconds for the preferred
+ console to be registered, then continue. Useful for
+ systems where a console may not be plugged in, such as
+ for USB serial devices.

+ consolewait [KNL] Wait (indefinitely) for preferred console device
+ to be registered. Useful, for example, for USB serial
+ devices, but will never complete booting if no console
+ is plugged in.

I'd use (consoledelay == -1) -> wait forever.

These are modelled after the way delays are done for the boot device, a consistency which should make them easier to remember. If others disagree, I am willing to implement your suggestion, though.

--
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/