Changeset 411b6a6 in mainline for kernel/arch/ia64/src/ia64.c


Ignore:
Timestamp:
2009-03-07T16:08:40Z (15 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
4c84368e
Parents:
e06da7e
Message:

Complete emancipation of kernel serial controller drivers (i8042, ns16550 and
z8530). Provide a common keyboard module for PC and Sun keyboards. The serial
line module is still to follow.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/ia64/src/ia64.c

    re06da7e r411b6a6  
    5555#include <genarch/drivers/legacy/ia32/io.h>
    5656#include <genarch/drivers/ega/ega.h>
    57 #include <genarch/kbd/i8042.h>
     57#include <genarch/kbrd/kbrd.h>
     58#include <genarch/drivers/i8042/i8042.h>
    5859#include <genarch/kbd/ns16550.h>
    5960#include <smp/smp.h>
     
    178179#else
    179180        inr = IRQ_KBD;
    180         (void) i8042_init((i8042_t *)I8042_BASE, devno, inr);
     181        kbrd_init(stdin);
     182        (void) i8042_init((i8042_t *)I8042_BASE, devno, inr, &kbrdin);
     183        trap_virtual_enable_irqs(1 << inr);
    181184        sysinfo_set_item_val("kbd.type", NULL, KBD_LEGACY);
    182185        sysinfo_set_item_val("kbd.address.physical", NULL,
Note: See TracChangeset for help on using the changeset viewer.