Linux MS DOS discussions
 help / color / mirror / Atom feed
From: Stas Sergeev <stssppnn@yahoo.com>
To: linux-msdos@vger.kernel.org
Cc: Randy Thelen <rthelen@madscientistroom.org>
Subject: Re: I have a patch for dosemu-1.0.2.1 to enhance rs232 "break" support
Date: Sat, 24 Aug 2002 01:58:41 +0400	[thread overview]
Message-ID: <3D66B011.5060006@yahoo.com> (raw)

Hello.

Mark Rejhon wrote:
> Randy Thelen wrote:
>> Hi Mark! 
>> My name is Randy Thelen and I've hacked on 
>> src/base/serial/ser_ports.c
>> for dosemu-1.0.2.1.
Please consider hacking >=1.1.3.2 as the serial
code was changed a bit.

> + * This function updates the msr and mcr with respect to the hardware.
Are you sure we need this for mcr?
And for msr we have a modstat_engine()...
So please provide some more explanations as
currently I don't see a point (yes, as the
serial code is no longer maintained, you'll
have to provide some more explanations than
expected for makeing a maintainer to understand).

> +  if ((com[num].LSR & 1) == 0) sleep(1);
What is this?

>  put_lcr(int num, int val)
> {
> +  int changed;
I think you don't need "changed" here, "val"
must work.

> +    control = 0;  /* UNUSED for TIOCSBRK and TIOCCBRK */
> +    if (val & UART_LCR_SBC)
> +      ioctl(com[num].fd, TIOCSBRK, &control);
Will the ioctl(com[num].fd, TIOCSBRK) work?
I think this ioctl doesn't require an arg at all.


             reply	other threads:[~2002-08-23 21:58 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-08-23 21:58 Stas Sergeev [this message]
     [not found] <20020823021342.K43474@tesla.madscientistroom.org>
2002-08-23 16:04 ` I have a patch for dosemu-1.0.2.1 to enhance rs232 "break" support Mark Rejhon

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=3D66B011.5060006@yahoo.com \
    --to=stssppnn@yahoo.com \
    --cc=linux-msdos@vger.kernel.org \
    --cc=rthelen@madscientistroom.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox