patch-2.3.49 linux/drivers/net/3c505.c
Next file: linux/drivers/net/3c515.c
Previous file: linux/drivers/macintosh/via-pmu68k.c
Back to the patch index
Back to the overall index
- Lines: 15
- Date:
Mon Feb 28 07:16:54 2000
- Orig file:
v2.3.48/linux/drivers/net/3c505.c
- Orig date:
Sat Feb 26 22:31:46 2000
diff -u --recursive --new-file v2.3.48/linux/drivers/net/3c505.c linux/drivers/net/3c505.c
@@ -1242,12 +1242,12 @@
adapter->got[CMD_CONFIGURE_82586] = 0;
if (!send_pcb(dev, &adapter->tx_pcb))
{
- spin_unlock_irqrestore(&lp->lock, flags);
+ spin_unlock_irqrestore(&adapter->lock, flags);
printk("%s: couldn't send 82586 configure command\n", dev->name);
}
else {
int timeout = jiffies + TIMEOUT;
- spin_unlock_irqrestore(&lp->lock, flags);
+ spin_unlock_irqrestore(&adapter->lock, flags);
while (adapter->got[CMD_CONFIGURE_82586] == 0 && time_before(jiffies, timeout));
if (time_after_eq(jiffies, timeout))
TIMEOUT_MSG(__LINE__);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)