r1673 - trunk/src/host/qemu-neo1973/hw
andrew at sita.openmoko.org
andrew at sita.openmoko.org
Fri Apr 6 08:22:11 CEST 2007
Author: andrew
Date: 2007-04-06 08:22:10 +0200 (Fri, 06 Apr 2007)
New Revision: 1673
Modified:
trunk/src/host/qemu-neo1973/hw/s3c2410.c
Log:
Send MODEM_HANDSHAKE ioctl when AFC is enabled for an uart.
Modified: trunk/src/host/qemu-neo1973/hw/s3c2410.c
===================================================================
--- trunk/src/host/qemu-neo1973/hw/s3c2410.c 2007-04-06 00:17:09 UTC (rev 1672)
+++ trunk/src/host/qemu-neo1973/hw/s3c2410.c 2007-04-06 06:22:10 UTC (rev 1673)
@@ -1264,7 +1264,7 @@
if ((s->mcontrol ^ value) & (1 << 4)) {
afc = (value >> 4) & 1;
for (i = 0; i < s->chr_num; i ++)
- qemu_chr_ioctl(s->chr[i], CHR_IOCTL_MODEM_SET_AFC, &afc);
+ qemu_chr_ioctl(s->chr[i], CHR_IOCTL_MODEM_HANDSHAKE, &afc);
}
s->mcontrol = value & 0x11;
break;
More information about the commitlog
mailing list