[U-Boot-Users] [patch] use unsigned char in smc91111 driver for mac

Mike Frysinger vapier at gentoo.org
Wed Apr 4 02:49:25 CEST 2007


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
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: driver-smc91111.diff
Type: text/x-diff
Size: 1299 bytes
Desc: not available
Url : http://lists.denx.de/pipermail/u-boot/attachments/20070403/10324301/attachment.diff 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: not available
Url : http://lists.denx.de/pipermail/u-boot/attachments/20070403/10324301/attachment.pgp 


More information about the U-Boot mailing list