Changeset edebc15c in mainline for kernel/arch/mips32/src/console.c


Ignore:
Timestamp:
2008-07-27T03:50:53Z (16 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
4541ae4
Parents:
5e8ddf5
Message:

physical memory detection in MSIM (discontinous regions supported)
remove Sgi Indy (ARC) support — it was unmaintaned, untested for years and without uspace support

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/mips32/src/console.c

    r5e8ddf5 redebc15c  
    3535#include <console/console.h>
    3636#include <arch/console.h>
    37 #include <arch/drivers/arc.h>
    3837#include <arch/drivers/serial.h>
    3938#include <arch/drivers/msim.h>
     
    4140void console_init(devno_t devno)
    4241{
    43         if (!arc_console()) {
    44                 if (serial_init())
    45                         serial_console(devno);
    46                 else
    47                         msim_console(devno);
    48         }
     42        if (serial_init())
     43                serial_console(devno);
     44        else
     45                msim_console(devno);
    4946}
    5047
Note: See TracChangeset for help on using the changeset viewer.