From: Mike Frysinger Date: Tue, 3 Apr 2007 20:49:25 -0400 Subject: [U-Boot-Users] [patch] use unsigned char in smc91111 driver for mac Message-ID: <200704032049.25570.vapier@gentoo.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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