Ignore:
File:
1 edited

Legend:

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

    rbab75df6 r1b1be5f  
    3737#include <arch/drivers/scr.h>
    3838#include <arch/drivers/kbd.h>
     39#include <arch/drivers/tty.h>
    3940#include <genarch/srln/srln.h>
    4041#include <console/chardev.h>
     
    8485        kbd_init(keyboard);
    8586#endif
     87
     88#ifdef CONFIG_SUN_TTY
     89        ofw_tree_property_t *prop_tty = ofw_tree_getprop(aliases, "ttya");
     90        if (prop_tty && prop_tty->value) {
     91                ofw_tree_node_t *tty = ofw_tree_lookup(prop_tty->value);
     92                if (tty)
     93                        tty_init(tty);
     94        }
     95#endif
    8696}
    8797
Note: See TracChangeset for help on using the changeset viewer.