Skip to content

Commit

Permalink
Merge branch 'for-jeff' of git://electric-eye.fr.zoreil.com/home/romi…
Browse files Browse the repository at this point in the history
…eu/linux-2.6
  • Loading branch information
Jeff Garzik committed Nov 18, 2005
2 parents e525424 + e53091f commit 9724212
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions drivers/net/r8169.c
Original file line number Diff line number Diff line change
Expand Up @@ -1346,10 +1346,8 @@ rtl8169_init_board(struct pci_dev *pdev, struct net_device **dev_out,
} else {
if (netif_msg_probe(tp)) {
printk(KERN_ERR PFX
"Cannot find PowerManagement capability. "
"Aborting.\n");
"PowerManagement capability not found.\n");
}
goto err_out_mwi;
}

/* make sure PCI base addr 1 is MMIO */
Expand Down Expand Up @@ -2516,7 +2514,7 @@ rtl8169_interrupt(int irq, void *dev_instance, struct pt_regs *regs)
} while (boguscnt > 0);

if (boguscnt <= 0) {
if (net_ratelimit() && netif_msg_intr(tp)) {
if (netif_msg_intr(tp) && net_ratelimit() ) {
printk(KERN_WARNING
"%s: Too much work at interrupt!\n", dev->name);
}
Expand Down

0 comments on commit 9724212

Please sign in to comment.