Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 300536
b: refs/heads/master
c: 05d334e
h: refs/heads/master
v: v3
  • Loading branch information
Francois Romieu committed Apr 7, 2012
1 parent b0ddd15 commit cf878a9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 93f7fab433606a0ee6153788213de2a822736322
refs/heads/master: 05d334eca9994680a6cb8fba3f19955356ccf72a
12 changes: 6 additions & 6 deletions trunk/drivers/net/ethernet/via/via-rhine.c
Original file line number Diff line number Diff line change
Expand Up @@ -687,9 +687,12 @@ static void __devinit rhine_reload_eeprom(long pioaddr, struct net_device *dev)
#ifdef CONFIG_NET_POLL_CONTROLLER
static void rhine_poll(struct net_device *dev)
{
disable_irq(dev->irq);
rhine_interrupt(dev->irq, (void *)dev);
enable_irq(dev->irq);
struct rhine_private *rp = netdev_priv(dev);
const int irq = rp->pdev->irq;

disable_irq(irq);
rhine_interrupt(irq, dev);
enable_irq(irq);
}
#endif

Expand Down Expand Up @@ -970,7 +973,6 @@ static int __devinit rhine_init_one(struct pci_dev *pdev,
}
#endif /* USE_MMIO */

dev->base_addr = (unsigned long)ioaddr;
rp->base = ioaddr;

/* Get chip registers into a sane state */
Expand All @@ -993,8 +995,6 @@ static int __devinit rhine_init_one(struct pci_dev *pdev,
if (!phy_id)
phy_id = ioread8(ioaddr + 0x6C);

dev->irq = pdev->irq;

spin_lock_init(&rp->lock);
mutex_init(&rp->task_lock);
INIT_WORK(&rp->reset_task, rhine_reset_task);
Expand Down

0 comments on commit cf878a9

Please sign in to comment.