Module Name: src Committed By: jdc Date: Fri Feb 8 15:14:11 UTC 2013
Modified Files: src/sys/dev/i2c: at24cxx.c Log Message: Handle direct configuration if ia->ia_name is set, using iic_compat_match(). If ia->ia_name is set, display the name on attach. Display the size (if known) on attach. Move the iic_acquire_bus() and iic_release_bus() calls inside the read and write loops, to avoid holding the bus for the full duration of the read or write. To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/sys/dev/i2c/at24cxx.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.