summaryrefslogtreecommitdiffstats
path: root/cpukit/dev/i2c/i2c-dev.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Canonicalize config.h includeSebastian Huber2020-04-161-2/+2
| | | | | | | | Use the following variant which was already used by most source files: #ifdef HAVE_CONFIG_H #include "config.h" #endif
* posix/mmap: Add support for file handler and MAP_ANONKevin Kirspel2017-07-141-0/+1
| | | | | | | | | | | Added a mmap file handler to struct _rtems_filesystem_file_handlers_r. Updated each file handler object to support the default mmap handler. Updated mmap() to call the mmap handler for MAP_SHARED. Added a mmap file handler for shm Added support for MAP_ANON in mmap(). Updates #2859
* i2c: Fix return status of i2c dev read/writeSebastian Huber2015-07-231-6/+10
|
* IMFS: Replace node union with individual structSebastian Huber2015-01-271-9/+7
| | | | | | This reduces the average node size. Add and use IMFS_GENERIC_INITIALIZER().
* i2c: Do not close file descriptor 0 if open failsSebastian Huber2014-11-261-7/+6
|
* cpukit/dev/i2c/i2c-dev.c: Fix leak on error pathJoel Sherrill2014-11-251-2/+1
| | | | Coverity ID 1255520. fd was not closed on error path.
* Add I2C driver frameworkSebastian Huber2014-11-201-0/+291
This I2C driver framework has some major differences compared to libi2c. * It is compatible to the Linux I2C user-space API. * It uses generic IMFS nodes and thus reduces the levels of indirection. * The drivers don't have to mess around with minor numbers to get their state information. * No arbitrary bus controller model is assumed. The main task of an I2C bus controller driver is to process I2C messages. How this is done is private to the driver. * Scatter/gather operations are supported (I2C_M_NOSTART).