From: Jiri Slaby <jslaby@suse.cz>
To: Mathieu OTHACEHE <m.othacehe@gmail.com>,
adam.lee@canonical.com, soeren.grunewald@desy.de,
anton.wuerfel@fau.de, phillip.raffeck@fau.de, hpeter@gmail.com,
udknight@gmail.com, andriy.shevchenko@linux.intel.com,
heikki.krogerus@linux.intel.com, gregkh@linuxfoundation.org,
Jan Beulich <JBeulich@suse.com>
Cc: linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org
Subject: Re: [PATCH] serial: 8250_pci: add MOXA Smartio MUE boards support
Date: Mon, 15 Feb 2016 09:23:36 +0100 [thread overview]
Message-ID: <56C18B08.4060803@suse.cz> (raw)
In-Reply-To: <1455301730-24333-1-git-send-email-m.othacehe@gmail.com>
On 02/12/2016, 07:28 PM, Mathieu OTHACEHE wrote:
> Add support for :
>
> - CP-102E: 2 ports RS232 PCIE card
> - CP-102EL: 2 ports RS232 PCIE card
> - CP-132EL: 2 ports RS422/485 PCIE card
> - CP-114EL: 4 ports RS232/422/485 PCIE card
> - CP-104EL-A: 4 ports RS232 PCIE card
> - CP-168EL-A: 8 ports RS232 PCIE card
> - CP-118EL-A: 8 ports RS232/422/485 PCIE card
> - CP-118E-A: 8 ports RS422/485 PCIE card
> - CP-138E-A: 8 ports RS422/485 PCIE card
> - CP-134EL-A: 4 ports RS422/485 PCIE card
> - CP-116E-A (A): 8 ports RS232/422/485 PCIE card
> - CP-116E-A (B): 8 ports RS232/422/485 PCIE card
>
> Signed-off-by: Mathieu OTHACEHE <m.othacehe@gmail.com>
> ---
>
> Hi,
>
> This patch add support for MOXA Smartio MUE boards to 8250 driver.
> I already submitted an independant driver based on the vendor one :
>
> https://lkml.org/lkml/2016/2/1/720
>
> But as Andy pointed out, it seems to be a better idea to add this support
> directly in 8250 driver.
> I was able to test this patch on a CP-168EL-A on PC.
Hi,
all this should be above ---. It warrants to be in the commit log.
> --- a/drivers/tty/serial/8250/8250_pci.c
> +++ b/drivers/tty/serial/8250/8250_pci.c
...
> @@ -5604,6 +5748,55 @@ static struct pci_device_id serial_pci_tbl[] = {
> { PCI_DEVICE(0x1c29, 0x1108), .driver_data = pbn_fintek_8 },
> { PCI_DEVICE(0x1c29, 0x1112), .driver_data = pbn_fintek_12 },
>
> + /* MOXA Smartio MUE PCI serial cards */
> + { PCI_VENDOR_ID_MOXA, PCI_DEVICE_ID_MOXA_CP102E,
> + PCI_ANY_ID, PCI_ANY_ID,
> + 0,
> + 0, pbn_moxa_CP102E },
Please use PCI_DEVICE as others above do.
thanks,
--
js
suse labs
next prev parent reply other threads:[~2016-02-15 8:23 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-12 18:28 [PATCH] serial: 8250_pci: add MOXA Smartio MUE boards support Mathieu OTHACEHE
2016-02-15 8:23 ` Jiri Slaby [this message]
2016-02-15 13:54 ` Andy Shevchenko
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=56C18B08.4060803@suse.cz \
--to=jslaby@suse.cz \
--cc=JBeulich@suse.com \
--cc=adam.lee@canonical.com \
--cc=andriy.shevchenko@linux.intel.com \
--cc=anton.wuerfel@fau.de \
--cc=gregkh@linuxfoundation.org \
--cc=heikki.krogerus@linux.intel.com \
--cc=hpeter@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-serial@vger.kernel.org \
--cc=m.othacehe@gmail.com \
--cc=phillip.raffeck@fau.de \
--cc=soeren.grunewald@desy.de \
--cc=udknight@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;
as well as URLs for NNTP newsgroup(s).