All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] r8152 add Microsoft Dock IDs
@ 2016-01-13 17:06 René Rebe
  2016-01-13 19:51 ` David Miller
  0 siblings, 1 reply; 13+ messages in thread
From: René Rebe @ 2016-01-13 17:06 UTC (permalink / raw)
  To: netdev; +Cc: nic_swsd

Hi there,

The Microsoft Surface Docks uses a R8152, too.

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

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

^ permalink raw reply	[flat|nested] 13+ messages in thread
* [PATCH] r8152 add Microsoft Dock IDs
@ 2016-01-14 17:46 Rene Rebe
  2016-01-14 18:16 ` Andrew Lunn
  0 siblings, 1 reply; 13+ messages in thread
From: Rene Rebe @ 2016-01-14 17:46 UTC (permalink / raw)
  To: netdev; +Cc: davem

Hi David,
(my appologies for wasting your time with this noise)

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] 13+ messages in thread

end of thread, other threads:[~2017-04-01 19:20 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-01-13 17:06 [PATCH] r8152 add Microsoft Dock IDs René Rebe
2016-01-13 19:51 ` David Miller
2016-01-13 20:03   ` René Rebe
2016-01-13 20:49     ` David Miller
2017-03-28  4:42       ` [PATCH] r8152: The Microsoft Surface docks also use R8152 Rene Rebe
2017-03-30 17:06         ` Dan Williams
2017-03-28  5:56           ` [PATCH] r8152: The Microsoft Surface docks also use R8152 v2 Rene Rebe
2017-04-01 19:20             ` David Miller
2017-03-30 17:47           ` [PATCH] r8152: The Microsoft Surface docks also use R8152 René Rebe
2017-03-30 18:12             ` Dan Williams
2017-03-28  6:00               ` Rene Rebe
2016-01-14 17:46 [PATCH] r8152 add Microsoft Dock IDs Rene Rebe
2016-01-14 18:16 ` Andrew Lunn

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.