lib8390.c (c13aca79ff3c4af5fd31a5b2743a90eba6e36a26) lib8390.c (0290bd291cc0e0488e35e66bf39efcd7d9d9122b)
1/* 8390.c: A general NS8390 ethernet driver core for linux. */
2/*
3 Written 1992-94 by Donald Becker.
4
5 Copyright 1993 United States Government as represented by the
6 Director, National Security Agency.
7
8 This software may be used and distributed according to the terms

--- 237 unchanged lines hidden (view full) ---

246/**
247 * ei_tx_timeout - handle transmit time out condition
248 * @dev: network device which has apparently fallen asleep
249 *
250 * Called by kernel when device never acknowledges a transmit has
251 * completed (or failed) - i.e. never posted a Tx related interrupt.
252 */
253
1/* 8390.c: A general NS8390 ethernet driver core for linux. */
2/*
3 Written 1992-94 by Donald Becker.
4
5 Copyright 1993 United States Government as represented by the
6 Director, National Security Agency.
7
8 This software may be used and distributed according to the terms

--- 237 unchanged lines hidden (view full) ---

246/**
247 * ei_tx_timeout - handle transmit time out condition
248 * @dev: network device which has apparently fallen asleep
249 *
250 * Called by kernel when device never acknowledges a transmit has
251 * completed (or failed) - i.e. never posted a Tx related interrupt.
252 */
253
254static void __ei_tx_timeout(struct net_device *dev)
254static void __ei_tx_timeout(struct net_device *dev, unsigned int txqueue)
255{
256 unsigned long e8390_base = dev->base_addr;
257 struct ei_device *ei_local = netdev_priv(dev);
258 int txsr, isr, tickssofar = jiffies - dev_trans_start(dev);
259 unsigned long flags;
260
261 dev->stats.tx_errors++;
262

--- 824 unchanged lines hidden ---
255{
256 unsigned long e8390_base = dev->base_addr;
257 struct ei_device *ei_local = netdev_priv(dev);
258 int txsr, isr, tickssofar = jiffies - dev_trans_start(dev);
259 unsigned long flags;
260
261 dev->stats.tx_errors++;
262

--- 824 unchanged lines hidden ---