| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
|---|
| 1 | 2 | /* Copyright (c) 2013-2016, The Linux Foundation. All rights reserved. |
|---|
| 2 | | - * |
|---|
| 3 | | - * This program is free software; you can redistribute it and/or modify |
|---|
| 4 | | - * it under the terms of the GNU General Public License version 2 and |
|---|
| 5 | | - * only version 2 as published by the Free Software Foundation. |
|---|
| 6 | | - * |
|---|
| 7 | | - * This program is distributed in the hope that it will be useful, |
|---|
| 8 | | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| 9 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|---|
| 10 | | - * GNU General Public License for more details. |
|---|
| 11 | 3 | */ |
|---|
| 12 | 4 | |
|---|
| 13 | 5 | /* EMAC DMA HW engine uses three rings: |
|---|
| .. | .. |
|---|
| 235 | 227 | void emac_mac_mode_config(struct emac_adapter *adpt); |
|---|
| 236 | 228 | void emac_mac_rx_process(struct emac_adapter *adpt, struct emac_rx_queue *rx_q, |
|---|
| 237 | 229 | int *num_pkts, int max_pkts); |
|---|
| 238 | | -int emac_mac_tx_buf_send(struct emac_adapter *adpt, struct emac_tx_queue *tx_q, |
|---|
| 239 | | - struct sk_buff *skb); |
|---|
| 230 | +netdev_tx_t emac_mac_tx_buf_send(struct emac_adapter *adpt, |
|---|
| 231 | + struct emac_tx_queue *tx_q, |
|---|
| 232 | + struct sk_buff *skb); |
|---|
| 240 | 233 | void emac_mac_tx_process(struct emac_adapter *adpt, struct emac_tx_queue *tx_q); |
|---|
| 241 | 234 | void emac_mac_rx_tx_ring_init_all(struct platform_device *pdev, |
|---|
| 242 | 235 | struct emac_adapter *adpt); |
|---|