diff mbox

[35/35] target-alpha: Add ps2 keyboard.

Message ID 1304976889-29675-36-git-send-email-rth@twiddle.net
State New
Headers show

Commit Message

Richard Henderson May 9, 2011, 9:34 p.m. UTC
Signed-off-by: Richard Henderson <rth@twiddle.net>
---
 default-configs/alpha-softmmu.mak |    1 +
 hw/alpha_dp264.c                  |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)
diff mbox

Patch

diff --git a/default-configs/alpha-softmmu.mak b/default-configs/alpha-softmmu.mak
index 32167cd..be86d0c 100644
--- a/default-configs/alpha-softmmu.mak
+++ b/default-configs/alpha-softmmu.mak
@@ -3,6 +3,7 @@ 
 include pci.mak
 CONFIG_SERIAL=y
 CONFIG_I8254=y
+CONFIG_PCKBD=y
 CONFIG_VGA_PCI=y
 CONFIG_IDE_CORE=y
 CONFIG_IDE_QDEV=y
diff --git a/hw/alpha_dp264.c b/hw/alpha_dp264.c
index 30ae567..73a88fa 100644
--- a/hw/alpha_dp264.c
+++ b/hw/alpha_dp264.c
@@ -83,6 +83,7 @@  static void clipper_init(ram_addr_t ram_size,
 
     rtc_init(1980, rtc_irq);
     pit_init(0x40, 0);
+    isa_create_simple("i8042");
 
     /* VGA setup.  Don't bother loading the bios.  */
     alpha_pci_vga_setup(pci_bus);