From: Dimitris Michailidis <dm@chelsio.com>
To: netdev@vger.kernel.org
Cc: Dimitris Michailidis <dm@chelsio.com>
Subject: [PATCH net-next 4/9] cxgb4: set dev_id to the port number
Date: Fri, 18 Jun 2010 13:05:30 -0700 [thread overview]
Message-ID: <1276891535-13967-5-git-send-email-dm@chelsio.com> (raw)
In-Reply-To: <1276891535-13967-4-git-send-email-dm@chelsio.com>
Signed-off-by: Dimitris Michailidis <dm@chelsio.com>
---
drivers/net/cxgb4/t4_hw.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/net/cxgb4/t4_hw.c b/drivers/net/cxgb4/t4_hw.c
index 0c8a84a..4c956fb 100644
--- a/drivers/net/cxgb4/t4_hw.c
+++ b/drivers/net/cxgb4/t4_hw.c
@@ -3162,6 +3162,7 @@ int __devinit t4_port_init(struct adapter *adap, int mbox, int pf, int vf)
p->rss_size = rss_size;
memcpy(adap->port[i]->dev_addr, addr, ETH_ALEN);
memcpy(adap->port[i]->perm_addr, addr, ETH_ALEN);
+ adap->port[i]->dev_id = j;
ret = ntohl(c.u.info.lstatus_to_modtype);
p->mdio_addr = (ret & FW_PORT_CMD_MDIOCAP) ?
--
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 ` Dimitris Michailidis [this message]
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 ` [PATCH net-next 9/9] cxgb4: minor cleanup Dimitris Michailidis
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
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-5-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).