Removed some excess logging from pic.c.
This commit is contained in:
@@ -541,7 +541,6 @@ void
|
|||||||
pic_kbd_latch(int enable)
|
pic_kbd_latch(int enable)
|
||||||
{
|
{
|
||||||
pic_log("PIC keyboard latch now %sabled\n", enable ? "en" : "dis");
|
pic_log("PIC keyboard latch now %sabled\n", enable ? "en" : "dis");
|
||||||
pclog("PIC keyboard latch now %sabled\n", enable ? "en" : "dis");
|
|
||||||
|
|
||||||
if (!!(enable | mouse_latch) != !!(kbd_latch | mouse_latch))
|
if (!!(enable | mouse_latch) != !!(kbd_latch | mouse_latch))
|
||||||
io_handler(!!(enable | mouse_latch), 0x0060, 0x0001, pic_latch_read, NULL, NULL, NULL, NULL, NULL, NULL);
|
io_handler(!!(enable | mouse_latch), 0x0060, 0x0001, pic_latch_read, NULL, NULL, NULL, NULL, NULL, NULL);
|
||||||
@@ -556,7 +555,6 @@ void
|
|||||||
pic_mouse_latch(int enable)
|
pic_mouse_latch(int enable)
|
||||||
{
|
{
|
||||||
pic_log("PIC mouse latch now %sabled\n", enable ? "en" : "dis");
|
pic_log("PIC mouse latch now %sabled\n", enable ? "en" : "dis");
|
||||||
pclog("PIC mouse latch now %sabled\n", enable ? "en" : "dis");
|
|
||||||
|
|
||||||
if (!!(kbd_latch | enable) != !!(kbd_latch | mouse_latch))
|
if (!!(kbd_latch | enable) != !!(kbd_latch | mouse_latch))
|
||||||
io_handler(!!(kbd_latch | enable), 0x0060, 0x0001, pic_latch_read, NULL, NULL, NULL, NULL, NULL, NULL);
|
io_handler(!!(kbd_latch | enable), 0x0060, 0x0001, pic_latch_read, NULL, NULL, NULL, NULL, NULL, NULL);
|
||||||
|
Reference in New Issue
Block a user