nfeth.c (3eb66e91a25497065c5322b1268cbc3953642227) | nfeth.c (0290bd291cc0e0488e35e66bf39efcd7d9d9122b) |
---|---|
1/* 2 * atari_nfeth.c - ARAnyM ethernet card driver for GNU/Linux 3 * 4 * Copyright (c) 2005 Milan Jurik, Petr Stehlik of ARAnyM dev team 5 * 6 * Based on ARAnyM driver for FreeMiNT written by Standa Opichal 7 * 8 * This software may be used and distributed according to the terms of --- 153 unchanged lines hidden (view full) --- 162 163 dev->stats.tx_packets++; 164 dev->stats.tx_bytes += len; 165 166 dev_kfree_skb(skb); 167 return 0; 168} 169 | 1/* 2 * atari_nfeth.c - ARAnyM ethernet card driver for GNU/Linux 3 * 4 * Copyright (c) 2005 Milan Jurik, Petr Stehlik of ARAnyM dev team 5 * 6 * Based on ARAnyM driver for FreeMiNT written by Standa Opichal 7 * 8 * This software may be used and distributed according to the terms of --- 153 unchanged lines hidden (view full) --- 162 163 dev->stats.tx_packets++; 164 dev->stats.tx_bytes += len; 165 166 dev_kfree_skb(skb); 167 return 0; 168} 169 |
170static void nfeth_tx_timeout(struct net_device *dev) | 170static void nfeth_tx_timeout(struct net_device *dev, unsigned int txqueue) |
171{ 172 dev->stats.tx_errors++; 173 netif_wake_queue(dev); 174} 175 176static const struct net_device_ops nfeth_netdev_ops = { 177 .ndo_open = nfeth_open, 178 .ndo_stop = nfeth_stop, --- 87 unchanged lines hidden --- | 171{ 172 dev->stats.tx_errors++; 173 netif_wake_queue(dev); 174} 175 176static const struct net_device_ops nfeth_netdev_ops = { 177 .ndo_open = nfeth_open, 178 .ndo_stop = nfeth_stop, --- 87 unchanged lines hidden --- |