Changeset 70922c2 in mainline for uspace/drv/char/i8042/i8042.c


Ignore:
Timestamp:
2012-02-01T00:09:22Z (12 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
ffcc5776
Parents:
cb3dbb63 (diff), 3d4750f (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Mainline changes.

File:
1 edited

Legend:

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

    rcb3dbb63 r70922c2  
    307307       
    308308        for (size_t i = 0; i < size; ++i) {
    309                 wait_ready(controller);
    310                
    311                 if (controller->aux_fun == fun)
     309                if (controller->aux_fun == fun) {
     310                        wait_ready(controller);
    312311                        pio_write_8(&controller->regs->status,
    313312                            i8042_CMD_WRITE_AUX);
     313                }
    314314               
     315                wait_ready(controller);
    315316                pio_write_8(&controller->regs->data, buffer[i]);
    316317        }
Note: See TracChangeset for help on using the changeset viewer.