emac.c (c9f289701540baeef9ac7c9977d67a7259f404db) | emac.c (3e1853e4e1137ba0a4d314521d153852dbf4aff5) |
---|---|
1// SPDX-License-Identifier: GPL-2.0-only 2/* Copyright (c) 2013-2016, The Linux Foundation. All rights reserved. 3 */ 4 5/* Qualcomm Technologies, Inc. EMAC Gigabit Ethernet Driver */ 6 7#include <linux/if_ether.h> 8#include <linux/if_vlan.h> --- 101 unchanged lines hidden (view full) --- 110 irq->mask |= rx_q->intr; 111 writel(irq->mask, adpt->base + EMAC_INT_MASK); 112 } 113 114 return work_done; 115} 116 117/* Transmit the packet */ | 1// SPDX-License-Identifier: GPL-2.0-only 2/* Copyright (c) 2013-2016, The Linux Foundation. All rights reserved. 3 */ 4 5/* Qualcomm Technologies, Inc. EMAC Gigabit Ethernet Driver */ 6 7#include <linux/if_ether.h> 8#include <linux/if_vlan.h> --- 101 unchanged lines hidden (view full) --- 110 irq->mask |= rx_q->intr; 111 writel(irq->mask, adpt->base + EMAC_INT_MASK); 112 } 113 114 return work_done; 115} 116 117/* Transmit the packet */ |
118static int emac_start_xmit(struct sk_buff *skb, struct net_device *netdev) | 118static netdev_tx_t emac_start_xmit(struct sk_buff *skb, 119 struct net_device *netdev) |
119{ 120 struct emac_adapter *adpt = netdev_priv(netdev); 121 122 return emac_mac_tx_buf_send(adpt, &adpt->tx_q, skb); 123} 124 125static irqreturn_t emac_isr(int _irq, void *data) 126{ --- 636 unchanged lines hidden --- | 120{ 121 struct emac_adapter *adpt = netdev_priv(netdev); 122 123 return emac_mac_tx_buf_send(adpt, &adpt->tx_q, skb); 124} 125 126static irqreturn_t emac_isr(int _irq, void *data) 127{ --- 636 unchanged lines hidden --- |