linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] * Add support for Philips (or NXP) PTA01 Wireless Adapter
@ 2015-02-07 10:46 Leon Nardella
  2015-02-07 17:16 ` Larry Finger
  0 siblings, 1 reply; 3+ messages in thread
From: Leon Nardella @ 2015-02-07 10:46 UTC (permalink / raw)
  To: linux-wireless; +Cc: ath9k-devel, ath9k-devel, kvalo, Leon Nardella

Signed-off-by: Leon Nardella <leon.nardella@gmail.com>
---
 drivers/net/wireless/ath/ath9k/hif_usb.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/net/wireless/ath/ath9k/hif_usb.c b/drivers/net/wireless/ath/ath9k/hif_usb.c
index 8e7153b..10c02f5 100644
--- a/drivers/net/wireless/ath/ath9k/hif_usb.c
+++ b/drivers/net/wireless/ath/ath9k/hif_usb.c
@@ -40,6 +40,7 @@ static struct usb_device_id ath9k_hif_usb_ids[] = {
 	{ USB_DEVICE(0x0cf3, 0xb003) }, /* Ubiquiti WifiStation Ext */
 	{ USB_DEVICE(0x0cf3, 0xb002) }, /* Ubiquiti WifiStation */
 	{ USB_DEVICE(0x057c, 0x8403) }, /* AVM FRITZ!WLAN 11N v2 USB */
+	{ USB_DEVICE(0x0471, 0x209e) }, /* Philips (or NXP) PTA01 */
 
 	{ USB_DEVICE(0x0cf3, 0x7015),
 	  .driver_info = AR9287_USB },  /* Atheros */
-- 
2.1.0


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

* Re: [PATCH] * Add support for Philips (or NXP) PTA01 Wireless Adapter
  2015-02-07 10:46 [PATCH] * Add support for Philips (or NXP) PTA01 Wireless Adapter Leon Nardella
@ 2015-02-07 17:16 ` Larry Finger
  2015-02-07 19:08   ` Leon Nardella
  0 siblings, 1 reply; 3+ messages in thread
From: Larry Finger @ 2015-02-07 17:16 UTC (permalink / raw)
  To: Leon Nardella, linux-wireless; +Cc: ath9k-devel, ath9k-devel, kvalo

On 02/07/2015 04:46 AM, Leon Nardella wrote:
> Signed-off-by: Leon Nardella <leon.nardella@gmail.com>
> ---
>   drivers/net/wireless/ath/ath9k/hif_usb.c | 1 +
>   1 file changed, 1 insertion(+)
>
> diff --git a/drivers/net/wireless/ath/ath9k/hif_usb.c b/drivers/net/wireless/ath/ath9k/hif_usb.c
> index 8e7153b..10c02f5 100644
> --- a/drivers/net/wireless/ath/ath9k/hif_usb.c
> +++ b/drivers/net/wireless/ath/ath9k/hif_usb.c
> @@ -40,6 +40,7 @@ static struct usb_device_id ath9k_hif_usb_ids[] = {
>   	{ USB_DEVICE(0x0cf3, 0xb003) }, /* Ubiquiti WifiStation Ext */
>   	{ USB_DEVICE(0x0cf3, 0xb002) }, /* Ubiquiti WifiStation */
>   	{ USB_DEVICE(0x057c, 0x8403) }, /* AVM FRITZ!WLAN 11N v2 USB */
> +	{ USB_DEVICE(0x0471, 0x209e) }, /* Philips (or NXP) PTA01 */
>
>   	{ USB_DEVICE(0x0cf3, 0x7015),
>   	  .driver_info = AR9287_USB },  /* Atheros */

Leon,

Your patch is correct, but your subject and commit message needs a little work.

When I add a new USB ID for a driver, my subject usually includes the driver 
name followed by a colon, and the "Add new USB ID". In your case, that would be 
"[PATCH] ath9k_htc: Add new USB ID". Then in the commit message I include the 
make and model of the device, and some indication of why that device ID should 
be added. For example, was that ID found in a Windows driver? Finally, indicate 
that the patch has been tested. Such a statement should not be necessary, but 
recently there have been a number of patches submitted that have not been tested 
on real hardware.

Larry



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

* Re: [PATCH] * Add support for Philips (or NXP) PTA01 Wireless Adapter
  2015-02-07 17:16 ` Larry Finger
@ 2015-02-07 19:08   ` Leon Nardella
  0 siblings, 0 replies; 3+ messages in thread
From: Leon Nardella @ 2015-02-07 19:08 UTC (permalink / raw)
  To: Larry Finger; +Cc: linux-wireless, ath9k-devel, ath9k-devel, kvalo

Larry,


Thank for your remarks! I'll submit it again!



Att,

Leon Nardella

On Sat, Feb 7, 2015 at 3:16 PM, Larry Finger <Larry.Finger@lwfinger.net> wrote:
> On 02/07/2015 04:46 AM, Leon Nardella wrote:
>>
>> Signed-off-by: Leon Nardella <leon.nardella@gmail.com>
>> ---
>>   drivers/net/wireless/ath/ath9k/hif_usb.c | 1 +
>>   1 file changed, 1 insertion(+)
>>
>> diff --git a/drivers/net/wireless/ath/ath9k/hif_usb.c
>> b/drivers/net/wireless/ath/ath9k/hif_usb.c
>> index 8e7153b..10c02f5 100644
>> --- a/drivers/net/wireless/ath/ath9k/hif_usb.c
>> +++ b/drivers/net/wireless/ath/ath9k/hif_usb.c
>> @@ -40,6 +40,7 @@ static struct usb_device_id ath9k_hif_usb_ids[] = {
>>         { USB_DEVICE(0x0cf3, 0xb003) }, /* Ubiquiti WifiStation Ext */
>>         { USB_DEVICE(0x0cf3, 0xb002) }, /* Ubiquiti WifiStation */
>>         { USB_DEVICE(0x057c, 0x8403) }, /* AVM FRITZ!WLAN 11N v2 USB */
>> +       { USB_DEVICE(0x0471, 0x209e) }, /* Philips (or NXP) PTA01 */
>>
>>         { USB_DEVICE(0x0cf3, 0x7015),
>>           .driver_info = AR9287_USB },  /* Atheros */
>
>
> Leon,
>
> Your patch is correct, but your subject and commit message needs a little
> work.
>
> When I add a new USB ID for a driver, my subject usually includes the driver
> name followed by a colon, and the "Add new USB ID". In your case, that would
> be "[PATCH] ath9k_htc: Add new USB ID". Then in the commit message I include
> the make and model of the device, and some indication of why that device ID
> should be added. For example, was that ID found in a Windows driver?
> Finally, indicate that the patch has been tested. Such a statement should
> not be necessary, but recently there have been a number of patches submitted
> that have not been tested on real hardware.
>
> Larry
>
>

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

end of thread, other threads:[~2015-02-07 19:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-07 10:46 [PATCH] * Add support for Philips (or NXP) PTA01 Wireless Adapter Leon Nardella
2015-02-07 17:16 ` Larry Finger
2015-02-07 19:08   ` Leon Nardella

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