diff mbox

r8152 add Microsoft Dock IDs

Message ID 04D87F8E-0A8C-4DEC-AE66-35D9B6B0E7B7@exactcode.com
State Accepted, archived
Delegated to: David Miller
Headers show

Commit Message

René Rebe Jan. 13, 2016, 8:03 p.m. UTC
Hi David,

On Jan 13, 2016, at 20:51, David Miller <davem@davemloft.net> wrote:

> Your patch was corrupted by your email client.

Ieek, guess that’s what I get from not using Mew on my Ultra5 anymore :-/
Crossing fingers it works this time, ...

The Microsoft Surface Docks uses a R8152, too.

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

Comments

David Miller Jan. 13, 2016, 8:49 p.m. UTC | #1
From: René Rebe <rene@exactcode.com>

Date: Wed, 13 Jan 2016 21:03:30 +0100

> Hi David,

> 

> On Jan 13, 2016, at 20:51, David Miller <davem@davemloft.net> wrote:

> 

>> Your patch was corrupted by your email client.

> 

> Ieek, guess that’s what I get from not using Mew on my Ultra5 anymore :-/

> Crossing fingers it works this time, ...

> 

> The Microsoft Surface Docks uses a R8152, too.

> 

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


Sorry, this does not apply to my net tree at all.
diff mbox

Patch

--- linux-3.19/drivers/net/usb/r8152.c.orig	2015-02-09 02:54:22.000000000 +0000
+++ linux-3.19/drivers/net/usb/r8152.c	2015-02-15 15:52:52.924000000 +0000
@@ -462,6 +462,7 @@ 
 
 /* Define these values to match your device */
 #define VENDOR_ID_REALTEK		0x0bda
+#define VENDOR_ID_MICROSOFT		0x045e
 #define VENDOR_ID_SAMSUNG		0x04e8
 
 #define MCU_TYPE_PLA			0x0100
@@ -3932,6 +3933,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)},
 	{}
 };