Changeset 494a54a in mainline


Ignore:
Timestamp:
2006-10-18T10:01:26Z (18 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
95b3550
Parents:
6fb30a1
Message:

mips32: update kbd driver

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/kbd/arch/mips32/src/kbd.c

    r6fb30a1 r494a54a  
    6969
    7070irq_cmd_t msim_cmds[1] = {
    71         { CMD_MEM_READ_1, (void *)0xB0000000, 0, 2 }
     71        { CMD_MEM_READ_1, (void *) 0, 0, 2 }
    7272};
    7373
     
    8484{
    8585        fb_fb = (sysinfo_value("fb.kind") == 1);
    86         ipc_register_irq(2, &msim_kbd);
     86        msim_cmds[0].addr = sysinfo_value("kbd.address.virtual");
     87        ipc_register_irq(sysinfo_value("kbd.inr"), sysinfo_value("kbd.devno"), 0, &msim_kbd);
    8788        return 0;
    8889}
Note: See TracChangeset for help on using the changeset viewer.