Changeset ff685c9 in mainline for kernel/arch/ia64/src/ia64.c


Ignore:
Timestamp:
2009-03-03T23:00:33Z (16 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
150385b9
Parents:
9cd98796
Message:

Make the kbd port drivers platform neutral by using PIO functions.
The kernel now supplies the physical address and the kernel virtual address.

File:
1 edited

Legend:

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

    r9cd98796 rff685c9  
    169169        (void) ns16550_init((ns16550_t *)NS16550_BASE, devno, inr, NULL, NULL);
    170170        sysinfo_set_item_val("kbd.type", NULL, KBD_NS16550);
    171         sysinfo_set_item_val("kbd.port", NULL, (uintptr_t)NS16550_BASE);
     171        sysinfo_set_item_val("kbd.address.physical", NULL,
     172            (uintptr_t) NS16550_BASE);
     173        sysinfo_set_item_val("kbd.address.kernel", NULL,
     174            (uintptr_t) NS16550_BASE);
    172175#else
    173176        inr = IRQ_KBD;
    174177        (void) i8042_init((i8042_t *)I8042_BASE, devno, inr);
    175178        sysinfo_set_item_val("kbd.type", NULL, KBD_LEGACY);
     179        sysinfo_set_item_val("kbd.address.physical", NULL,
     180            (uintptr_t) I8042_BASE);
     181        sysinfo_set_item_val("kbd.address.kernel", NULL,
     182            (uintptr_t) I8042_BASE);
    176183#endif
    177184        sysinfo_set_item_val("kbd", NULL, true);
Note: See TracChangeset for help on using the changeset viewer.