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


Ignore:
Timestamp:
2009-02-15T13:57:29Z (16 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
ee06f2a
Parents:
826a4e8d
Message:

Get rid of CONFIG_NS16550_INTERRUPT_DRIVEN and CONFIG_I8042_INTERRUPT_DRIVEN.

File:
1 edited

Legend:

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

    r826a4e8d re7f2ad68  
    142142        thread_detach(THREAD);
    143143
    144 #ifdef CONFIG_Z8530
    145         if (kbd_type == KBD_Z8530) {
    146                 /*
    147                  * The z8530 driver is interrupt-driven.
    148                  */
     144        if (kbd_type != KBD_SGCN)
    149145                return;
    150         }
    151 #endif
    152 
    153 #ifdef CONFIG_NS16550
    154 #ifdef CONFIG_NS16550_INTERRUPT_DRIVEN
    155         if (kbd_type == KBD_NS16550) {
    156                 /*
    157                  * The ns16550 driver is interrupt-driven.
    158                  */
    159                 return;
    160         }
    161 #endif
    162 #endif
     146
    163147        while (1) {
    164 #ifdef CONFIG_NS16550
    165 #ifndef CONFIG_NS16550_INTERRUPT_DRIVEN
    166                 if (kbd_type == KBD_NS16550)
    167                         ns16550_poll();
    168 #endif
    169 #endif
    170148#ifdef CONFIG_SGCN
    171149                if (kbd_type == KBD_SGCN)
Note: See TracChangeset for help on using the changeset viewer.