* Re: [PATCH] serial/8250: Add support for later SUNIX (TIMEDIA) boards.
[not found] <201301230959.UAA11978@hawk.udefsyd>
@ 2013-01-25 16:15 ` Greg KH
0 siblings, 0 replies; only message in thread
From: Greg KH @ 2013-01-25 16:15 UTC (permalink / raw)
To: Stephen Chivers; +Cc: alan, jslaby, linux-serial, schivers
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2013-01-25 16:15 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <201301230959.UAA11978@hawk.udefsyd>
2013-01-25 16:15 ` [PATCH] serial/8250: Add support for later SUNIX (TIMEDIA) boards Greg KH
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.