netdev: pass the stuck queue to the timeout handler
[openwrt/staging/blogic.git] / drivers / net / ethernet / i825xx / 82596.c
index 92929750f83250c53e8815aaec3a89ede1c3fdb0..bef676d93339e91d7285aac2d83bca22e01c7e26 100644 (file)
@@ -363,7 +363,7 @@ static netdev_tx_t i596_start_xmit(struct sk_buff *skb, struct net_device *dev);
 static irqreturn_t i596_interrupt(int irq, void *dev_id);
 static int i596_close(struct net_device *dev);
 static void i596_add_cmd(struct net_device *dev, struct i596_cmd *cmd);
-static void i596_tx_timeout (struct net_device *dev);
+static void i596_tx_timeout (struct net_device *dev, unsigned int txqueue);
 static void print_eth(unsigned char *buf, char *str);
 static void set_multicast_list(struct net_device *dev);
 
@@ -1019,7 +1019,7 @@ err_irq_dev:
        return res;
 }
 
-static void i596_tx_timeout (struct net_device *dev)
+static void i596_tx_timeout (struct net_device *dev, unsigned int txqueue)
 {
        struct i596_private *lp = dev->ml_priv;
        int ioaddr = dev->base_addr;