Skip to contentSkip to conversation

Wait for console to become available, ver 3.1

PATCH Bodo Eggert 2 participants 2 messages Apr 18, 2009 – Apr 19, 2009 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

Review

Quoted 9 lines · David VomLehn
(quoted diff) +8 -0
+     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.

#2 lore raw
Quoted 7 lines · Bodo Eggert
Quoted 4 lines · David VomLehn
(quoted diff) +4 -0
+     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.
Quoted 6 lines

Review

Quoted 4 lines
(quoted diff) +4 -0
+     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.