| 1 | i2c CHANGES file |
|---|
| 2 | ----------------------- |
|---|
| 3 | This is a list of the most important changes between 2.x versions. It is by |
|---|
| 4 | no means complete, listing only user-visible changes which are interesting. |
|---|
| 5 | The ultimate way to know what has changed is to run diff, or even neater, |
|---|
| 6 | ask CVS about it: |
|---|
| 7 | |
|---|
| 8 | * Checkout the archive (see doc/cvs for how you can do this) |
|---|
| 9 | * Determine which tags are valid, by running this command from the |
|---|
| 10 | project root directory: |
|---|
| 11 | cvs status -v -l Makefile |
|---|
| 12 | Valid tags are usually like form V2-1-0 for version 2.1.0 |
|---|
| 13 | * Ask cvs for the difference between two versions: |
|---|
| 14 | cvs diff -r TAG1 -r TAG2 DIFF-OPTIONS |
|---|
| 15 | for example: |
|---|
| 16 | cvs diff -r V2-0-0 -r V2-0-1 -u |
|---|
| 17 | |
|---|
| 18 | ----------------------------------------------------------------------------- |
|---|
| 19 | |
|---|
| 20 | 2.8.0 (2003????) |
|---|
| 21 | drivers (several): make spinlock_t's static |
|---|
| 22 | i2c-algo-biths.[ch]: Rewrite of i2c-algo-bit with improved bus timing and |
|---|
| 23 | error handling. This is not a drop-in replacement for i2c-algo-bit. |
|---|
| 24 | Interface subject to change. |
|---|
| 25 | i2c-id.h: add IDs for i2c-algo-biths, W83627HF, LM85, nForce2, OMAHA, GUIDE, |
|---|
| 26 | MPC107, IXP2000, IXP425, IOP3XX, UDA1342, S3VIA |
|---|
| 27 | i2c-proc.c: Fix ignore and probe tests |
|---|
| 28 | i2c.h: Add fields for detailed delivery report in i2c_msg. |
|---|
| 29 | |
|---|
| 30 | 2.7.0 (20021208) |
|---|
| 31 | drivers (several): C99 initializers (sync w/ kernel 2.5.49); HZ fixes |
|---|
| 32 | i2c.h: Add I2C_M_IGNORE_NAK, I2C_M_NO_RD_ACK to flags. |
|---|
| 33 | i2c-algo-bit.c: Support I2C_M_IGNORE_NAK. Use time_after() with jiffies. |
|---|
| 34 | Debug message improvements. Fix clock high time in sclhi(). |
|---|
| 35 | i2c-algo-8xx.c: Several updates and cleanups |
|---|
| 36 | i2c-algo-ibm_ocp.[ch], i2c-adap-ibm_ocp.c: Rename i2c_iic_[add,del]_bus to |
|---|
| 37 | i2c_ocp... to avoid duplicate with i2c-algo-ite in kernel |
|---|
| 38 | i2c-core.c: Fix emulated i2c block writes |
|---|
| 39 | i2c-dev.c: Remove data copy limit |
|---|
| 40 | i2c-id.h: Add driver IDs for smart battery, IPMI, BMC, FS451, AMD8111, |
|---|
| 41 | SCx200 |
|---|
| 42 | i2c-proc.h: Add SENSORS_INSMOD_8; add naming for new dummy adapters |
|---|
| 43 | mkpatch: Fix export-objs |
|---|
| 44 | doc/i2c-protocol: Comment new client flags, fix I2C_M_NOSTART samples. |
|---|
| 45 | Makefile: Take kernel source location from /lib/modules/x.x.x/build; |
|---|
| 46 | add flags for x86_64 compiles |
|---|
| 47 | |
|---|
| 48 | 2.6.5 (20020915) |
|---|
| 49 | mkpatch: Fix i2c-algo-8xx.o target causing kernel to not compile; |
|---|
| 50 | add doc/i2c-old-porting, i2c-algo-8xx.[ch], i2c-adap-ibm_ocp.c, |
|---|
| 51 | i2c-algo-ibm_ocp.[ch], i2c-frodo, i2c-rpx, |
|---|
| 52 | i2c-pport, i2c-pcf-epp. |
|---|
| 53 | i2c-adap-ibm_ocp.c, i2c-elektor.c, i2c-pcf-epp.c : Replaced deprecated cli() |
|---|
| 54 | and sti() with spin_lock_irq(&driver_lock); and |
|---|
| 55 | spin_unlock_irq(&driver_lock); Added spinlock_t driver_lock = |
|---|
| 56 | SPIN_LOCK_UNLOCKED |
|---|
| 57 | i2c-adap-ibm_ocp.c, i2c-elektor.c, i2c-pcf-epp.c : Moved driver_lock to |
|---|
| 58 | module level and renamed to irq_driver_lock to avoid conflict with |
|---|
| 59 | driver_lock semaphore in i2c-core. |
|---|
| 60 | i2c-algo-8xx.c: Replaced deprecated save_flags(flags); cli() with |
|---|
| 61 | local_irq_save(flags); and restore_flags(flags) with |
|---|
| 62 | local_irq_restore(flags); |
|---|
| 63 | i2c-core.c: Remove buffer size limit in i2cproc_bus_read(); |
|---|
| 64 | add initializations for modules added to mkpatch. |
|---|
| 65 | i2c-id.h: Add driver IDs for MPC824X, SIS630, SIS645 |
|---|
| 66 | |
|---|
| 67 | 2.6.4 (20020719) (in kernel 2.5.32) |
|---|
| 68 | doc/i2c-old-porting: New |
|---|
| 69 | i2c.h: Add defines for SMBus 2.0 |
|---|
| 70 | i2c-algo-8xx.[ch]: Compile updates, Add GPL |
|---|
| 71 | i2c-algo-bit.c: Wait for clock low extension by slow devices; |
|---|
| 72 | add cond_resched() for 2.5 kernels |
|---|
| 73 | i2c-algo-ibm_ocp.[ch], i2c-adap-ibm_ocp.c: renamed from *ppc405*, rewritten |
|---|
| 74 | to support the ppc4xx kernel and multiple 4xx devices |
|---|
| 75 | i2c-core.c: Add SMBus 2.0 PEC and Block Process Call support; |
|---|
| 76 | change back to 'old' CONFIG names; |
|---|
| 77 | fix i2c emulated process call |
|---|
| 78 | i2c-dev.c: Add SMBus 2.0 PEC and Block Process Call support |
|---|
| 79 | i2c-dev.h: Add SMBus 2.0 Block Process Call support |
|---|
| 80 | i2c-frodo.c: New. Support for I2C on Frodo (2d3D, Inc. SA-1110 Dev Board). |
|---|
| 81 | i2c-id.h: Add driver IDs for Savage 4, smbus-arp, smbus-alert, DS1307, |
|---|
| 82 | SA-1110, SMSC47M1, ADV717x, ZR36067, ZR36120, VT1211, LM92, Frodo. |
|---|
| 83 | i2c-pcf-epp.c: Remove compile warning |
|---|
| 84 | i2c-proc.c: Check kmalloc() return code (sync with kernel 2.4.18) |
|---|
| 85 | i2c-rpx.c: Compile updates |
|---|
| 86 | mkpatch: Change back to 'old' CONFIG names |
|---|
| 87 | Makefiles: For 2.4+ kernels, modules now install in |
|---|
| 88 | kernel/drivers/i2c , not misc/ , and |
|---|
| 89 | removes old versions in misc/ . |
|---|
| 90 | Don't compile i2c-philips-par if no CONFIG_PARPORT. |
|---|
| 91 | Change back to 'old' CONFIG names. |
|---|
| 92 | |
|---|
| 93 | 2.6.3 (20020322) (in kernel 2.5.24) |
|---|
| 94 | TODO: Many updates |
|---|
| 95 | Config.in: i2c-proc requires sysctl |
|---|
| 96 | doc/i2c-velleman: New |
|---|
| 97 | drivers (all): Add message loglevels to printk's |
|---|
| 98 | i2c.h: Add defines for 2-byte address block reads/writes, SAA7108 |
|---|
| 99 | i2c-core.c, i2c-dev.h: Add SMBus emluated i2c block reads |
|---|
| 100 | i2c-core.c: Increase max buffer size for /proc/bus/i2c-x handler |
|---|
| 101 | i2c-pcf-epp.c: Fix so it compiles |
|---|
| 102 | i2c-philips-par.c: Check return code of parport_claim_or_block() |
|---|
| 103 | i2c-proc.[ch]: Change i2c_sysctl_real 3rd arg to unsigned for kernel 2.2.19; |
|---|
| 104 | printk if no sysctl support in kernel |
|---|
| 105 | mkpatch: Sync with kernel 2.4.15 (Configure.help) |
|---|
| 106 | Module.mk: Add i2c-pcf-epp |
|---|
| 107 | |
|---|
| 108 | 2.6.2 (20011118) |
|---|
| 109 | drivers (all): Add version to printk |
|---|
| 110 | drivers (all): sync with kernel 2.4.11 (Add MODULE_LICENSE("GPL")) |
|---|
| 111 | i2c-algo-8xx.c: Fix nasty cache problem |
|---|
| 112 | i2c-algo-pcf.c: Fix detection for some boards (PIN bit) |
|---|
| 113 | i2c-core.c: Don't redefine init_MUTEX() for kernels 2.2.18+; |
|---|
| 114 | fix CONFIG_xxx inconsistencies for i2c-elektor, i2c-elv, |
|---|
| 115 | i2c-philips-par, i2c-velleman |
|---|
| 116 | i2c-elektor.c: Fix segfault when module not inserted, and |
|---|
| 117 | small IRQ issue. |
|---|
| 118 | i2c-id.h: Add device IDs for Fujitsu-Siemens Poseidon and Scylla; |
|---|
| 119 | sync with kernel 2.4.10 (ITE IIC id's); add SAA7134 ID; |
|---|
| 120 | add PCF8591 ID. |
|---|
| 121 | mkpatch: Fix CONFIG_xxx inconsistencies for i2c-elektor, i2c-elv, |
|---|
| 122 | i2c-philips-par, i2c-velleman |
|---|
| 123 | |
|---|
| 124 | 2.6.1 (20010830) (in kernel 2.4.13) |
|---|
| 125 | drivers (all): Sync with kernel 2.4.2 (malloc.h -> slab.h) |
|---|
| 126 | i2c-core.c: Fix iteration bug in i2c_get_client(); |
|---|
| 127 | initialize i2c-proc if built-in. |
|---|
| 128 | i2c-dev.c: Sync with kernel 2.4.9 (i2cdev_lseek -> no_llseek) |
|---|
| 129 | i2c-id.h: Add device ID for Chrontel 700X driver; |
|---|
| 130 | add ID for primitive parallel port driver. |
|---|
| 131 | i2c-pport.c: New - not mkpatched by default |
|---|
| 132 | mkpatch/Config.in: PPC405 fix |
|---|
| 133 | |
|---|
| 134 | 2.6.0 (20010612) |
|---|
| 135 | Makefile: Added support for alpha architecture |
|---|
| 136 | i2c.h: Add #defines from lm_sensors i2c-isa.h |
|---|
| 137 | i2c-algo-8xx.[ch]: New - not built or mkpatched by default |
|---|
| 138 | i2c-algo-pcf.c: Increase I2C clock speed from 6.25 kHz to 50 kHz; |
|---|
| 139 | add detect code; remove test_bus function; |
|---|
| 140 | add support for multiple messages (proper generation |
|---|
| 141 | of stop/repstart sequences) |
|---|
| 142 | i2c-algo-ppc405.[ch]: New - not built or mkpatched by default |
|---|
| 143 | i2c-dev.c: Fix cleanup |
|---|
| 144 | i2c-elektor.c: Add Alpha detection; add support for memory mapped 8584 |
|---|
| 145 | behind a PCI bridge on Alphas; set interrupt bit correctly |
|---|
| 146 | i2c-elektor.h: Comment out unused structure for now |
|---|
| 147 | i2c-id.h: Add device ID's from lm_sensors sensors.h; add DEC Tsunami; |
|---|
| 148 | added ID's for VPX32XX, DRP3510, SP5055, STV0030. |
|---|
| 149 | i2c-ppc405.[ch]: New - not built or mkpatched by default |
|---|
| 150 | i2c-ppc405adap.h: New |
|---|
| 151 | i2c-proc.[ch]: New, from lm_sensors sensors.[ch] |
|---|
| 152 | i2c-rpx.c: New - not built or mkpatched by default |
|---|
| 153 | mkpatch: Add support for i2c-proc.[ch] |
|---|
| 154 | |
|---|
| 155 | 2.5.5 (20010115) (in kernel 2.4.0-prerelease) |
|---|
| 156 | mkpatch no longer supports 2.3 kernels |
|---|
| 157 | i2c-core.c: Fix SMBus emulated i2c block writes |
|---|
| 158 | |
|---|
| 159 | 2.5.4 (20001012) |
|---|
| 160 | i2c-id.h: Add VES1893, VES1820, SAA7113, TDA8444 |
|---|
| 161 | i2c-pcf-epp.c: New (no .h file, not compiled or patched to kernel) |
|---|
| 162 | |
|---|
| 163 | 2.5.3 (20001008) |
|---|
| 164 | i2c-dev.c: Fix bug that MOD_COUNT was incremented instead of decremented |
|---|
| 165 | on close; add devfs support. |
|---|
| 166 | i2c-id.h: Add algorithms for ACPI and ACCESS.bus |
|---|
| 167 | i2c-id.h: Add smart battery devices |
|---|
| 168 | i2c-id.h: Add ALI 1535 device |
|---|
| 169 | i2c-core.c, i2c-dev.c, i2c-dev.h, i2c.h: Add i2c block write support |
|---|
| 170 | |
|---|
| 171 | 2.5.2 (20000709) |
|---|
| 172 | i2c-philips-par: Now compiles on all 2.2 kernels |
|---|
| 173 | i2c-core: Corrected some SMBus block commands-related stuff |
|---|
| 174 | i2c-core: Much better error checking in (de)registering functions |
|---|
| 175 | i2c-core: Saner and now even documented handling of dummy drivers |
|---|
| 176 | |
|---|
| 177 | 2.5.1 (20000618) and older: |
|---|
| 178 | No data available |
|---|
| 179 | |
|---|