Skip to contentSkip to conversation

2.5.30 i2c updates 4/4

PATCH New Albert Cranford 1 participant 1 message Aug 7, 2002 I2C

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 2.5.30 i2c updates 4/4

Hello Linus,
Please apply the following four patches that update 2.5.30 with these I2C changes:
o Support for SMBus 2.0 PEC Packet Error Checking
o New algorithm-i2c-algo-8xxx for MPC8XXX
o New algorithm-i2c-algo-ibm_ocp for IBM PPC 405
o New adapter-i2c-adap-ibm_ocp for IBM PPC 405
o New adapter-i2c-frodo for SA 1110 board
o New adapter-i2c-pcf-epp for PCF8584
o New adapter-i2c-pport for parallel port
o New adapter-i2c-rpx for embeded MPC8XX
o Replace depreciated cli()&sti() with spin_{un}lock_irq()
o Updated documentation
Thanks,
Albert

Documentation/i2c/dev-interface 2002-06-15 13:11:28.000000000 -0400 renamed from Documentation/i2c/dev-interface.old 2002-07-20 15:11:08.000000000 -0400 +6 -1
@@ -87,7 +87,12 @@
 
 ioctl(file,I2C_TENBIT,long select)
   Selects ten bit addresses if select not equals 0, selects normal 7 bit
-  addresses if select equals 0.
+  addresses if select equals 0. Default 0.
+
+ioctl(file,I2C_PEC,long select)
+  Selects SMBus PEC (packet error checking) generation and verification
+  if select not equals 0, disables if select equals 0. Default 0.
+  Used only for SMBus transactions.
 
 ioctl(file,I2C_FUNCS,unsigned long *funcs)
   Gets the adapter functionality and puts it in *funcs.
Documentation/i2c/i2c-old-porting 2002-07-11 19:46:11.000000000 -0400 renamed from dev/null 1994-07-17 19:46:18.000000000 -0400 +626 -0

626 lines not on this page · raw message

Documentation/i2c/i2c-pport 2001-08-14 22:17:54.000000000 -0400 renamed from dev/null 1994-07-17 19:46:18.000000000 -0400 +45 -0

45 lines not on this page · raw message

Documentation/i2c/i2c-velleman 2002-02-16 10:24:45.000000000 -0500 renamed from dev/null 1994-07-17 19:46:18.000000000 -0400 +27 -0
@@ -0,0 +1,27 @@
+i2c-velleman driver
+-------------------
+This is a driver for i2c-hw access for Velleman K9000 and other adapters.
+
+Useful links
+------------
+Velleman:
+       http://www.velleman.be/
+
+Velleman K8000 Howto:
+       http://howto.htlw16.ac.at/k8000-howto.html
+
+
+K8000 and K8005 libraries
+-------------------------
+The project has lead to new libs for the Velleman K8000 and K8005..
+LIBK8000 v1.99.1 and LIBK8005 v0.21
+
+With these libs you can control the K8000 and K8005 with the original
+simple commands which are in the original Velleman software.
+Like SetIOchannel, ReadADchannel, SendStepCCWFull and many more.
+Via i2c kernel device /dev/velleman
+
+The libs can be found on http://groups.yahoo.com/group/k8000/files/linux/
+
+The Velleman K8000 interface card on http://www.velleman.be/kits/k8000.htm
+The Velleman K8005 steppermotorcard on http://www.velleman.be/kits/k8005.htm
Documentation/i2c/smbus-protocol 2002-07-09 22:06:41.000000000 -0400 renamed from Documentation/i2c/smbus-protocol.old 2002-07-20 15:11:16.000000000 -0400 +92 -3

117 lines not on this page · raw message

Documentation/i2c/summary 2002-07-03 21:00:38.000000000 -0400 renamed from Documentation/i2c/summary.old 2002-07-20 15:11:07.000000000 -0400 +3 -3
@@ -59,16 +59,16 @@
 i2c-algo-8xx:    An algorithm for CPM's I2C device in Motorola 8xx processors (NOT BUILT BY DEFAULT)
 i2c-algo-bit:    A bit-banging algorithm
 i2c-algo-pcf:    A PCF 8584 style algorithm
-i2c-algo-ppc405: An algorithm for the I2C device in IBM 405xx processors (NOT BUILT BY DEFAULT)
+i2c-algo-ibmocp: An algorithm for the I2C device in IBM 4xx processors (NOT BUILT BY DEFAULT)
 
 Adapter drivers
 ---------------
 
 i2c-elektor:     Elektor ISA card (uses i2c-algo-pcf)
 i2c-elv:         ELV parallel port adapter (uses i2c-algo-bit)
-i2c-pcf-epp:     PCF8584 on a EPP parallel port (uses i2c-algo-pcf) (BROKEN - missing i2c-pcf-epp.h)
+i2c-pcf-epp:     PCF8584 on a EPP parallel port (uses i2c-algo-pcf) (NOT mkpatched)
 i2c-philips-par: Philips style parallel port adapter (uses i2c-algo-bit)
-i2c-ppc405:      IBM 405xx processor I2C device (uses i2c-algo-ppc405) (NOT BUILT BY DEFAULT)
+i2c-adap_ibmocp:      IBM 4xx processor I2C device (uses i2c-algo-ibmocp) (NOT BUILT BY DEFAULT)
 i2c-pport:       Primitive parallel port adapter (uses i2c-algo-bit)
 i2c-rpx:         RPX board Motorola 8xx I2C device (uses i2c-algo-8xx) (NOT BUILT BY DEFAULT)
 i2c-velleman:    Velleman K9000 parallel port adapter (uses i2c-algo-bit)
Documentation/i2c/writing-clients 2001-11-11 18:03:40.000000000 -0500 renamed from Documentation/i2c/writing-clients.old 2002-07-20 15:11:10.000000000 -0400 +1 -1
@@ -365,7 +365,7 @@
 
 The detect client function is called by i2c_probe or i2c_detect.
 The `kind' parameter contains 0 if this call is due to a `force'
-parameter, and 0 otherwise (for i2c_detect, it contains 0 if
+parameter, and -1 otherwise (for i2c_detect, it contains 0 if
 this call is due to the generic `force' parameter, and the chip type
 number if it is due to a specific `force' parameter).
 
Signature · 2 lines
Albert Cranford Deerfield Beach FL USA
[email protected]