projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b3dbf4a
)
LAN91C*: Change chip names to fit the eth_device struct size
author
Yanjun Yang
<yangyj.ee@gmail.com>
Sun, 26 Dec 2010 02:40:54 +0000
(10:40 +0800)
committer
Wolfgang Denk
<wd@denx.de>
Mon, 10 Jan 2011 21:38:36 +0000
(22:38 +0100)
The eth_device.name field length is limited by NAMESIZE,
which is 16 defined in include/net.h. Unfortunately, two
of the names in lan91c96.c are beyond that.
Signed-off-by: YanJun Yang <yangyj.ee@gmail.com>
drivers/net/lan91c96.c
patch
|
blob
|
history
diff --git
a/drivers/net/lan91c96.c
b/drivers/net/lan91c96.c
index 810079f03267845d1de414baab625689dc8de7b9..bd6966ed76bedfc3d1de070e3e918a711eb23e94 100644
(file)
--- a/
drivers/net/lan91c96.c
+++ b/
drivers/net/lan91c96.c
@@
-767,8
+767,8
@@
static struct id_type supported_chips[] = {
{8, "LAN91C100FD"},
{7, "LAN91C100"},
{5, "LAN91C95"},
- {4, "LAN91C94/
LAN91C
96"},
- {3, "LAN91C90/
LAN91C
92"},
+ {4, "LAN91C94/96"},
+ {3, "LAN91C90/92"},
};
/* lan91c96_detect_chip
* See: