Re: [PATCH] r8152 add Microsoft Dock IDs
From: René Rebe <hidden>
Date: 2016-01-13 20:03:44
Hi David, On Jan 13, 2016, at 20:51, David Miller [off-list ref] 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 <redacted>
--- 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)}, {} };
--
ExactCODE GmbH, Lietzenburger Str. 42, DE-10789 Berlin
http://exactcode.com | http://exactscan.com | http://ocrkit.com | http://t2-project.org | http://rene.rebe.de