|
From: | Vijay Kumar |
Subject: | Re: [Qemu-devel] [5063] Parallel Port Direction Fix |
Date: | Fri, 22 Aug 2008 15:04:22 +0530 |
User-agent: | Icedove 1.5.0.10 (X11/20070328) |
Aurelien Jarno wrote:
Modified: trunk/qemu-char.h =================================================================== --- trunk/qemu-char.h 2008-08-21 23:03:15 UTC (rev 5062) +++ trunk/qemu-char.h 2008-08-22 08:57:09 UTC (rev 5063) @@ -27,6 +27,7 @@ #define CHR_IOCTL_PP_EPP_READ 9 #define CHR_IOCTL_PP_EPP_WRITE_ADDR 10 #define CHR_IOCTL_PP_EPP_WRITE 11 +#define CHR_IOCTL_PP_DATA_DIR 12#define CHR_IOCTL_SERIAL_SET_TIOCM 12#define CHR_IOCTL_SERIAL_GET_TIOCM 13
Jarno, thanks for committing the patch. But it seems that now there are two IOCTL macros with the same value. To be safe we can move CHR_IOCTL_PP_DATA_DIR to 14. Signed-off-by: Vijay Kumar <address@hidden> Index: qemu/qemu-char.h =================================================================== --- qemu.orig/qemu-char.h 2008-08-22 15:02:12.000000000 +0530 +++ qemu/qemu-char.h 2008-08-22 15:02:16.000000000 +0530 @@ -27,11 +27,12 @@ #define CHR_IOCTL_PP_EPP_READ 9 #define CHR_IOCTL_PP_EPP_WRITE_ADDR 10 #define CHR_IOCTL_PP_EPP_WRITE 11 -#define CHR_IOCTL_PP_DATA_DIR 12 #define CHR_IOCTL_SERIAL_SET_TIOCM 12 #define CHR_IOCTL_SERIAL_GET_TIOCM 13 +#define CHR_IOCTL_PP_DATA_DIR 14 + #define CHR_TIOCM_CTS 0x020 #define CHR_TIOCM_CAR 0x040 #define CHR_TIOCM_DSR 0x100
[Prev in Thread] | Current Thread | [Next in Thread] |