summaryrefslogtreecommitdiffstats
path: root/drivers/net/benet/be_cmds.h
diff options
context:
space:
mode:
authorAjit Khaparde2009-10-01 06:58:22 +0200
committerDavid S. Miller2009-10-01 06:58:22 +0200
commitdcb9b5648a04d9178f9af9d8b684831a8ea59b9f (patch)
tree43ae520899a9ceb13dbc066d490b36b8fa262cc1 /drivers/net/benet/be_cmds.h
parent3c59x: Rework suspend and resume (diff)
downloadkernel-qcow2-linux-dcb9b5648a04d9178f9af9d8b684831a8ea59b9f.tar.gz
kernel-qcow2-linux-dcb9b5648a04d9178f9af9d8b684831a8ea59b9f.tar.xz
kernel-qcow2-linux-dcb9b5648a04d9178f9af9d8b684831a8ea59b9f.zip
be2net: Workaround to fix a bug in Rx Completion processing.
vtp bit in RX completion descriptor could be wrongly set in some skews of BladEngine. Ignore this bit if vtm is not set. Resending because the previous patch was against net-next tree. This patch is against the net-2.6 tree. Signed-off-by: Ajit Khaparde <ajitk@serverengines.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/benet/be_cmds.h')
-rw-r--r--drivers/net/benet/be_cmds.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/benet/be_cmds.h b/drivers/net/benet/be_cmds.h
index 93e432f3d926..8b4c2cb9ad62 100644
--- a/drivers/net/benet/be_cmds.h
+++ b/drivers/net/benet/be_cmds.h
@@ -760,7 +760,8 @@ extern int be_cmd_set_flow_control(struct be_adapter *adapter,
u32 tx_fc, u32 rx_fc);
extern int be_cmd_get_flow_control(struct be_adapter *adapter,
u32 *tx_fc, u32 *rx_fc);
-extern int be_cmd_query_fw_cfg(struct be_adapter *adapter, u32 *port_num);
+extern int be_cmd_query_fw_cfg(struct be_adapter *adapter,
+ u32 *port_num, u32 *cap);
extern int be_cmd_reset_function(struct be_adapter *adapter);
extern int be_process_mcc(struct be_adapter *adapter);
extern int be_cmd_write_flashrom(struct be_adapter *adapter,