root/i2c/trunk/CHANGES @ 5363

Revision 5363, 14.8 KB (checked in by khali, 6 years ago)

Drop I2C_FUNC_SMBUS_*I2C_BLOCK_2 defines. They never went in kernel 2.4
and were just dropped from kernel 2.6.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1i2c CHANGES file
2-----------------------
3This is a list of the most important changes between 2.x versions. It is by
4no means complete, listing only user-visible changes which are interesting.
5The ultimate way to know what has changed is to run diff, or even neater,
6ask SVN about it.
7
8-----------------------------------------------------------------------------
9
10SVN-HEAD
11  Makefile: Fallback to simple depmod if System.map can't be found
12  i2c.h: Drop I2C_FUNC_SMBUS_*I2C_BLOCK_2 defines
13
142.10.5 (20071024)
15  doc/dev-interface: Clarifications (2.6 backport)
16  i2c-algo-bit: Always send a stop condition before leaving (2.6 backport)
17  i2c-dev: Reject I2C_M_RECV_LEN (2.6 backport)
18
192.10.2 (20070115)
20  IMPORTANT_CHANGES: Obsolete, removed.
21  DIRECTORIES: Useless, removed.
22  RPM: Obsolete, removed.
23  doc/smbus-protocol: Fix typo in SMBus Write Word Data description
24                      (2.6 backport, Mike Frysinger)
25  i2c.h: Drop declaration of unimplemented slave functions (2.6 backport)
26  i2c-core: Drop useless bitmasking (2.6 backport)
27  i2c-algo-bit: Cleanups (2.6 backport)
28  i2c-elv: Fix test during device initialization (Willy Tarreau)
29
302.10.1 (20060924)
31  Makefile: Fix i2c-pcf8584.h installation
32            Fix depmod on non-running kernel version
33  i2c-core, i2c.h: Mark block write buffers as const (2.6 backport)
34  i2c-iop3xx: Fix return value of master_xfer method
35  i2c-algo-*: i2c_add_adapter may fail (2.6 backport)
36
372.10.0 (20060214)
38  doc/functionality: Fix I2C_FUNC_PROTOCOL_MANGLING description (Hideki
39                     Iwamoto)
40  doc/writing-clients: New memory allocation model
41                       Drop empty command implementation example
42  i2c-core: Fix logic error in SMBus Write Word transaction with software
43            PEC (Hideki Iwamoto)
44            Fix temporary buffer size for SMBus Block Write transaction with
45            software PEC (Hideki Iwamoto)
46            Fix buffer overrun in SMBus Block Write and Block Process Call
47            transactions (Hideki Iwamoto)
48            Rewrite software PEC implementation (2.6 backport)
49            Improve debugging in i2c_transfer (2.6 backport)
50  i2c-dev: Drop empty command implementation (2.6 backport, Laurent Riffard)
51  i2c.h: Fix union i2c_smbus_data definition
52         Delete 2 out-of-date, colliding ioctl defines
53         Drop I2C_FUNC_SMBUS_*_PEC (2.6 backport)
54         Drop I2C_SMBUS_*_PEC (2.6 backport)
55
562.9.2 (20050906)
57  Makefile: Do not compile i2c-algo-biths by default
58            Detect 2.6+ kernels and stop
59  i2c-core, i2c-proc: Fix cast warnings on gcc 3.3
60  i2c.h: Drop additional members of struct i2c_msg, so as to
61         restore the binary compatibility with Linux 2.4
62  i2c-dev.h: Fix compilation problem (missing include)
63  i2c-algo-bit: Drop Linux 2.5+ compatibility code
64
65
662.9.1 (20050412)
67  Interface changes
68        - Restore binary compatibility with Linux 2.4
69  Makefile: Revert the header install removal
70            Support sparc64 (Nicolas Boullis)
71            Support mips and sparc32 (Aurelien Jarno)
72            Use -fno-strict-aliasing on all architectures
73  i2c-core: Unhide i2c_get_client
74            Fix force parameter loop iteration
75  i2c-id.h: Add ID for Marvell 64xxx
76            Sync IDs with Linux 2.6
77  i2c.h: Drop 2.4.9 compatibility define of MODULE_LICENSE
78         Fix defines lacking parentheses (Corey Minyard)
79  i2c-algo-bit, i2c-algo-biths, i2c-algo-pcf: Declare I2C_FUNC_I2C
80            as being supported
81  i2c-algo-biths: Replace assembly code by C (Aurelien Jarno)
82
832.9.0 (20041228)
84  Interface changes
85        - Struct i2c_adapter: restore inc_use() and dec_use(), remove owner
86        - Struct i2c_algorithm: remove owner
87        - Struct i2c_driver: restore inc_use() and dec_use(), remove owner
88        - Restore controlling_mod argument in i2c_register_entry()
89        These changes restore compatibility with pre-2.8.0 i2c, in
90        particular with the version of i2c present in the Linux 2.4 kernels.
91  Makefile: Do not export any kernel header
92  i2c-id.h: Add IDs for virtual adapter, lpc47b397
93  i2c-proc.c: Increase SENSORS_ENTRY_MAX to 24
94  i2c-proc.c: Fix a bug in the real parsing code
95  mkpatch: Generate diffs for drivers/i2c/Config.in and
96           drivers/i2c/Makefile again
97
982.8.8 (20041007)
99  Makefile: Do not export i2c-dev.h
100  i2c-pport.c: Code cleanups
101               Do not test lines, i2c-algo-bit already does
102  i2c-proc.c: Do not rely on procname but instead on ctl_name to determine
103              sysctl table lengths. (Louis-Martin Cote)
104
1052.8.7 (20040611)
106  Makefile: Do not run depmod on staged installs (Peter Breitenlohner)
107  i2c-id.h: Add IDs for MAX6900, PCILYNX, SIBYTE, SGI_VINO, SGI_MACE
108  i2c-proc.c: Fail to compile if kernel lacks sysctl support
109
110NOTE: there was no 2.8.5 or 2.8.6 release
111
1122.8.4 (20040207)
113  i2c-id.h: Add IDs for the OV511 project
114  i2c-philips-par.c: Fix bus reset with type!=0
115
1162.8.3 (20040115)
117  File i2c-rh.spec: Updated
118  Makefile: Update Alpha CMODFLAGS (Daniel Nilsson)
119  Makefiles: Remove -o and -g arguments to install
120  i2c.h: Add I2C_M_RECV_LEN and I2C_M_RECV_PEC
121  i2c-algo-bit.c: Add SMBus block read and block process call emulation
122  i2c-core.c: Add SMBus block read and block process call emulation
123
1242.8.2 (20031211)
125  Makefiles: Fail if no kernel .config file exists
126  i2c-algo-bit: Fix sclhi() for adapters that do not have getscl();
127                Enable bit_test for adapters that do not have getscl();
128                Mostly rewrite test_bus(), cleaner and probably faster.
129  i2c-id.h:  Add IDs for FSC Hermes, usbvision, and
130             drivers found in the Linux 2.4.22 kernel.
131
1322.8.1 (20031005)
133  Modules (various): Fix includes for compilation on alpha
134  i2c.h: Add utility function i2c_delay(1)
135  i2c-algo-8xx.h: Header fix (Richard Laing)
136  i2c-core.c: Trivial bugfix to i2c_check_addr()
137  i2c-dev.c: Ioctl fixes: user/kernel bug, memory leak
138             (Robert T. Johnson, Sergey Vlasov)
139  i2c-elektor.c: Fix memory mapped I/O
140  i2c-id.h: Add IDs for the LM90, ASB100, Radeon, Xeon, MAX6650
141
1422.8.0 (20030714)
143  Interface changes:
144        - File i2c-dev.h: remove all userspace code, moved to
145                          i2c-dev.h in lm_sensors2 package
146        - Struct i2c_adapter: remove inc_use() and dec_use(), add owner,
147                              remove client_count, replace semaphore lock
148                              with semaphores bus and list.
149        - Struct i2c_algorithm: add owner
150        - Struct i2c_driver: remove inc_use() and dec_use()
151        - Struct i2c_msg: type changes; add err and done
152        - Struct i2c_smbus_ioctl_data, i2c_rdwr_ioctl_data: type changes
153        - Remove controlling_mod argument in i2c_register_entry()
154        - Remove i2c_inc_use_client() and i2c_dec_use_client()
155        - Add i2c_client_command()
156  Makefiles: Handle multiple UTS_RELEASE definitions in linux/version.h;
157             Remove old gzipped modules; remove old misc directory if empty;
158             Don't use /usr/include headers for modules;
159             Remove pre-2.4 installation method;
160             Run depmod after module installation
161  Modules (all): Cleanups including
162        - C99 initializers
163        - Remove #ifdef MODULE
164        - Remove #ifndef THIS_MODULE
165        - Remove #ifndef MODULE_LICENSE
166        - Remove init_MUTEX #define
167        - Remove EXPORT_NO_SYMBOLS
168        - Remove dummy xxx_command() definitions
169        - Use module_init() and module_exit()
170  drivers (several): make spinlock_t's static
171  i2c-algo-biths.[ch]: (new) Rewrite of i2c-algo-bit with improved
172                       bus timing and error handling.
173                       This is not a drop-in replacement for i2c-algo-bit.
174                       Interface subject to change.
175  i2c-core.c: Rewrite locking;
176              Remove initialization of other modules in i2c_init_all()
177  i2c-dev.c: Fixes from kernel 2.4.21-rc7
178  i2c-id.h: add IDs for i2c-algo-biths, W83627HF, LM85, nForce2, OMAHA, GUIDE,
179            MPC107, IXP2000, IXP425, IOP3XX, UDA1342, S3VIA
180  i2c-proc.c: Fix ignore and probe tests
181  mkpatch: Remove patching of drivers/char/mem.c
182
1832.7.0 (20021208)
184  drivers (several): C99 initializers (sync w/ kernel 2.5.49); HZ fixes
185  i2c.h: Add I2C_M_IGNORE_NAK, I2C_M_NO_RD_ACK to flags.
186  i2c-algo-bit.c: Support I2C_M_IGNORE_NAK. Use time_after() with jiffies.
187           Debug message improvements. Fix clock high time in sclhi().
188  i2c-algo-8xx.c: Several updates and cleanups
189  i2c-algo-ibm_ocp.[ch], i2c-adap-ibm_ocp.c: Rename i2c_iic_[add,del]_bus to
190           i2c_ocp... to avoid duplicate with i2c-algo-ite in kernel
191  i2c-core.c: Fix emulated i2c block writes
192  i2c-dev.c: Remove data copy limit
193  i2c-id.h: Add driver IDs for smart battery, IPMI, BMC, FS451, AMD8111,
194            SCx200
195  i2c-proc.h: Add SENSORS_INSMOD_8; add naming for new dummy adapters
196  mkpatch: Fix export-objs
197  doc/i2c-protocol: Comment new client flags, fix I2C_M_NOSTART samples.
198  Makefile: Take kernel source location from /lib/modules/x.x.x/build;
199            add flags for x86_64 compiles
200
2012.6.5 (20020915)
202  mkpatch: Fix i2c-algo-8xx.o target causing kernel to not compile;
203           add doc/i2c-old-porting, i2c-algo-8xx.[ch], i2c-adap-ibm_ocp.c,
204           i2c-algo-ibm_ocp.[ch], i2c-frodo, i2c-rpx,
205           i2c-pport, i2c-pcf-epp.
206  i2c-adap-ibm_ocp.c, i2c-elektor.c, i2c-pcf-epp.c : Replaced deprecated cli()
207           and sti() with spin_lock_irq(&driver_lock); and
208           spin_unlock_irq(&driver_lock);  Added spinlock_t driver_lock =
209           SPIN_LOCK_UNLOCKED
210  i2c-adap-ibm_ocp.c, i2c-elektor.c, i2c-pcf-epp.c : Moved driver_lock to
211           module level and renamed to irq_driver_lock to avoid conflict with
212           driver_lock semaphore in i2c-core.
213  i2c-algo-8xx.c: Replaced deprecated save_flags(flags); cli() with
214           local_irq_save(flags); and restore_flags(flags) with
215           local_irq_restore(flags);
216  i2c-core.c: Remove buffer size limit in i2cproc_bus_read();
217              add initializations for modules added to mkpatch.
218  i2c-id.h: Add driver IDs for MPC824X, SIS630, SIS645
219
2202.6.4 (20020719)        (in kernel 2.5.32)
221  doc/i2c-old-porting: New
222  i2c.h: Add defines for SMBus 2.0
223  i2c-algo-8xx.[ch]: Compile updates, Add GPL
224  i2c-algo-bit.c: Wait for clock low extension by slow devices;
225                  add cond_resched() for 2.5 kernels   
226  i2c-algo-ibm_ocp.[ch], i2c-adap-ibm_ocp.c: renamed from *ppc405*, rewritten
227                  to support the ppc4xx kernel and multiple 4xx devices
228  i2c-core.c: Add SMBus 2.0 PEC and Block Process Call support;
229              change back to 'old' CONFIG names;
230              fix i2c emulated process call
231  i2c-dev.c: Add SMBus 2.0 PEC and Block Process Call support
232  i2c-dev.h: Add SMBus 2.0 Block Process Call support
233  i2c-frodo.c: New. Support for I2C on Frodo (2d3D, Inc. SA-1110 Dev Board).
234  i2c-id.h: Add driver IDs for Savage 4, smbus-arp, smbus-alert, DS1307,
235            SA-1110, SMSC47M1, ADV717x, ZR36067, ZR36120, VT1211, LM92, Frodo.
236  i2c-pcf-epp.c: Remove compile warning
237  i2c-proc.c: Check kmalloc() return code (sync with kernel 2.4.18)
238  i2c-rpx.c: Compile updates
239  mkpatch: Change back to 'old' CONFIG names
240  Makefiles: For 2.4+ kernels, modules now install in
241             kernel/drivers/i2c , not misc/ , and
242             removes old versions in misc/ .
243             Don't compile i2c-philips-par if no CONFIG_PARPORT.
244             Change back to 'old' CONFIG names.
245
2462.6.3 (20020322)        (in kernel 2.5.24)
247  TODO: Many updates
248  Config.in: i2c-proc requires sysctl
249  doc/i2c-velleman: New
250  drivers (all): Add message loglevels to printk's
251  i2c.h: Add defines for 2-byte address block reads/writes, SAA7108
252  i2c-core.c, i2c-dev.h: Add SMBus emluated i2c block reads
253  i2c-core.c: Increase max buffer size for /proc/bus/i2c-x handler
254  i2c-pcf-epp.c: Fix so it compiles
255  i2c-philips-par.c: Check return code of parport_claim_or_block()
256  i2c-proc.[ch]: Change i2c_sysctl_real 3rd arg to unsigned for kernel 2.2.19;
257                 printk if no sysctl support in kernel
258  mkpatch: Sync with kernel 2.4.15 (Configure.help)
259  Module.mk: Add i2c-pcf-epp
260
2612.6.2 (20011118)
262  drivers (all): Add version to printk
263  drivers (all): sync with kernel 2.4.11 (Add MODULE_LICENSE("GPL"))
264  i2c-algo-8xx.c: Fix nasty cache problem
265  i2c-algo-pcf.c: Fix detection for some boards (PIN bit)
266  i2c-core.c: Don't redefine init_MUTEX() for kernels 2.2.18+;
267              fix CONFIG_xxx inconsistencies for i2c-elektor, i2c-elv,
268              i2c-philips-par, i2c-velleman
269  i2c-elektor.c: Fix segfault when module not inserted, and
270                 small IRQ issue.
271  i2c-id.h: Add device IDs for Fujitsu-Siemens Poseidon and Scylla;
272            sync with kernel 2.4.10 (ITE IIC id's); add SAA7134 ID;
273            add PCF8591 ID.
274  mkpatch: Fix CONFIG_xxx inconsistencies for i2c-elektor, i2c-elv,
275           i2c-philips-par, i2c-velleman
276
2772.6.1 (20010830)        (in kernel 2.4.13)
278  drivers (all): Sync with kernel 2.4.2 (malloc.h -> slab.h)
279  i2c-core.c: Fix iteration bug in i2c_get_client();
280              initialize i2c-proc if built-in.
281  i2c-dev.c: Sync with kernel 2.4.9 (i2cdev_lseek -> no_llseek)
282  i2c-id.h: Add device ID for Chrontel 700X driver;
283            add ID for primitive parallel port driver.
284  i2c-pport.c: New - not mkpatched by default
285  mkpatch/Config.in: PPC405 fix
286
2872.6.0 (20010612)
288  Makefile: Added support for alpha architecture
289  i2c.h: Add #defines from lm_sensors i2c-isa.h
290  i2c-algo-8xx.[ch]: New - not built or mkpatched by default
291  i2c-algo-pcf.c: Increase I2C clock speed from 6.25 kHz to 50 kHz;
292                  add detect code; remove test_bus function;
293                  add support for multiple messages (proper generation
294                  of stop/repstart sequences)
295  i2c-algo-ppc405.[ch]: New - not built or mkpatched by default
296  i2c-dev.c: Fix cleanup
297  i2c-elektor.c: Add Alpha detection; add support for memory mapped 8584
298                 behind a PCI bridge on Alphas; set interrupt bit correctly
299  i2c-elektor.h: Comment out unused structure for now
300  i2c-id.h: Add device ID's from lm_sensors sensors.h; add DEC Tsunami;
301            added ID's for VPX32XX, DRP3510, SP5055, STV0030.
302  i2c-ppc405.[ch]: New - not built or mkpatched by default
303  i2c-ppc405adap.h: New
304  i2c-proc.[ch]: New, from lm_sensors sensors.[ch]
305  i2c-rpx.c: New - not built or mkpatched by default
306  mkpatch: Add support for i2c-proc.[ch]
307
3082.5.5 (20010115)        (in kernel 2.4.0-prerelease)
309  mkpatch no longer supports 2.3 kernels
310  i2c-core.c: Fix SMBus emulated i2c block writes
311
3122.5.4 (20001012)
313  i2c-id.h: Add VES1893, VES1820, SAA7113, TDA8444
314  i2c-pcf-epp.c: New (no .h file, not compiled or patched to kernel)
315
3162.5.3 (20001008)
317  i2c-dev.c: Fix bug that MOD_COUNT was incremented instead of decremented
318             on close; add devfs support.
319  i2c-id.h: Add algorithms for ACPI and ACCESS.bus
320  i2c-id.h: Add smart battery devices
321  i2c-id.h: Add ALI 1535 device
322  i2c-core.c, i2c-dev.c, i2c-dev.h, i2c.h: Add i2c block write support
323
3242.5.2 (20000709)
325  i2c-philips-par: Now compiles on all 2.2 kernels
326  i2c-core: Corrected some SMBus block commands-related stuff
327  i2c-core: Much better error checking in (de)registering functions
328  i2c-core: Saner and now even documented handling of dummy drivers
329
3302.5.1 (20000618) and older:
331  No data available
332
Note: See TracBrowser for help on using the browser.