Subversion Repositories HelenOS

Rev

Rev 2071 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2071 Rev 2321
Line 102... Line 102...
102
    wait_ready();
102
    wait_ready();
103
 
103
 
104
    /* Flush all current IO */
104
    /* Flush all current IO */
105
    while (i8042_status_read() & i8042_OUTPUT_FULL)
105
    while (i8042_status_read() & i8042_OUTPUT_FULL)
106
        i8042_data_read();
106
        i8042_data_read();
-
 
107
   
107
    /* Initialize mouse */
108
    /* Initialize mouse */
108
    i8042_command_write(i8042_CMD_MOUSE);
109
    i8042_command_write(i8042_CMD_MOUSE);
109
    wait_ready();
110
    wait_ready();
110
    i8042_data_write(MOUSE_OUT_INIT);
111
    i8042_data_write(MOUSE_OUT_INIT);
111
    wait_ready();
112
    wait_ready();