[U-Boot] [PATCH] smc91xx_eeprom: Correct chip detection check.

Mike Frysinger vapier at gentoo.org
Sun Jun 13 04:28:31 CEST 2010


On Sat, Jun 12, 2010 at 3:22 PM, Juergen Kilb wrote:
> The smc911x_detect function in /net/driver/net/smc911x.c
> returns a 0 if everything was ok (a chip was found) and -1 else.
> In the standalone example 'smc911x_eeprom' the return value
> of smc911x_detect is interpreted in a different way
> (0 for error, !0 as OK).
> This leads to the error that the chip will not be detected.

Acked-by: Mike Frysinger <vapier at gentoo.org>
-mike


More information about the U-Boot mailing list