Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 134627
b: refs/heads/master
c: 39754f4
h: refs/heads/master
i:
  134625: 472583e
  134623: 9616619
v: v3
  • Loading branch information
Dhananjay Phadke authored and David S. Miller committed Feb 18, 2009
1 parent 103871b commit 83fb2e4
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 9 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: d8313ce0f148e648d4e515db5d2c65bbd44fe29e
refs/heads/master: 39754f441055c861da403d4e9a67ed80f242a4b4
20 changes: 12 additions & 8 deletions trunk/drivers/net/netxen/netxen_nic_hw.c
Original file line number Diff line number Diff line change
Expand Up @@ -1579,8 +1579,9 @@ netxen_nic_pci_mem_write_128M(struct netxen_adapter *adapter,
}

if (j >= MAX_CTL_CHECK) {
printk("%s: %s Fail to write through agent\n",
__func__, netxen_nic_driver_name);
if (printk_ratelimit())
dev_err(&adapter->pdev->dev,
"failed to write through agent\n");
ret = -1;
break;
}
Expand Down Expand Up @@ -1637,8 +1638,9 @@ netxen_nic_pci_mem_read_128M(struct netxen_adapter *adapter,
}

if (j >= MAX_CTL_CHECK) {
printk(KERN_ERR "%s: %s Fail to read through agent\n",
__func__, netxen_nic_driver_name);
if (printk_ratelimit())
dev_err(&adapter->pdev->dev,
"failed to read through agent\n");
break;
}

Expand Down Expand Up @@ -1773,8 +1775,9 @@ netxen_nic_pci_mem_write_2M(struct netxen_adapter *adapter,
}

if (j >= MAX_CTL_CHECK) {
printk(KERN_ERR "%s: Fail to write through agent\n",
netxen_nic_driver_name);
if (printk_ratelimit())
dev_err(&adapter->pdev->dev,
"failed to write through agent\n");
ret = -1;
break;
}
Expand Down Expand Up @@ -1843,8 +1846,9 @@ netxen_nic_pci_mem_read_2M(struct netxen_adapter *adapter,
}

if (j >= MAX_CTL_CHECK) {
printk(KERN_ERR "%s: Fail to read through agent\n",
netxen_nic_driver_name);
if (printk_ratelimit())
dev_err(&adapter->pdev->dev,
"failed to read through agent\n");
break;
}

Expand Down

0 comments on commit 83fb2e4

Please sign in to comment.