Hi David,

Thanks for the feedback.

On Tue, 3 Jun 2008 13:19:56 -0700, David Brownell wrote:
> On Tuesday 03 June 2008, Jean Delvare wrote:
> > 
> > Note that I took a conservative approach here, adding I2C_CLASS_SPD to
> > all drivers that had I2C_CLASS_HWMON before. This is to make sure that
> > the eeprom driver doesn't stop probing buses where SPD EEPROMs live.
> > But the truth is that, for most of these, I simply have no idea whether
> > they can host SPD EEPROMs or not.
> 
> Few embedded platforms use discrete sticks of DRAM.
> My two cents:  use the opposite default in those cases.

I wish I knew which of these bus drivers exactly are for embedded
platforms. Would you be able to give me a list of all drivers under
drivers/i2c/busses that fall in this category? I would be able to update
http://lists.lm-sensors.org/pipermail/i2c/2008-May/003713.html
then.

Also, couldn't these platforms have other EEPROMs on these buses,
either EDID EEPROMs or proprietary ones, for which people might be
using the read-only eeprom driver at the moment? I don't want users to
experience a regression by applying this patch set. I'd rather have
them migrate their platform to the at24 driver once it is upstream and
remove the I2C_CLASS_SPD flag when they do.

> 
> I'll highlight a few below, where I happen to have more
> specific knowledge.
> 
> 
> > So, bus driver maintainers and users 
> > should feel free to remove the SPD class from drivers those buses never
> > have SPD EEPROMs or they don't want the eeprom driver to bind to them.
> > Likewise, feel free to add the SPD class to any bus driver I might have
> > missed.
> > 
> > Signed-off-by: Jean Delvare <[EMAIL PROTECTED]>
> > ---
> >  drivers/i2c/busses/i2c-ali1535.c       |    2 +-
> >  drivers/i2c/busses/i2c-ali1563.c       |    2 +-
> >  drivers/i2c/busses/i2c-ali15x3.c       |    2 +-
> >  drivers/i2c/busses/i2c-amd756.c        |    2 +-
> >  drivers/i2c/busses/i2c-amd8111.c       |    2 +-
> >  drivers/i2c/busses/i2c-at91.c          |    2 +-
> 
> I've never heard of an AT91 board using DRAM sticks ...
> 
> >  drivers/i2c/busses/i2c-cpm.c           |    2 +-
> >  drivers/i2c/busses/i2c-davinci.c       |    2 +-
> 
> ... or a DaVinci one ...
> 
> 
> >  drivers/i2c/busses/i2c-elektor.c       |    2 +-
> >  drivers/i2c/busses/i2c-gpio.c          |    2 +-
> >  drivers/i2c/busses/i2c-i801.c          |    2 +-
> >  drivers/i2c/busses/i2c-ibm_iic.c       |    4 ++--
> >  drivers/i2c/busses/i2c-iop3xx.c        |    2 +-
> >  drivers/i2c/busses/i2c-isch.c          |    2 +-
> >  drivers/i2c/busses/i2c-mpc.c           |    2 +-
> >  drivers/i2c/busses/i2c-mv64xxx.c       |    2 +-
> >  drivers/i2c/busses/i2c-nforce2.c       |    2 +-
> >  drivers/i2c/busses/i2c-ocores.c        |    2 +-
> >  drivers/i2c/busses/i2c-omap.c          |    2 +-
> 
> ... or an OMAP one ...
> 
> >  drivers/i2c/busses/i2c-parport-light.c |    2 +-
> >  drivers/i2c/busses/i2c-parport.c       |    2 +-
> >  drivers/i2c/busses/i2c-pasemi.c        |    2 +-
> >  drivers/i2c/busses/i2c-piix4.c         |    2 +-
> >  drivers/i2c/busses/i2c-pmcmsp.c        |    2 +-
> >  drivers/i2c/busses/i2c-s3c2410.c       |    2 +-
> >  drivers/i2c/busses/i2c-sibyte.c        |    4 ++--
> >  drivers/i2c/busses/i2c-sis5595.c       |    2 +-
> >  drivers/i2c/busses/i2c-sis630.c        |    2 +-
> >  drivers/i2c/busses/i2c-sis96x.c        |    2 +-
> >  drivers/i2c/busses/i2c-stub.c          |    2 +-
> >  drivers/i2c/busses/i2c-tiny-usb.c      |    2 +-
> 
> ... DRAM-over-USB would be bizarre too ...
> 
> >  drivers/i2c/busses/i2c-via.c           |    2 +-
> >  drivers/i2c/busses/i2c-viapro.c        |    2 +-
> >  drivers/i2c/busses/scx200_acb.c        |    2 +-
> >  include/linux/i2c.h                    |    1 +
> >  35 files changed, 37 insertions(+), 36 deletions(-)

OK, I'll revert the change for these 4 drivers.

Thanks,
-- 
Jean Delvare

_______________________________________________
i2c mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/i2c

Reply via email to