linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] rtlwifi: ID for Belkin Surf N300 XR
@ 2012-04-08 16:00 Lorenzo Bianconi
  2012-04-08 16:46 ` Larry Finger
  0 siblings, 1 reply; 4+ messages in thread
From: Lorenzo Bianconi @ 2012-04-08 16:00 UTC (permalink / raw)
  To: John Linville; +Cc: linux-wireless, Larry Finger

Hi,

I added ID for Belkin Surf N300 XR wireless usb adapter to rtlwifi driver.

Regards

Lorenzo

Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi83@gmail.com>
---
--- a/drivers/net/wireless/rtlwifi/rtl8192cu/sw.c
+++ b/drivers/net/wireless/rtlwifi/rtl8192cu/sw.c
@@ -340,6 +340,7 @@
 	/****** 8192CU ********/
 	{RTL_USB_DEVICE(0x050d, 0x2102, rtl92cu_hal_cfg)}, /*Belcom-Sercomm*/
 	{RTL_USB_DEVICE(0x050d, 0x2103, rtl92cu_hal_cfg)}, /*Belcom-Edimax*/
+	{RTL_USB_DEVICE(0x050d, 0x1004, rtl92cu_hal_cfg)}, /*Belkin-SurfN300*/
 	{RTL_USB_DEVICE(0x0586, 0x341f, rtl92cu_hal_cfg)}, /*Zyxel -Abocom*/
 	{RTL_USB_DEVICE(0x07aa, 0x0056, rtl92cu_hal_cfg)}, /*ATKK-Gemtek*/
 	{RTL_USB_DEVICE(0x07b8, 0x8178, rtl92cu_hal_cfg)}, /*Funai -Abocom*/

-- 
UNIX is Sexy: who | grep -i blonde | talk; cd ~; wine; talk; touch;
unzip; touch; strip; gasp; finger; gasp; mount; fsck; more; yes; gasp;
umount; make clean; sleep

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

* Re: [PATCH] rtlwifi: ID for Belkin Surf N300 XR
  2012-04-08 16:00 [PATCH] rtlwifi: ID for Belkin Surf N300 XR Lorenzo Bianconi
@ 2012-04-08 16:46 ` Larry Finger
  2012-04-08 17:37   ` Lorenzo Bianconi
  0 siblings, 1 reply; 4+ messages in thread
From: Larry Finger @ 2012-04-08 16:46 UTC (permalink / raw)
  To: Lorenzo Bianconi; +Cc: John Linville, linux-wireless

On 04/08/2012 11:00 AM, Lorenzo Bianconi wrote:
> Hi,
>
> I added ID for Belkin Surf N300 XR wireless usb adapter to rtlwifi driver.
>
> Regards
>
> Lorenzo
>
> Signed-off-by: Lorenzo Bianconi<lorenzo.bianconi83@gmail.com>
> ---
> --- a/drivers/net/wireless/rtlwifi/rtl8192cu/sw.c
> +++ b/drivers/net/wireless/rtlwifi/rtl8192cu/sw.c
> @@ -340,6 +340,7 @@
>   	/****** 8192CU ********/
>   	{RTL_USB_DEVICE(0x050d, 0x2102, rtl92cu_hal_cfg)}, /*Belcom-Sercomm*/
>   	{RTL_USB_DEVICE(0x050d, 0x2103, rtl92cu_hal_cfg)}, /*Belcom-Edimax*/
> +	{RTL_USB_DEVICE(0x050d, 0x1004, rtl92cu_hal_cfg)}, /*Belkin-SurfN300*/
>   	{RTL_USB_DEVICE(0x0586, 0x341f, rtl92cu_hal_cfg)}, /*Zyxel -Abocom*/
>   	{RTL_USB_DEVICE(0x07aa, 0x0056, rtl92cu_hal_cfg)}, /*ATKK-Gemtek*/
>   	{RTL_USB_DEVICE(0x07b8, 0x8178, rtl92cu_hal_cfg)}, /*Funai -Abocom*/

Thanks for the patch, but I have some comments.

Anything you state above the first --- delimiter ends up in the permanent commit 
message in the kernel. I doubt that you wanted your little note to be in that 
category.

I try to keep the USB IDs sorted by device type, and in numerical order within a 
type. Are you sure your device is an 8192CU, and not an 8188CU? Belcom has used 
both. Is the one you have an F7D2101? Does 'lsusb' say anything about what chip 
is used?

Larry

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

* Re: [PATCH] rtlwifi: ID for Belkin Surf N300 XR
  2012-04-08 16:46 ` Larry Finger
@ 2012-04-08 17:37   ` Lorenzo Bianconi
  2012-04-08 17:52     ` Larry Finger
  0 siblings, 1 reply; 4+ messages in thread
From: Lorenzo Bianconi @ 2012-04-08 17:37 UTC (permalink / raw)
  To: Larry Finger; +Cc: linux-wireless, John Linville

> On 04/08/2012 11:00 AM, Lorenzo Bianconi wrote:
>>
>> Hi,
>>
>> I added ID for Belkin Surf N300 XR wireless usb adapter to rtlwifi driver.
>>
>> Regards
>>
>> Lorenzo
>>
>> Signed-off-by: Lorenzo Bianconi<lorenzo.bianconi83@gmail.com>
>> ---
>> --- a/drivers/net/wireless/rtlwifi/rtl8192cu/sw.c
>> +++ b/drivers/net/wireless/rtlwifi/rtl8192cu/sw.c
>> @@ -340,6 +340,7 @@
>>        /****** 8192CU ********/
>>        {RTL_USB_DEVICE(0x050d, 0x2102, rtl92cu_hal_cfg)},
>> /*Belcom-Sercomm*/
>>        {RTL_USB_DEVICE(0x050d, 0x2103, rtl92cu_hal_cfg)},
>> /*Belcom-Edimax*/
>> +       {RTL_USB_DEVICE(0x050d, 0x1004, rtl92cu_hal_cfg)},
>> /*Belkin-SurfN300*/
>>        {RTL_USB_DEVICE(0x0586, 0x341f, rtl92cu_hal_cfg)}, /*Zyxel
>> -Abocom*/
>>        {RTL_USB_DEVICE(0x07aa, 0x0056, rtl92cu_hal_cfg)}, /*ATKK-Gemtek*/
>>        {RTL_USB_DEVICE(0x07b8, 0x8178, rtl92cu_hal_cfg)}, /*Funai
>> -Abocom*/
>
>
> Thanks for the patch, but I have some comments.
>
> Anything you state above the first --- delimiter ends up in the permanent
> commit message in the kernel. I doubt that you wanted your little note to be
> in that category.
>
> I try to keep the USB IDs sorted by device type, and in numerical order
> within a type. Are you sure your device is an 8192CU, and not an 8188CU?
> Belcom has used both. Is the one you have an F7D2101? Does 'lsusb' say
> anything about what chip is used?
>
> Larry

My device is F9L1004az. lsusb reports just Vendor and Product ID. I
suppose the device is 8192CU because Windows driver is rtl8192cu.

I will rewrite the patch respecting the numerical order

Regards

Lorenzo

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

* Re: [PATCH] rtlwifi: ID for Belkin Surf N300 XR
  2012-04-08 17:37   ` Lorenzo Bianconi
@ 2012-04-08 17:52     ` Larry Finger
  0 siblings, 0 replies; 4+ messages in thread
From: Larry Finger @ 2012-04-08 17:52 UTC (permalink / raw)
  To: Lorenzo Bianconi; +Cc: linux-wireless, John Linville

On 04/08/2012 12:37 PM, Lorenzo Bianconi wrote:
>
> My device is F9L1004az. lsusb reports just Vendor and Product ID. I
> suppose the device is 8192CU because Windows driver is rtl8192cu.
>
> I will rewrite the patch respecting the numerical order

Driver rtl8192cu is used for both RTL8192CU and RTL8188CU; however, in the 
absence of any other info, putting the new device in the 8192CU table will be OK.

Thanks,

Larry


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

end of thread, other threads:[~2012-04-08 17:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-08 16:00 [PATCH] rtlwifi: ID for Belkin Surf N300 XR Lorenzo Bianconi
2012-04-08 16:46 ` Larry Finger
2012-04-08 17:37   ` Lorenzo Bianconi
2012-04-08 17:52     ` Larry Finger

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