Hi,
i was just on the way again of detecting the console of the Indigo2
automagically - There are some interesting nifty details.
In arch/mips/sgi/kernel/setup.c i find
251 #ifdef CONFIG_SERIAL_CONSOLE
252 /* ARCS console environment variable is set to "g?" for
253 * graphics console, it is set to "d" for the first serial
254 * line and "d2" for the second serial line.
255 */
256 ctype = ArcGetEnvironmentVariable("console");
257 if(*ctype == 'd') {
258 if(*(ctype+1)=='2')
259 console_setup ("ttyS1");
260 else
261 console_setup ("ttyS0");
262 }
263 #endif
Which is ok - But - On my Indigo2 (It has a GFX Board) the prom gives me:
console=g
ConsoleOut=serial(0)
ConsoleIn=serial(0)
So - From the logic above this will give me "graphics" console although
there is no keyboard attached and no Monitor. What do others see there
especially the ones with an Indy and GFX Console.
Flo
--
Florian Lohoff flo@rfc822.org +49-5201-669912
Why is it called "common sense" when nobody seems to have any?
|