Revision 86c86157 hw/pckbd.c

b/hw/pckbd.c
455 455

  
456 456
    kbd_reset(s);
457 457
    register_savevm("pckbd", 0, 3, kbd_save, kbd_load, s);
458
    register_ioport_read(dev->iobase[0], 1, 1, kbd_read_data, s);
459
    register_ioport_write(dev->iobase[0], 1, 1, kbd_write_data, s);
460
    register_ioport_read(dev->iobase[1], 1, 1, kbd_read_status, s);
461
    register_ioport_write(dev->iobase[1], 1, 1, kbd_write_command, s);
458
    register_ioport_read(0x60, 1, 1, kbd_read_data, s);
459
    register_ioport_write(0x60, 1, 1, kbd_write_data, s);
460
    register_ioport_read(0x64, 1, 1, kbd_read_status, s);
461
    register_ioport_write(0x64, 1, 1, kbd_write_command, s);
462 462

  
463 463
    s->kbd = ps2_kbd_init(kbd_update_kbd_irq, s);
464 464
    s->mouse = ps2_mouse_init(kbd_update_aux_irq, s);

Also available in: Unified diff