All of lore.kernel.org
 help / color / mirror / Atom feed
From: Greg KH <gregkh@linuxfoundation.org>
To: Stephen Chivers <schivers@shrike2a.aust.csc.con>
Cc: alan@linux.intel.com, jslaby@suse.cz,
	linux-serial@vger.kernel.org, schivers@csc.com
Subject: Re: [PATCH] serial/8250: Add support for later SUNIX (TIMEDIA) boards.
Date: Fri, 25 Jan 2013 08:15:35 -0800	[thread overview]
Message-ID: <20130125161535.GA9970@kroah.com> (raw)
In-Reply-To: <201301230959.UAA11978@hawk.udefsyd>

On Wed, Jan 23, 2013 at 08:59:32PM +1100, Stephen Chivers wrote:
> Add support for later SUNIX (TIMEDIA) Universal PCI Single and Multi-Port
> Communications Boards.
> 
> These boards have PCI Vendor ID 1fd4 with device ID 1999 but otherwise
> appear to be the same as the TIMEDIA boards already supported by 8250_pci.c
> 
> Tested with the two port serial board part number SER5037A.
> 
> Signed-off-by: Stephen Chivers <schivers@csc.com>
> ---
>  drivers/tty/serial/8250/8250_pci.c |   18 ++++++++++++++++++
>  include/linux/pci_ids.h            |    3 +++
>  2 files changed, 21 insertions(+), 0 deletions(-)
> 
> diff --git a/drivers/tty/serial/8250/8250_pci.c b/drivers/tty/serial/8250/8250_pci.c
> index 3b0cc3a..47b3dac 100644
> --- a/drivers/tty/serial/8250/8250_pci.c
> +++ b/drivers/tty/serial/8250/8250_pci.c
> @@ -1912,6 +1912,17 @@ static struct pci_serial_quirk pci_serial_quirks[] __refdata = {
>  		.setup		= pci_siig_setup,
>  	},
>  	/*
> +	 * SUNIX
> +	 */
> +	{
> +		.vendor		= PCI_VENDOR_ID_SUNIX,
> +		.device		= PCI_DEVICE_ID_SUNIX_1999,
> +		.subvendor	= PCI_VENDOR_ID_SUNIX,
> +		.subdevice	= PCI_ANY_ID,
> +		.init		= pci_timedia_init,
> +		.setup		= pci_timedia_setup,
> +	},
> +	/*
>  	 * Titan cards
>  	 */
>  	{
> @@ -4180,6 +4191,13 @@ static struct pci_device_id serial_pci_tbl[] = {
>  		pbn_b0_bt_1_921600 },
>  
>  	/*
> +	 * SUNIX
> +	 */
> +	{	PCI_VENDOR_ID_SUNIX, PCI_DEVICE_ID_SUNIX_1999,
> +		PCI_VENDOR_ID_SUNIX, PCI_ANY_ID, 0, 0,
> +		pbn_b0_bt_1_921600 },
> +
> +	/*
>  	 * AFAVLAB serial card, from Harald Welte <laforge@gnumonks.org>
>  	 */
>  	{	PCI_VENDOR_ID_AFAVLAB, PCI_DEVICE_ID_AFAVLAB_P028,
> diff --git a/include/linux/pci_ids.h b/include/linux/pci_ids.h
> index 19e8d7a..473b0eb 100644
> --- a/include/linux/pci_ids.h
> +++ b/include/linux/pci_ids.h
> @@ -2466,6 +2466,9 @@
>  #define PCI_DEVICE_ID_TEHUTI_3010	0x3010
>  #define PCI_DEVICE_ID_TEHUTI_3014	0x3014
>  
> +#define PCI_VENDOR_ID_SUNIX		0x1fd4
> +#define PCI_DEVICE_ID_SUNIX_1999	0x1999

Please read the top of this file about how you shouldn't be adding new
devices to it that are only referenced in one kernel file.

Please fix this up and resend.

thanks,

greg k-h

           reply	other threads:[~2013-01-25 16:15 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <201301230959.UAA11978@hawk.udefsyd>]

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=20130125161535.GA9970@kroah.com \
    --to=gregkh@linuxfoundation.org \
    --cc=alan@linux.intel.com \
    --cc=jslaby@suse.cz \
    --cc=linux-serial@vger.kernel.org \
    --cc=schivers@csc.com \
    --cc=schivers@shrike2a.aust.csc.con \
    /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.