Changeset 6095342 in mainline for arch/mips32/src/drivers/arc.c


Ignore:
Timestamp:
2005-12-10T01:28:08Z (20 years ago)
Author:
Ondrej Palkovsky <ondrap@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
aace6624
Parents:
fcfac420
Message:

Some small fixes, basic changes to ia64 & ppc32 without testing.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • arch/mips32/src/drivers/arc.c

    rfcfac420 r6095342  
    189189}
    190190
    191 static int kbd_polling_enabled;
     191static bool kbd_polling_enabled;
    192192static chardev_t console;
    193193
     
    221221static void arc_enable(chardev_t *dev)
    222222{
    223         kbd_polling_enabled = 1;       
     223        kbd_polling_enabled = true;
    224224}
    225225
    226226static void arc_disable(chardev_t *dev)
    227227{
    228         kbd_polling_enabled = 0;
     228        kbd_polling_enabled = false;
    229229}
    230230
     
    247247chardev_t * arc_console(void)
    248248{
    249         kbd_polling_enabled = 1;
     249        kbd_polling_enabled = true;
    250250       
    251251        chardev_initialize("arc_console", &console, &arc_ops);
Note: See TracChangeset for help on using the changeset viewer.