Subversion Repositories HelenOS

Rev

Rev 3657 | Rev 3661 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3657 Rev 3659
Line 207... Line 207...
207
        devno_t mouse = device_assign_devno();
207
        devno_t mouse = device_assign_devno();
208
        /* keyboard controller */
208
        /* keyboard controller */
209
        i8042_init(kbd, IRQ_KBD, mouse, IRQ_MOUSE);
209
        i8042_init(kbd, IRQ_KBD, mouse, IRQ_MOUSE);
210
 
210
 
211
#ifdef CONFIG_NS16550
211
#ifdef CONFIG_NS16550
212
        ns16550_init(kbd, NS16550_IRQ, NS16550_PORT,end_of_irq_void,NULL); // as a COM 1
212
        ns16550_init(kbd, NS16550_PORT, NS16550_IRQ,end_of_irq_void,NULL); // as a COM 1
213
#else
213
#else
214
#endif
214
#endif
215
        thread_t *t;
215
        thread_t *t;
216
        t = thread_create(i8042_kkbdpoll, NULL, TASK, 0, "kkbdpoll", true);
216
        t = thread_create(i8042_kkbdpoll, NULL, TASK, 0, "kkbdpoll", true);
217
        if (!t)
217
        if (!t)