From: Olof Johansson <olof@lixom.net>
Date: Sat, 15 Sep 2007 20:51:11 +0000 (-0700)
Subject: pasemi_mac: Enable LLTX
X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=6fba848a9a4bbe03f61b22bf0e4063d7ed4c561a;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git

pasemi_mac: Enable LLTX

Enable LLTX on pasemi_mac: we're already doing sufficient locking
in the driver to enable it.

[ Resolved merge conflicts with napi_struct changes... -DaveM ]

Signed-off-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
---

diff --git a/drivers/net/pasemi_mac.c b/drivers/net/pasemi_mac.c
index 0bfdd79de6cf..916a76e28a87 100644
--- a/drivers/net/pasemi_mac.c
+++ b/drivers/net/pasemi_mac.c
@@ -1186,7 +1186,7 @@ pasemi_mac_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
 
 	netif_napi_add(dev, &mac->napi, pasemi_mac_poll, 64);
 
-	dev->features = NETIF_F_HW_CSUM;
+	dev->features = NETIF_F_HW_CSUM | NETIF_F_LLTX;
 
 	/* These should come out of the device tree eventually */
 	mac->dma_txch = index;