]> git.sur5r.net Git - u-boot/commit
[patch] use unsigned char in smc91111 driver for mac
authorMike Frysinger <vapier@gentoo.org>
Mon, 23 Apr 2007 11:54:24 +0000 (13:54 +0200)
committerWolfgang Denk <wd@denx.de>
Sat, 5 May 2007 19:27:38 +0000 (21:27 +0200)
commitebd0a0ae05a44769c4e27458ad4e9f3438250443
tree6a7373bfb126c9cacc94effab6723265f0fd3ce8
parent2f15278c2eb911c668b4fe562130b78cf554d139
[patch] use unsigned char in smc91111 driver for mac

the v_mac variable in the smc91111 driver is declared as a signed char ...
this causes problems when one of the bytes in the MAC is "signed" like 0xE0
because when it gets printed out, you get a display like:
0xFFFFFFE0 and that's no good

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
drivers/smc91111.c