Changeset 84afc7b in mainline for uspace/srv/kbd/port/z8530.c


Ignore:
Timestamp:
2009-03-18T10:53:12Z (15 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
e749794
Parents:
8015eeec
Message:

as kernel little brother drivers are not needed anymore, the device numbers do not have to be correlated between kernel and uspace in any way
introduce new syscall sys_device_assign_devno() for generating system-wide unique device numbers for uspace

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/kbd/port/z8530.c

    r8015eeec r84afc7b  
    9090        z8530_cmds[3].addr = (void *) sysinfo_value("kbd.address.kernel") +
    9191            CHAN_A_DATA;
    92         ipc_register_irq(sysinfo_value("kbd.inr"), sysinfo_value("kbd.devno"),
     92        ipc_register_irq(sysinfo_value("kbd.inr"), device_assign_devno(),
    9393            sysinfo_value("kbd.inr"), &z8530_kbd);
    9494        return 0;
Note: See TracChangeset for help on using the changeset viewer.