summaryrefslogtreecommitdiff
path: root/include/linux/i2c-dev.h
AgeCommit message (Collapse)Author
2009-02-24i2c-dev: Clarify the unit of ioctl I2C_TIMEOUTJean Delvare
The unit in which user-space can set the bus timeout value is jiffies for historical reasons (back when HZ was always 100.) This is however not good because user-space doesn't know how long a jiffy lasts. The timeout value should instead be set in a fixed time unit. Given the original value of HZ, this unit should be 10 ms, for compatibility. Signed-off-by: Jean Delvare <khali@linux-fr.org> Acked-by: Wolfram Sang <w.sang@pengutronix.de>
2007-10-13i2c: Move i2c-dev interfaces to i2c-dev.hDavid Brownell
Move the i2c-dev support into <linux/i2c-dev.h> where it should always have lived. Now <linux/i2c.h> no longer holds stuff related to the optional userspace /dev/i2c-X interface. Improve the descriptions for these ioctl requests. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net> Signed-off-by: Jean Delvare <khali@linux-fr.org>
2005-10-28[PATCH] i2c: Drop useless CVS revision IDsJean Delvare
CVS revision IDs are totally useless and irrelevant by now. Signed-off-by: Jean Delvare <khali@linux-fr.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2005-06-28[PATCH] headers: include linux/compiler.h for __userGOTO Masanori
This patch lets i2c-dev.h include linux/compiler.h so that __user is defined. Signed-off-by: GOTO Masanori <gotom@debian.or.jp> Cc: Greg KH <greg@kroah.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2003-12-29[PATCH] compat_ioctl for i2cAndrew Morton
From: Benjamin Herrenschmidt <benh@kernel.crashing.org> I needed those for the G5 on ppc64, so here they are, I was only able to test the SMBUS stuff though.
2003-06-10[PATCH] I2C: fix up sparse warnings in the i2c-dev driverGreg Kroah-Hartman
2003-04-09i2c: clean up i2c-dev.c's formatting, DEBUG, and ioctl messGreg Kroah-Hartman
2003-02-19[PATCH] i2c sanityChristoph Hellwig
small updates to bring us nearer the lm_Sensors CVS (docs, comments, missing statics, named initializers). I still need to review their actual code changes before submitting those..
2002-12-30[PATCH] more i2c cruft removalChristoph Hellwig
* version code checks for pre-2.4 version * !__KERNEL__ stuff in headers.
2002-08-13[PATCH] i2c updates 2/4Albert Cranford
Please apply the two of four tested patches that update 2.5.31 with these I2C changes: o Support for SMBus 2.0 PEC Packet Error Checking o New adapter-i2c-frodo for SA 1110 board o New adapter-i2c-rpx for embeded MPC8XX o Replace depreciated cli()&sti() with spin_{un}lock_irq() o Updated documentation
2002-06-19[PATCH] 2.5.23 i2c updates 2/4Albert Cranford
i2c-core.c:Leave LINUX_VERSION in kernel. Leave i2c_debug=1. Leave CONFIG names as in the kernel. Remove #ifdef MODULE_LICENSE around MODULE_LICENSE. i2c-dev.c:Remove #ifdef MODULE_LICENSE around MODULE_LICENSE. Remove compatibality code for < 2.4.0 i2c-proc.c: Print message on kmalloc failure. Leave ENOMEM as in kernel. Remove #ifdef MODULE_LICENSE around MODULE_LICENSE. Remove 2.2.19 compat code.
2002-02-04v2.4.12 -> v2.4.12.1Linus Torvalds
- Trond Myklebust: deadlock checking in lockd server - Tim Waugh: fix up parport wrong #define - Christoph Hellwig: i2c update, ext2 cleanup - Al Viro: fix partition handling sanity check. - Trond Myklebust: make NFS use SLAB_NOFS, and not play games with PF_MEMALLOC - Ben Fennema: UDF update - Alan Cox: continued merging - Chris Mason: get /proc buffer memory sizes right after buf-in-page-cache
2002-02-04v2.4.7 -> v2.4.7.1Linus Torvalds
- Anton Altaparmakov: NTFS error checking - Johannes Erdfelt: USB updates - OGAWA Hirofumi: FAT update - Alan Cox: driver + s390 update merge - Richard Henderson: fix alpha sigsuspend error return value - Marcelo Tosatti: per-zone VM shortage - Daniel Phillips: generic use-once optimization instead of drop-behind - Bjorn Wesen: Cris architecture update - Anton Altaparmakov: support for Windows Dynamic Disks - James Washer: LDT loading SMP bug fix
2002-02-04Import changesetLinus Torvalds