i8042.cc (11793:ef606668d247) i8042.cc (12392:e0dbdf30a2a5)
1/*
2 * Copyright (c) 2008 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

--- 441 unchanged lines hidden (view full) ---

450 panic("i8042 \"Continuous poll low\" command not implemented.\n");
451 case ContinuousPollHigh:
452 panic("i8042 \"Continuous poll high\" command not implemented.\n");
453 case ReadOutputPort:
454 panic("i8042 \"Read output port\" command not implemented.\n");
455 case WriteOutputPort:
456 warn("i8042 \"Write output port\" command not implemented.\n");
457 lastCommand = WriteOutputPort;
1/*
2 * Copyright (c) 2008 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

--- 441 unchanged lines hidden (view full) ---

450 panic("i8042 \"Continuous poll low\" command not implemented.\n");
451 case ContinuousPollHigh:
452 panic("i8042 \"Continuous poll high\" command not implemented.\n");
453 case ReadOutputPort:
454 panic("i8042 \"Read output port\" command not implemented.\n");
455 case WriteOutputPort:
456 warn("i8042 \"Write output port\" command not implemented.\n");
457 lastCommand = WriteOutputPort;
458 break;
458 case WriteKeyboardOutputBuff:
459 warn("i8042 \"Write keyboard output buffer\" "
460 "command not implemented.\n");
461 lastCommand = WriteKeyboardOutputBuff;
459 case WriteKeyboardOutputBuff:
460 warn("i8042 \"Write keyboard output buffer\" "
461 "command not implemented.\n");
462 lastCommand = WriteKeyboardOutputBuff;
463 break;
462 case WriteMouseOutputBuff:
463 DPRINTF(I8042, "Got command to write to mouse output buffer.\n");
464 lastCommand = WriteMouseOutputBuff;
465 break;
466 case WriteToMouse:
467 DPRINTF(I8042, "Expecting mouse command.\n");
468 lastCommand = WriteToMouse;
469 break;

--- 79 unchanged lines hidden ---
464 case WriteMouseOutputBuff:
465 DPRINTF(I8042, "Got command to write to mouse output buffer.\n");
466 lastCommand = WriteMouseOutputBuff;
467 break;
468 case WriteToMouse:
469 DPRINTF(I8042, "Expecting mouse command.\n");
470 lastCommand = WriteToMouse;
471 break;

--- 79 unchanged lines hidden ---