projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
204dc3c
)
cxgb4: set dev_id to the port number
author
Dimitris Michailidis
<dm@chelsio.com>
Fri, 18 Jun 2010 10:05:30 +0000
(10:05 +0000)
committer
David S. Miller
<davem@davemloft.net>
Sat, 19 Jun 2010 05:08:36 +0000
(22:08 -0700)
Signed-off-by: Dimitris Michailidis <dm@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/cxgb4/t4_hw.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/cxgb4/t4_hw.c
b/drivers/net/cxgb4/t4_hw.c
index 0c8a84a258f31c3d3474950bb42e9ebc85024ed6..4c956fbf0c496d2f9ab10d4361e7ce9890c9cb49 100644
(file)
--- 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) ?