On Wed, Apr 23, 2008 at 08:30:12PM +0200, Jean Delvare wrote: Hello Jean,
> Each i2c driver can support many different devices, which are > differentiated simply by their name. So the driver can behave > differently for each device type as needed. We exactly threw this out of at24 in the new revision, as name-matching stored quite some data in the driver which was needed only once during initialization. Also, it was not very flexible; what if you want to mark this chip as read-only, your variant has bigger page size and could be faster... The list of device names would grow too fast IMHO, adding a new feature which is selectable by a flag could easily double it. Then again: If Jochen's patches get applied, then I have to use MODULE_DEVICE_TABLE anyhow, or? Wolfram -- Dipl.-Ing. Wolfram Sang | http://www.pengutronix.de Pengutronix - Linux Solutions for Science and Industry
signature.asc
Description: Digital signature
_______________________________________________ i2c mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/i2c
