From: Dimitris Michailidis <dm@chelsio.com>
To: netdev@vger.kernel.org
Cc: Dimitris Michailidis <dm@chelsio.com>
Subject: [PATCH net-next 9/9] cxgb4: minor cleanup
Date: Fri, 18 Jun 2010 13:05:35 -0700 [thread overview]
Message-ID: <1276891535-13967-10-git-send-email-dm@chelsio.com> (raw)
In-Reply-To: <1276891535-13967-9-git-send-email-dm@chelsio.com>
Remove an unused flag and replace couple constants with enums.
Signed-off-by: Dimitris Michailidis <dm@chelsio.com>
---
drivers/net/cxgb4/cxgb4.h | 1 -
drivers/net/cxgb4/cxgb4_main.c | 4 ++--
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/net/cxgb4/cxgb4.h b/drivers/net/cxgb4/cxgb4.h
index 5e37c1e..62804bb 100644
--- a/drivers/net/cxgb4/cxgb4.h
+++ b/drivers/net/cxgb4/cxgb4.h
@@ -309,7 +309,6 @@ enum { /* adapter flags */
FULL_INIT_DONE = (1 << 0),
USING_MSI = (1 << 1),
USING_MSIX = (1 << 2),
- QUEUES_BOUND = (1 << 3),
FW_OK = (1 << 4),
};
diff --git a/drivers/net/cxgb4/cxgb4_main.c b/drivers/net/cxgb4/cxgb4_main.c
index 352c770..27f65b5 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;
--
1.5.4
next prev parent reply other threads:[~2010-06-18 20:12 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-18 20:05 [PATCH net-next 0/9] cxgb4 update v2 Dimitris Michailidis
2010-06-18 20:05 ` [PATCH net-next 1/9] cxgb4: dynamically determine flash size and FW image location Dimitris Michailidis
2010-06-18 20:05 ` [PATCH net-next 2/9] cxgb4: rearrange initialization code in preparation for EEH Dimitris Michailidis
2010-06-18 20:05 ` [PATCH net-next 3/9] cxgb4: implement EEH Dimitris Michailidis
2010-06-18 20:05 ` [PATCH net-next 4/9] cxgb4: set dev_id to the port number Dimitris Michailidis
2010-06-18 20:05 ` [PATCH net-next 5/9] cxgb4: switch to 64 bit inteface statistics Dimitris Michailidis
2010-06-18 20:05 ` [PATCH net-next 6/9] cxgb4: propagate link initialization errors to .ndo_open's callers Dimitris Michailidis
2010-06-18 20:05 ` [PATCH net-next 7/9] cxgb4: add a missing error interrupt Dimitris Michailidis
2010-06-18 20:05 ` [PATCH net-next 8/9] cxgb4: update FW definitions Dimitris Michailidis
2010-06-18 20:05 ` Dimitris Michailidis [this message]
2010-06-19 5:12 ` [PATCH net-next 0/9] cxgb4 update v2 David Miller
-- strict thread matches above, loose matches on Subject: below --
2010-06-16 22:01 [PATCH net-next 0/9] cxgb4 update Dimitris Michailidis
2010-06-16 22:01 ` [PATCH net-next 1/9] cxgb4: dynamically determine flash size and FW image location Dimitris Michailidis
2010-06-16 22:01 ` [PATCH net-next 2/9] cxgb4: rearrange initialization code in preparation for EEH Dimitris Michailidis
2010-06-16 22:01 ` [PATCH net-next 3/9] cxgb4: implement EEH Dimitris Michailidis
2010-06-16 22:01 ` [PATCH net-next 4/9] cxgb4: set dev_id to the port number Dimitris Michailidis
2010-06-16 22:01 ` [PATCH net-next 5/9] cxgb4: switch to 64 bit inteface statistics Dimitris Michailidis
2010-06-16 22:01 ` [PATCH net-next 6/9] cxgb4: propagate link initialization errors to .ndo_open's callers Dimitris Michailidis
2010-06-16 22:01 ` [PATCH net-next 7/9] cxgb4: add a missing error interrupt Dimitris Michailidis
2010-06-16 22:01 ` [PATCH net-next 8/9] cxgb4: update FW definitions Dimitris Michailidis
2010-06-16 22:01 ` [PATCH net-next 9/9] cxgb4: minor cleanup Dimitris Michailidis
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1276891535-13967-10-git-send-email-dm@chelsio.com \
--to=dm@chelsio.com \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).