projects
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b9b9e7
)
DaVinci EMAC: Add name to Ethernet device
author
Sandeep Paulraj
<s-paulraj@ti.com>
Tue, 28 Dec 2010 19:42:27 +0000
(14:42 -0500)
committer
Albert Aribaud
<albert.aribaud@free.fr>
Tue, 1 Feb 2011 23:54:44 +0000
(
00:54
+0100)
Adds "DaVinci-EMAC" as the name of the device so that
it gets printed as "Using DaVinci-EMAC device"
during network access (dhcp, tftp) instead of empty name
in "Using" statement.This name also gets
reflected in 'ethact' env variable.
Signed-off-by: Hemant Pedanekar <hemantp@ti.com>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
drivers/net/davinci_emac.c
patch
|
blob
|
history
diff --git
a/drivers/net/davinci_emac.c
b/drivers/net/davinci_emac.c
index
2642a5a
..
2067a54
100644
(file)
--- a/
drivers/net/davinci_emac.c
+++ b/
drivers/net/davinci_emac.c
@@
-667,6
+667,7
@@
int davinci_emac_initialize(void)
return -1;
memset(dev, 0, sizeof *dev);
+ sprintf(dev->name, "DaVinci-EMAC");
dev->iobase = 0;
dev->init = davinci_eth_open;