Re: [PATCH] add support for Kouwell KW-L221N-2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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@xxxxxxxxxx>
> 
> ---
>  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@xxxxxxxxxx>

---
 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
--
To unsubscribe from this list: send the line "unsubscribe linux-serial" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux PPP]     [Linux FS]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Linmodem]     [Device Mapper]     [Linux Kernel for ARM]

  Powered by Linux