summaryrefslogtreecommitdiffstats
path: root/drivers/net/lan91c96.c
diff options
context:
space:
mode:
authorYanjun Yang <yangyj.ee@gmail.com>2010-12-26 10:40:54 +0800
committerWolfgang Denk <wd@denx.de>2011-01-10 22:38:36 +0100
commit0e7790d450000c1a2cda40458adb28707eaa5041 (patch)
tree68bd6363e7f2713bcdc36beb69ce41508b1f26a6 /drivers/net/lan91c96.c
parentb3dbf4a51f3891c16315b038cd3b7a87f4182e0d (diff)
downloadtalos-obmc-uboot-0e7790d450000c1a2cda40458adb28707eaa5041.tar.gz
talos-obmc-uboot-0e7790d450000c1a2cda40458adb28707eaa5041.zip
LAN91C*: Change chip names to fit the eth_device struct size
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>
Diffstat (limited to 'drivers/net/lan91c96.c')
-rw-r--r--drivers/net/lan91c96.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/lan91c96.c b/drivers/net/lan91c96.c
index 810079f032..bd6966ed76 100644
--- 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/LAN91C96"},
- {3, "LAN91C90/LAN91C92"},
+ {4, "LAN91C94/96"},
+ {3, "LAN91C90/92"},
};
/* lan91c96_detect_chip
* See:
OpenPOWER on IntegriCloud