From: Pete Zaitcev <zaitcev@redhat.com>
To: Tsozik <tsozik@yahoo.com>
Cc: Greg Kroah-Hartman <gregkh@suse.de>,
linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org,
zaitcev@redhat.com
Subject: Re: [PATCH 1/1] mct_u232: added _ioctl, _msr_to_icount and _get_icount functions
Date: Mon, 27 Dec 2010 15:12:37 -0700 [thread overview]
Message-ID: <20101227151237.744bbb6e@lembas.zaitcev.lan> (raw)
In-Reply-To: <87086.58416.qm@web65703.mail.ac4.yahoo.com>
On Mon, 27 Dec 2010 12:55:38 -0800 (PST)
Tsozik <tsozik@yahoo.com> wrote:
> +static void mct_u232_msr_to_icount(struct async_icount *icount,
> + unsigned char msr)
> +{
> + /* Translate Control Line states */
> + if (msr & MCT_U232_MSR_DDSR)
> + icount->dsr++;
> + if (msr & MCT_U232_MSR_DCTS)
> + icount->cts++;
> + if (msr & MCT_U232_MSR_DRI)
> + icount->rng++;
> + if (msr & MCT_U232_MSR_DCD)
> + icount->dcd++;
> +} /* mct_u232_msr_to_icount */
This looks good to me, but since it's a new hardware facility that
we did not use previously, I'd like to make sure this works for you.
> mct_u232_msr_to_icount uses delta nibble to track state changes.
> RM-60 testing showed the same levels as measured by PDM-2 in close
> proximity to RM-60.
Right, this is good. I have just one request for you: could you find
somewhere a computer with a built-in 8250-compatible serial port,
attach RM-60 to it, and run your counting application there?
I think your patch looks just fine, but I would like to make sure
that we (e.g. mct_u232+patch) are truly compatible now.
-- Pete
next prev parent reply other threads:[~2010-12-27 22:12 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-27 20:55 [PATCH 1/1] mct_u232: added _ioctl, _msr_to_icount and _get_icount functions Tsozik
2010-12-27 22:12 ` Pete Zaitcev [this message]
2010-12-28 4:04 ` Tsozik
2010-12-28 6:40 ` Pete Zaitcev
2010-12-28 15:15 ` Tsozik
2011-01-05 22:42 ` Greg KH
2011-01-05 22:43 ` Greg KH
-- strict thread matches above, loose matches on Subject: below --
2011-01-13 3:34 Vadim Tsozik
2011-02-04 19:35 ` Greg KH
2011-02-05 3:45 ` Tsozik
2011-01-16 15:50 Vadim Tsozik
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=20101227151237.744bbb6e@lembas.zaitcev.lan \
--to=zaitcev@redhat.com \
--cc=gregkh@suse.de \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=tsozik@yahoo.com \
/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