Changeset e7f2ad68 in mainline for kernel/arch/ia64/src/ia64.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/ia64/src/ia64.c

    r826a4e8d re7f2ad68  
    149149}
    150150
    151 
    152 #ifdef I460GX
    153 #define POLL_INTERVAL           50000           /* 50 ms */
    154 /** Kernel thread for polling keyboard. */
    155 static void i8042_kkbdpoll(void *arg)
    156 {
    157         while (1) {
    158 #ifdef CONFIG_NS16550
    159         #ifndef CONFIG_NS16550_INTERRUPT_DRIVEN
    160                 ns16550_poll();
    161         #endif 
    162 #else
    163         #ifndef CONFIG_I8042_INTERRUPT_DRIVEN
    164                 i8042_poll();
    165         #endif 
    166 #endif
    167                 thread_usleep(POLL_INTERVAL);
    168         }
    169 }
    170 #endif
    171 
    172151void arch_post_smp_init(void)
    173152{
    174         thread_t *t;
    175 
    176153        /*
    177154         * Create thread that polls keyboard.
    178155         */
    179156#ifdef SKI
    180         t = thread_create(kkbdpoll, NULL, TASK, 0, "kkbdpoll", true);
     157        thread_t *t = thread_create(kkbdpoll, NULL, TASK, 0, "kkbdpoll", true);
    181158        if (!t)
    182159                panic("Cannot create kkbdpoll.");
     
    193170        i8042_init(kbd, IRQ_KBD, mouse, IRQ_MOUSE);
    194171#endif
    195         t = thread_create(i8042_kkbdpoll, NULL, TASK, 0, "kkbdpoll", true);
    196         if (!t)
    197                 panic("Cannot create kkbdpoll.");
    198         thread_ready(t);
    199172#endif
    200173
Note: See TracChangeset for help on using the changeset viewer.