Changeset 3e53ab7 in mainline for kernel/arch/sparc64/src/console.c


Ignore:
Timestamp:
2008-11-28T19:33:10Z (17 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
7905360
Parents:
4c4ddbe9
Message:

Initial support for interrupt driven driver for ns16550.

File:
1 edited

Legend:

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

    r4c4ddbe9 r3e53ab7  
    113113#endif
    114114
     115#ifdef CONFIG_NS16550
     116#ifdef CONFIG_NS16550_INTERRUPT_DRIVEN
     117        if (kbd_type == KBD_NS16550) {
     118                /*
     119                 * The ns16550 driver is interrupt-driven.
     120                 */
     121                return;
     122        }
     123#endif
     124#endif
    115125        while (1) {
    116126#ifdef CONFIG_NS16550
     127#ifndef CONFIG_NS16550_INTERRUPT_DRIVEN
    117128                if (kbd_type == KBD_NS16550)
    118129                        ns16550_poll();
     130#endif
    119131#endif
    120132                thread_usleep(KEYBOARD_POLL_PAUSE);
Note: See TracChangeset for help on using the changeset viewer.