On Tuesday 25 November 2008, Jean Delvare wrote:
>
> > I did test this with the legacy "eeprom" and "i2c-stub" as you had
> > suggested. Worked fine ... this is different from previous passes,
> > as it removes the lock instead of the list, and doesn't attempt to
> > change how the list is (mis/ab)used.
>
> Which kernel version? Since 2.6.27, the eeprom driver is no longer a
> legacy driver. Instead it's a new-style driver with the
> optional .detect() callback.
2.6.28-rc6 ... hmm, seeing the top of that driver with
/* Addresses to scan */
static const unsigned short normal_i2c[] = { 0x50, 0x51, 0x52, 0x53, 0x54,
0x55, 0x56, 0x57, I2C_CLIENT_END };
/* Insmod parameters */
I2C_CLIENT_INSMOD_1(eeprom);
strongly implied that it's still a legacy driver. But
at the bottom, I see otherwise. I suppose your "how to
test such stuff" message predated 2.6.27 ... :)
--
To unsubscribe from this list: send the line "unsubscribe linux-i2c" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html