Changeset 753d851 in mainline for kernel/arch/sparc64/src/console.c


Ignore:
Timestamp:
2009-02-08T22:25:30Z (16 years ago)
Author:
Pavel Rimsky <rimskyp@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
198a9ef
Parents:
fd375a8d
Message:

Allow to suppress compilation of FB code on Sparc machines that do not have FB.

File:
1 edited

Legend:

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

    rfd375a8d r753d851  
    7070static void standard_console_init(ofw_tree_node_t *aliases)
    7171{
     72#ifdef CONFIG_FB
    7273        stdin = NULL;
    7374
     
    9798
    9899        kbd_init(keyboard);
     100#else
     101        panic("Standard console requires FB, "
     102              "but the kernel is not compiled with FB support.");
     103#endif
    99104}
    100105
     
    176181void arch_grab_console(void)
    177182{
     183#ifdef CONFIG_FB
    178184        scr_redraw();
     185#endif
    179186        switch (kbd_type) {
    180187#ifdef CONFIG_Z8530
Note: See TracChangeset for help on using the changeset viewer.