diff options
author | Dimitris Michailidis <dm@chelsio.com> | 2010-06-18 10:05:35 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-06-18 22:08:39 -0700 |
commit | 20c0da65d72598ced2bfd4d4ca9a5aca1c93f5b9 (patch) | |
tree | e33f147acfd2349fa4c4d97ab4f7dfb80baf76fd /drivers/net/cxgb4/cxgb4_main.c | |
parent | a0881cab6c0a1c8ad48a4ab0b971c8e786dadf1c (diff) |
cxgb4: minor cleanup
Remove an unused flag and replace couple constants with enums.
Signed-off-by: Dimitris Michailidis <dm@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/cxgb4/cxgb4_main.c')
-rw-r--r-- | drivers/net/cxgb4/cxgb4_main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/cxgb4/cxgb4_main.c b/drivers/net/cxgb4/cxgb4_main.c index 352c7709012..27f65b501a0 100644 --- a/drivers/net/cxgb4/cxgb4_main.c +++ b/drivers/net/cxgb4/cxgb4_main.c @@ -2758,8 +2758,8 @@ static int adap_init1(struct adapter *adap, struct fw_caps_config_cmd *c) if (ret < 0) return ret; - ret = t4_cfg_pfvf(adap, 0, 0, 0, 64, 64, 64, 0, 0, 4, 0xf, 0xf, 16, - FW_CMD_CAP_PF, FW_CMD_CAP_PF); + ret = t4_cfg_pfvf(adap, 0, 0, 0, MAX_EGRQ, 64, MAX_INGQ, 0, 0, 4, + 0xf, 0xf, 16, FW_CMD_CAP_PF, FW_CMD_CAP_PF); if (ret < 0) return ret; |