Changeset 8b4be29 in mainline for kernel/arch/sparc64/src/console.c


Ignore:
Timestamp:
2006-08-09T18:33:32Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
5f24137
Parents:
d46c6ecd
Message:

Add an option to compile the sparc64 kernel for Ultra 5 or Enterprise E6500.
Basic keyboard support (polling) based on ns16550 serial port (deployed on Ultra).

File:
1 edited

Legend:

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

    rd46c6ecd r8b4be29  
    4343#include <genarch/kbd/z8530.h>
    4444#endif
    45 #ifdef CONFIG_16550A
    46 #include <genarch/kbd/16550a.h>
     45#ifdef CONFIG_NS16550
     46#include <genarch/kbd/ns16550.h>
    4747#endif
    4848
     
    6565                bootinfo.screen.bpp, bootinfo.screen.scanline, true);
    6666
     67#ifdef KBD_ADDR_OVRD
     68        if (!bootinfo.keyboard.addr)
     69                bootinfo.keyboard.addr = KBD_ADDR_OVRD;
     70#endif
     71
    6772        if (bootinfo.keyboard.addr)
    6873                kbd_init();
     
    8287                z8530_poll();
    8388#endif
    84 #ifdef CONFIG_16550A
    85                 16550a_poll();
     89#ifdef CONFIG_NS16550
     90                ns16550_poll();
    8691#endif
    8792                thread_usleep(KEYBOARD_POLL_PAUSE);
Note: See TracChangeset for help on using the changeset viewer.