5e120e490c
Touchscreen and usb networking works. Much of the hardware is the same as on gts210velte (but that one has a qcom soc and not exynos5433). Exactly the same touchscreen calibrarion as for gts210velte works for this device as well. Also include firmware package with wifi files. Unlike on many other Samsung devices wifi does not work out of the box after these firmware files has been added. [ci:skip-build] Already built on CI in MR
17 lines
790 B
Diff
17 lines
790 B
Diff
For some reason, CONFIG_USB_ANDROID_SAMSUNG_COMPOSITE disables the code in u_ether
|
|
that assigns a random MAC address to the USB network interface. This patch simply
|
|
disables it to fall back to the original code that works correctly.
|
|
|
|
diff --git a/drivers/usb/gadget/u_ether.c b/drivers/usb/gadget/u_ether.c
|
|
index 61d98db8bd63..105feffa4686 100644
|
|
--- a/drivers/usb/gadget/u_ether.c
|
|
+++ b/drivers/usb/gadget/u_ether.c
|
|
@@ -1148,7 +1148,7 @@ struct eth_dev *gether_setup_name(struct usb_gadget *g, u8 ethaddr[ETH_ALEN],
|
|
if (get_ether_addr(dev_addr, net->dev_addr))
|
|
dev_warn(&g->dev,
|
|
"using random %s ethernet address\n", "self");
|
|
-#ifdef CONFIG_USB_ANDROID_SAMSUNG_COMPOSITE
|
|
+#if 0
|
|
memcpy(dev->host_mac, ethaddr, ETH_ALEN);
|
|
printk(KERN_DEBUG "usb: set unique host mac\n");
|
|
#else
|