public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
* [PATH]
@ 2016-01-14 14:21 Rene Rebe
  2016-01-14 17:00 ` [PATH] Jiri Pirko
  0 siblings, 1 reply; 2+ messages in thread
From: Rene Rebe @ 2016-01-14 14:21 UTC (permalink / raw)
  To: netdev; +Cc: davem

Hi David,

rebased against your netdev git, and sent with Mew:

The Microsoft Surface Docks uses a R8152, too.

Signed-off-by: René Rebe <rene@exactcode.com>

--- linux-git/drivers/net/usb/r8152.c.orig	2016-01-14 15:17:54.786662456 +0100
+++ linux-git/drivers/net/usb/r8152.c	2016-01-14 15:17:21.050661823 +0100
@@ -504,6 +504,7 @@
 
 /* Define these values to match your device */
 #define VENDOR_ID_REALTEK		0x0bda
+#define VENDOR_ID_MICROSOFT		0x045e
 #define VENDOR_ID_SAMSUNG		0x04e8
 #define VENDOR_ID_LENOVO		0x17ef
 #define VENDOR_ID_NVIDIA		0x0955
@@ -4294,6 +4295,8 @@
 static struct usb_device_id rtl8152_table[] = {
 	{REALTEK_USB_DEVICE(VENDOR_ID_REALTEK, 0x8152)},
 	{REALTEK_USB_DEVICE(VENDOR_ID_REALTEK, 0x8153)},
+	{REALTEK_USB_DEVICE(VENDOR_ID_MICROSOFT, 0x07ab)},
+	{REALTEK_USB_DEVICE(VENDOR_ID_MICROSOFT, 0x07c6)},
 	{REALTEK_USB_DEVICE(VENDOR_ID_SAMSUNG, 0xa101)},
 	{REALTEK_USB_DEVICE(VENDOR_ID_LENOVO,  0x7205)},
 	{REALTEK_USB_DEVICE(VENDOR_ID_LENOVO,  0x304f)},


-- 
  René Rebe, ExactCODE GmbH, Lietzenburger Str. 42, DE-10117 Berlin
  http://exactcode.com | http://t2-project.org | http://rene.rebe.de

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

* Re: [PATH]
  2016-01-14 14:21 [PATH] Rene Rebe
@ 2016-01-14 17:00 ` Jiri Pirko
  0 siblings, 0 replies; 2+ messages in thread
From: Jiri Pirko @ 2016-01-14 17:00 UTC (permalink / raw)
  To: Rene Rebe; +Cc: netdev, davem

The subject is absolutelly wrong. Please do it properly.

Also, you can use "git format-patch" to create patch and "git
send-email" to send it. That makes your life a bit easier.

Also, please use "scripts/checkpatch.pl" to check you patch (that would
warn you about bad subject line) and "scripts/get_maintainer.pl" to find
out who to put on cc list.

Thanks.

Thu, Jan 14, 2016 at 03:21:06PM CET, rene@exactcode.com wrote:
>Hi David,
>
>rebased against your netdev git, and sent with Mew:
>
>The Microsoft Surface Docks uses a R8152, too.
>
>Signed-off-by: René Rebe <rene@exactcode.com>
>
>--- linux-git/drivers/net/usb/r8152.c.orig	2016-01-14 15:17:54.786662456 +0100
>+++ linux-git/drivers/net/usb/r8152.c	2016-01-14 15:17:21.050661823 +0100
>@@ -504,6 +504,7 @@
> 
> /* Define these values to match your device */
> #define VENDOR_ID_REALTEK		0x0bda
>+#define VENDOR_ID_MICROSOFT		0x045e
> #define VENDOR_ID_SAMSUNG		0x04e8
> #define VENDOR_ID_LENOVO		0x17ef
> #define VENDOR_ID_NVIDIA		0x0955
>@@ -4294,6 +4295,8 @@
> static struct usb_device_id rtl8152_table[] = {
> 	{REALTEK_USB_DEVICE(VENDOR_ID_REALTEK, 0x8152)},
> 	{REALTEK_USB_DEVICE(VENDOR_ID_REALTEK, 0x8153)},
>+	{REALTEK_USB_DEVICE(VENDOR_ID_MICROSOFT, 0x07ab)},
>+	{REALTEK_USB_DEVICE(VENDOR_ID_MICROSOFT, 0x07c6)},
> 	{REALTEK_USB_DEVICE(VENDOR_ID_SAMSUNG, 0xa101)},
> 	{REALTEK_USB_DEVICE(VENDOR_ID_LENOVO,  0x7205)},
> 	{REALTEK_USB_DEVICE(VENDOR_ID_LENOVO,  0x304f)},
>
>
>-- 
>  René Rebe, ExactCODE GmbH, Lietzenburger Str. 42, DE-10117 Berlin
>  http://exactcode.com | http://t2-project.org | http://rene.rebe.de

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

end of thread, other threads:[~2016-01-14 17:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-14 14:21 [PATH] Rene Rebe
2016-01-14 17:00 ` [PATH] Jiri Pirko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox