Skip to content

Commit c9f7fcb

Browse files
committed
ODROIDXU3: net/usb/ax88179: Hack to set default features
This patch set the network feature bits for TSO (TCPv4) and SG (Scatter/gatter IO) by default. Change-Id: I14e74dd28b4399ec944642c7f93da564cefa51cc Signed-off-by: Dongjin Kim <tobetter@gmail.com>
1 parent 2b15c55 commit c9f7fcb

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

drivers/net/usb/ax88179_178a.c

+5
Original file line numberDiff line numberDiff line change
@@ -1925,6 +1925,11 @@ static int ax88179_reset(struct usbnet *dev)
19251925
dev->net->features |= NETIF_F_SG | NETIF_F_TSO;
19261926
#endif
19271927

1928+
#if defined(CONFIG_MACH_ODROIDXU3)
1929+
/* Hack to set such features by default on driver is loaded */
1930+
dev->net->features |= NETIF_F_SG | NETIF_F_TSO;
1931+
#endif
1932+
19281933
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 39)
19291934
dev->net->hw_features |= NETIF_F_IP_CSUM;
19301935
dev->net->hw_features |= NETIF_F_IPV6_CSUM;

0 commit comments

Comments
 (0)