
13 Jun
2010
13 Jun
'10
4:28 a.m.
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@gentoo.org -mike