Changeset d56ab85 in mainline for uspace/drv/char/ps2mouse/ps2mouse.c


Ignore:
Timestamp:
2011-12-26T15:44:46Z (13 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
ec3b125
Parents:
9f97ffe
Message:

ps2mouse: Check init response from the device.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/char/ps2mouse/ps2mouse.c

    r9f97ffe rd56ab85  
    116116                return EIO;
    117117        }
    118 #if 0 /* Enable this when we can guarantee that the response won't be lost. */
     118
    119119        size = char_dev_read(mouse->parent_sess, &report, 1);
    120120        if (size != 1 || report != PS2_MOUSE_ACK) {
     
    126126                return EIO;
    127127        }
    128 #endif
    129128
    130129        mouse->polling_fibril = fibril_create(polling_ps2, mouse);
Note: See TracChangeset for help on using the changeset viewer.