patch-2_6_7-vs1_9_1_12
[linux-2.6.git] / arch / m68k / sun3x / config.c
index 25ab5d9..756d627 100644 (file)
@@ -33,12 +33,12 @@ void sun3_leds(unsigned int i)
 
 static int sun3x_get_hardware_list(char *buffer)
 {
-       
+
        int len = 0;
 
        len += sprintf(buffer + len, "PROM Revision:\t%s\n",
                       romvec->pv_monid);
-       
+
        return len;
 
 }
@@ -62,7 +62,7 @@ void __init config_sun3x(void)
        mach_request_irq     = sun3_request_irq;
        mach_free_irq        = sun3_free_irq;
        mach_process_int     = sun3_process_int;
-    
+
        mach_gettimeoffset   = sun3x_gettimeoffset;
        mach_reset           = sun3x_reboot;
 
@@ -70,10 +70,14 @@ void __init config_sun3x(void)
        mach_get_model       = sun3_get_model;
        mach_get_hardware_list = sun3x_get_hardware_list;
 
+#if defined(CONFIG_DUMMY_CONSOLE)
+       conswitchp           = &dummy_con;
+#endif
+
        sun3_intreg = (unsigned char *)SUN3X_INTREG;
 
        /* only the serial console is known to work anyway... */
-#if 0    
+#if 0
        switch (*(unsigned char *)SUN3X_EEPROM_CONS) {
        case 0x10:
                serial_console = 1;