From: Aurelien Jarno <aurelien@aurel32.net>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [5063] Parallel Port Direction Fix
Date: Fri, 22 Aug 2008 23:25:27 +0200 [thread overview]
Message-ID: <20080822212527.GA21937@volta.aurel32.net> (raw)
In-Reply-To: <48AE881E.4060202@bravegnu.org>
On Fri, Aug 22, 2008 at 03:04:22PM +0530, Vijay Kumar wrote:
> 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.
Oh right, thanks. I have just applied what samuel suggested.
> Signed-off-by: Vijay Kumar <vijaykumar@bravegnu.org>
>
> 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
>
>
>
>
--
.''`. Aurelien Jarno | GPG: 1024D/F1BCDB73
: :' : Debian developer | Electrical Engineer
`. `' aurel32@debian.org | aurelien@aurel32.net
`- people.debian.org/~aurel32 | www.aurel32.net
prev parent reply other threads:[~2008-08-22 21:25 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-22 8:57 [Qemu-devel] [5063] Parallel Port Direction Fix Aurelien Jarno
2008-08-22 9:34 ` Vijay Kumar
2008-08-22 10:44 ` Samuel Thibault
2008-08-22 21:25 ` Aurelien Jarno [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080822212527.GA21937@volta.aurel32.net \
--to=aurelien@aurel32.net \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.