r2271 - trunk/src/host/qemu-neo1973/hw
andrew at sita.openmoko.org
andrew at sita.openmoko.org
Sat Jun 16 13:47:55 CEST 2007
Author: andrew
Date: 2007-06-16 13:47:54 +0200 (Sat, 16 Jun 2007)
New Revision: 2271
Modified:
trunk/src/host/qemu-neo1973/hw/neo1973.c
trunk/src/host/qemu-neo1973/hw/usb-bt.c
Log:
Correctly release the POWER button.
Modified: trunk/src/host/qemu-neo1973/hw/neo1973.c
===================================================================
--- trunk/src/host/qemu-neo1973/hw/neo1973.c 2007-06-16 07:19:19 UTC (rev 2270)
+++ trunk/src/host/qemu-neo1973/hw/neo1973.c 2007-06-16 11:47:54 UTC (rev 2271)
@@ -173,7 +173,7 @@
break;
case 0x39: /* Space */
qemu_set_irq(s->kbd_pic[GTA01_IRQ_HOLD_KEY], !(keycode & 0x80));
- pcf_onkey_set(s->pmu, !(keycode & 80)); /* Active LOW */
+ pcf_onkey_set(s->pmu, !(keycode & 0x80)); /* Active LOW */
break;
}
}
Modified: trunk/src/host/qemu-neo1973/hw/usb-bt.c
===================================================================
--- trunk/src/host/qemu-neo1973/hw/usb-bt.c 2007-06-16 07:19:19 UTC (rev 2270)
+++ trunk/src/host/qemu-neo1973/hw/usb-bt.c 2007-06-16 11:47:54 UTC (rev 2271)
@@ -295,7 +295,6 @@
{
struct USBBtState *s = (struct USBBtState *) dev->opaque;
int ret = 0;
- printf("setup token req %x val %x idx %x len %x\n", request, value, index, length);////
switch (request) {
case DeviceRequest | USB_REQ_GET_STATUS:
More information about the commitlog
mailing list