Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 203572
b: refs/heads/master
c: 6d18168
h: refs/heads/master
v: v3
  • Loading branch information
Rajesh Borundia authored and David S. Miller committed Jul 14, 2010
1 parent f8b15ab commit 53a1444
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 2cb8d9d1da282d4067a9b2dfbf8f7b0bab0c56e7
refs/heads/master: 6d181688953465c76c375c665a557c1ff88dcc40
4 changes: 4 additions & 0 deletions trunk/drivers/net/qlcnic/qlcnic_ethtool.c
Original file line number Diff line number Diff line change
Expand Up @@ -578,8 +578,12 @@ qlcnic_set_pauseparam(struct net_device *netdev,
}
QLCWR32(adapter, QLCNIC_NIU_GB_PAUSE_CTL, val);
} else if (adapter->ahw.port_type == QLCNIC_XGBE) {
if (!pause->rx_pause || pause->autoneg)
return -EOPNOTSUPP;

if ((port < 0) || (port > QLCNIC_NIU_MAX_XG_PORTS))
return -EIO;

val = QLCRD32(adapter, QLCNIC_NIU_XG_PAUSE_CTL);
if (port == 0) {
if (pause->tx_pause)
Expand Down

0 comments on commit 53a1444

Please sign in to comment.