| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * rionet - Ethernet driver over RapidIO messaging services |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * Copyright 2005 MontaVista Software, Inc. |
|---|
| 5 | 6 | * Matt Porter <mporter@kernel.crashing.org> |
|---|
| 6 | | - * |
|---|
| 7 | | - * This program is free software; you can redistribute it and/or modify it |
|---|
| 8 | | - * under the terms of the GNU General Public License as published by the |
|---|
| 9 | | - * Free Software Foundation; either version 2 of the License, or (at your |
|---|
| 10 | | - * option) any later version. |
|---|
| 11 | 7 | */ |
|---|
| 12 | 8 | |
|---|
| 13 | 9 | #include <linux/module.h> |
|---|
| .. | .. |
|---|
| 170 | 166 | return 0; |
|---|
| 171 | 167 | } |
|---|
| 172 | 168 | |
|---|
| 173 | | -static int rionet_start_xmit(struct sk_buff *skb, struct net_device *ndev) |
|---|
| 169 | +static netdev_tx_t rionet_start_xmit(struct sk_buff *skb, |
|---|
| 170 | + struct net_device *ndev) |
|---|
| 174 | 171 | { |
|---|
| 175 | 172 | int i; |
|---|
| 176 | 173 | struct rionet_private *rnet = netdev_priv(ndev); |
|---|