Commit 8441b756 authored by Linus Torvalds's avatar Linus Torvalds

Merge bk://gkernel.bkbits.net/net-drivers-2.6

into ppc970.osdl.org:/home/torvalds/v2.6/linux
parents 3d4fc662 6ccc0686
...@@ -1630,6 +1630,7 @@ static void e100_netpoll(struct net_device *netdev) ...@@ -1630,6 +1630,7 @@ static void e100_netpoll(struct net_device *netdev)
struct nic *nic = netdev_priv(netdev); struct nic *nic = netdev_priv(netdev);
e100_disable_irq(nic); e100_disable_irq(nic);
e100_intr(nic->pdev->irq, netdev, NULL); e100_intr(nic->pdev->irq, netdev, NULL);
e100_tx_clean(nic);
e100_enable_irq(nic); e100_enable_irq(nic);
} }
#endif #endif
......
...@@ -1190,8 +1190,8 @@ irqreturn_t gfar_receive(int irq, void *dev_id, struct pt_regs *regs) ...@@ -1190,8 +1190,8 @@ irqreturn_t gfar_receive(int irq, void *dev_id, struct pt_regs *regs)
} else { } else {
#ifdef VERBOSE_GFAR_ERRORS #ifdef VERBOSE_GFAR_ERRORS
printk(KERN_DEBUG "%s: receive called twice (%x)[%x]\n", printk(KERN_DEBUG "%s: receive called twice (%x)[%x]\n",
dev->name, gfar_read(priv->regs->ievent), dev->name, gfar_read(&priv->regs->ievent),
gfar_read(priv->regs->imask)); gfar_read(&priv->regs->imask));
#endif #endif
} }
#else #else
...@@ -1415,7 +1415,7 @@ static irqreturn_t gfar_interrupt(int irq, void *dev_id, struct pt_regs *regs) ...@@ -1415,7 +1415,7 @@ static irqreturn_t gfar_interrupt(int irq, void *dev_id, struct pt_regs *regs)
#ifdef VERBOSE_GFAR_ERRORS #ifdef VERBOSE_GFAR_ERRORS
printk(KERN_DEBUG "%s: busy error (rhalt: %x)\n", dev->name, printk(KERN_DEBUG "%s: busy error (rhalt: %x)\n", dev->name,
gfar_read(priv->regs->rstat)); gfar_read(&priv->regs->rstat));
#endif #endif
} }
if (events & IEVENT_BABR) { if (events & IEVENT_BABR) {
...@@ -1793,7 +1793,7 @@ static irqreturn_t gfar_error(int irq, void *dev_id, struct pt_regs *regs) ...@@ -1793,7 +1793,7 @@ static irqreturn_t gfar_error(int irq, void *dev_id, struct pt_regs *regs)
#ifdef VERBOSE_GFAR_ERRORS #ifdef VERBOSE_GFAR_ERRORS
printk(KERN_DEBUG "%s: busy error (rhalt: %x)\n", dev->name, printk(KERN_DEBUG "%s: busy error (rhalt: %x)\n", dev->name,
gfar_read(priv->regs->rstat)); gfar_read(&priv->regs->rstat));
#endif #endif
} }
if (events & IEVENT_BABR) { if (events & IEVENT_BABR) {
......
This diff is collapsed.
...@@ -1703,6 +1703,7 @@ static void __init de21040_get_mac_address (struct de_private *de) ...@@ -1703,6 +1703,7 @@ static void __init de21040_get_mac_address (struct de_private *de)
value = dr32(ROMCmd); value = dr32(ROMCmd);
while (value < 0 && --boguscnt > 0); while (value < 0 && --boguscnt > 0);
de->dev->dev_addr[i] = value; de->dev->dev_addr[i] = value;
udelay(1);
if (boguscnt <= 0) if (boguscnt <= 0)
printk(KERN_WARNING PFX "timeout reading 21040 MAC address byte %u\n", i); printk(KERN_WARNING PFX "timeout reading 21040 MAC address byte %u\n", i);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment