From: Alexander Gerasiov <gq@redlab-i.ru>
To: Andy Shevchenko <andy.shevchenko@gmail.com>
Cc: Sudip Mukherjee <sudipm.mukherjee@gmail.com>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] parport_serial: Add support for WCH CH382L PCI-E single parallel port card.
Date: Sun, 18 Jun 2017 21:37:48 +0300 [thread overview]
Message-ID: <20170618213748.28e312c6@brick.gerasiov.net> (raw)
In-Reply-To: <CAHp75VeNmZ4d2Uo3EvNg=xcAdDwzizNKHVZotbV6szs-H3vaqQ@mail.gmail.com>
Hello Andy,
While preparing the update I suddenly found, that parport_serial.c is
not the right place for this card. Since there is no serial ports on
the board, it would be better to put it into parport_pc.c
So I'll resubmit the patch right after I get access to the hardware to
check, that I did it the right way.
On Sat, 17 Jun 2017 16:45:49 +0300
Andy Shevchenko <andy.shevchenko@gmail.com> wrote:
> On Sat, Jun 17, 2017 at 4:02 PM, Sudip Mukherjee
> <sudipm.mukherjee@gmail.com> wrote:
> > From: Alexander Gerasiov <gq@redlab-i.ru>
> >
> > WCH CH382L is a PCI-E adapter with 1 parallel port. It is similair
> > to CH382 but serial ports are not soldered on board. Detected as
> > Serial controller: Device 1c00:3050 (rev 10) (prog-if 05 [16850])
>
> > wch_ch382_2s1p,
> > + wch_ch382_0s1p,
>
> > /* wch_ch382_2s1p*/ { 1, { { 2, -1}, } },
> > + /* wch_ch382_0s1p*/ { 1, { { 2, -1}, } },
>
> > { 0x1c00, 0x3250, 0x1c00, 0x3250, 0, 0, wch_ch382_2s1p},
> > + { 0x1c00, 0x3050, 0x1c00, 0x3050, 0, 0, wch_ch382_0s1p},
>
> Just a nit, wouldn't be better to preserve alphanumerical sorting?
> (Exchange lines in above pairs)
>
> > + [wch_ch382_0s1p] = {
> ...
> > [sunix_2s1p] = {
>
> Similar here, though it's not visible in the patch.
>
--
Best regards,
Alexander Gerasiov
Contacts:
e-mail: gq@cs.msu.su Homepage: http://gerasiov.net Skype: gerasiov
PGP fingerprint: 04B5 9D90 DF7C C2AB CD49 BAEA CA87 E9E8 2AAC 33F1
next prev parent reply other threads:[~2017-06-18 18:46 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-17 13:02 Sudip Mukherjee
2017-06-17 13:45 ` Andy Shevchenko
2017-06-18 18:37 ` Alexander Gerasiov [this message]
2017-06-18 21:06 ` Sudip Mukherjee
2017-06-19 18:37 ` Alan Cox
2017-07-05 11:07 ` Alexander Gerasiov
2017-07-05 20:02 ` [PATCH] parport_pc: " Alexander Gerasiov
2017-07-05 21:28 ` Andy Shevchenko
2018-02-03 23:37 ` Alexander Gerasiov
2018-02-03 23:50 ` Alexander Gerasiov
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=20170618213748.28e312c6@brick.gerasiov.net \
--to=gq@redlab-i.ru \
--cc=andy.shevchenko@gmail.com \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=sudipm.mukherjee@gmail.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
all inboxes | Powered by JetHome®