projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ce1edc
)
net: pch_gbe: Fix pch_gbe device name
author
Bin Meng
<bmeng.cn@gmail.com>
Wed, 15 Apr 2015 03:18:20 +0000
(11:18 +0800)
committer
Joe Hershberger
<joe.hershberger@ni.com>
Mon, 20 Apr 2015 22:57:13 +0000
(17:57 -0500)
The name "pch_gbe.%x" exceeds the limit of the name in the
'struct eth_device'. Rename it as just "pch_gbe".
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
drivers/net/pch_gbe.c
patch
|
blob
|
history
diff --git
a/drivers/net/pch_gbe.c
b/drivers/net/pch_gbe.c
index 15c9cdcc3a0aafc32656b31b83f2903cdf3b84a2..a03bdc06300fde51293a30baa930c0697306f28b 100644
(file)
--- a/
drivers/net/pch_gbe.c
+++ b/
drivers/net/pch_gbe.c
@@
-446,7
+446,7
@@
int pch_gbe_register(bd_t *bis)
dev->iobase = iobase;
priv->mac_regs = (struct pch_gbe_regs *)iobase;
- sprintf(dev->name, "pch_gbe
.%x", iobase
);
+ sprintf(dev->name, "pch_gbe
"
);
/* Read MAC address from SROM and initialize dev->enetaddr with it */
pch_gbe_mac_read(priv->mac_regs, dev->enetaddr);