]> 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)
committerStefan Roese <sr@denx.de>
Mon, 23 Apr 2007 11:54:24 +0000 (13:54 +0200)
commit36f104e5caa747d568eff26b369565af57c2ffa6
tree88079b8dc5dd3a9bcf10e36146b9639d68939736
parent39f23cd90947639ac278a18ff277ec786b5ac167
[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