]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - drivers/net/ethernet/amd/lance.c
netdev: pass the stuck queue to the timeout handler
[linux.git] / drivers / net / ethernet / amd / lance.c
index f90b454b16429385b9acaee384036e14a3691400..aff44241988c40bf5648aab2f781e834398a1438 100644 (file)
@@ -306,7 +306,7 @@ static irqreturn_t lance_interrupt(int irq, void *dev_id);
 static int lance_close(struct net_device *dev);
 static struct net_device_stats *lance_get_stats(struct net_device *dev);
 static void set_multicast_list(struct net_device *dev);
-static void lance_tx_timeout (struct net_device *dev);
+static void lance_tx_timeout (struct net_device *dev, unsigned int txqueue);
 
 
 
@@ -913,7 +913,7 @@ lance_restart(struct net_device *dev, unsigned int csr0_bits, int must_reinit)
 }
 
 
-static void lance_tx_timeout (struct net_device *dev)
+static void lance_tx_timeout (struct net_device *dev, unsigned int txqueue)
 {
        struct lance_private *lp = (struct lance_private *) dev->ml_priv;
        int ioaddr = dev->base_addr;