linux-serial.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] add support for Kouwell KW-L221N-2
@ 2010-10-03 17:23 Mikulas Patocka
  2010-10-26 18:20 ` Mikulas Patocka
  0 siblings, 1 reply; 2+ messages in thread
From: Mikulas Patocka @ 2010-10-03 17:23 UTC (permalink / raw)
  To: linux-serial

Add support for Kouwell KW-L221N-2 card.

The card was supported with the generic rule that got number of ports and 
UART clock speed wrong.

Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>

---
 drivers/serial/8250_pci.c |    3 +++
 1 file changed, 3 insertions(+)

Index: linux-2.6.36-rc6-fast/drivers/serial/8250_pci.c
===================================================================
--- linux-2.6.36-rc6-fast.orig/drivers/serial/8250_pci.c	2010-10-03 16:49:20.000000000 +0200
+++ linux-2.6.36-rc6-fast/drivers/serial/8250_pci.c	2010-10-03 19:11:52.000000000 +0200
@@ -2863,6 +2863,9 @@ static struct pci_device_id serial_pci_t
 		PCI_SUBVENDOR_ID_SIIG, PCI_SUBDEVICE_ID_SIIG_QUARTET_SERIAL,
 		0, 0,
 		pbn_b0_4_1152000 },
+	{	PCI_VENDOR_ID_OXSEMI, 0x9505,
+		PCI_ANY_ID, PCI_ANY_ID, 0, 0,
+		pbn_b0_2_921600 },
 
 		/*
 		 * The below card is a little controversial since it is the

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] add support for Kouwell KW-L221N-2
  2010-10-03 17:23 [PATCH] add support for Kouwell KW-L221N-2 Mikulas Patocka
@ 2010-10-26 18:20 ` Mikulas Patocka
  0 siblings, 0 replies; 2+ messages in thread
From: Mikulas Patocka @ 2010-10-26 18:20 UTC (permalink / raw)
  To: linux-serial



On Sun, 3 Oct 2010, Mikulas Patocka wrote:

> Add support for Kouwell KW-L221N-2 card.
> 
> The card was supported with the generic rule that got number of ports and 
> UART clock speed wrong.
> 
> Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
> 
> ---
>  drivers/serial/8250_pci.c |    3 +++
>  1 file changed, 3 insertions(+)
> 
> Index: linux-2.6.36-rc6-fast/drivers/serial/8250_pci.c
> ===================================================================
> --- linux-2.6.36-rc6-fast.orig/drivers/serial/8250_pci.c	2010-10-03 16:49:20.000000000 +0200
> +++ linux-2.6.36-rc6-fast/drivers/serial/8250_pci.c	2010-10-03 19:11:52.000000000 +0200
> @@ -2863,6 +2863,9 @@ static struct pci_device_id serial_pci_t
>  		PCI_SUBVENDOR_ID_SIIG, PCI_SUBDEVICE_ID_SIIG_QUARTET_SERIAL,
>  		0, 0,
>  		pbn_b0_4_1152000 },
> +	{	PCI_VENDOR_ID_OXSEMI, 0x9505,
> +		PCI_ANY_ID, PCI_ANY_ID, 0, 0,
> +		pbn_b0_2_921600 },
>  
>  		/*
>  		 * The below card is a little controversial since it is the
> 

The patch was wrong. This is correct (so that the second port works too):

Mikulas

---

Add support for Kouwell KW-L221N-2 card.

Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>

---
 drivers/serial/8250_pci.c |    3 +++
 1 file changed, 3 insertions(+)

Index: linux-2.6.36-fast/drivers/serial/8250_pci.c
===================================================================
--- linux-2.6.36-fast.orig/drivers/serial/8250_pci.c	2010-10-26 19:57:55.000000000 +0200
+++ linux-2.6.36-fast/drivers/serial/8250_pci.c	2010-10-26 20:08:34.000000000 +0200
@@ -2863,6 +2863,9 @@ static struct pci_device_id serial_pci_t
 		PCI_SUBVENDOR_ID_SIIG, PCI_SUBDEVICE_ID_SIIG_QUARTET_SERIAL,
 		0, 0,
 		pbn_b0_4_1152000 },
+	{	PCI_VENDOR_ID_OXSEMI, 0x9505,
+		PCI_ANY_ID, PCI_ANY_ID, 0, 0,
+		pbn_b0_bt_2_921600 },
 
 		/*
 		 * The below card is a little controversial since it is the

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-10-26 18:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-03 17:23 [PATCH] add support for Kouwell KW-L221N-2 Mikulas Patocka
2010-10-26 18:20 ` Mikulas Patocka

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).