Hi Jon, On Wed, 4 Jun 2008 20:42:00 -0400, Jon Smirl wrote: > On 6/4/08, David Brownell <[EMAIL PROTECTED]> wrote: > > Wrong. The probe returns zero if it bound, else negative errno. > > Those functions don't return booleans. > > You guys are so literal. I should have said return 0 or -ENODEV or > some other error.
Oh, David is several persons now? ;) > (...) > There is is a parallel here. With PowerPC device trees I can put the > exact address of the i2c device into the board specific device tree. > Now there's no need to probe addresses. That's equivalent to what's > happening with ACPI and serial ports. Maybe we'll implement device > trees on all archs and then we can get rid of i2c device probing. It's the manufacturer who decide, not us. And at the moment, the PC architecture isn't using device trees for I2C/SMBus. That's an unfortunate fact we have to live with. -- Jean Delvare _______________________________________________ i2c mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/i2c
