summaryrefslogtreecommitdiffstats
path: root/cpukit/dev/i2c/i2c-dev.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2023-05-20Update company nameSebastian Huber1-1/+1
The embedded brains GmbH & Co. KG is the legal successor of embedded brains GmbH.
2022-03-10cpukit/: Scripted embedded brains header file clean upJoel Sherrill1-6/+0
Updates #4625.
2020-04-16Canonicalize config.h includeSebastian Huber1-2/+2
Use the following variant which was already used by most source files: #ifdef HAVE_CONFIG_H #include "config.h" #endif
2017-07-14posix/mmap: Add support for file handler and MAP_ANONKevin Kirspel1-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
2015-07-23i2c: Fix return status of i2c dev read/writeSebastian Huber1-6/+10
2015-01-27IMFS: Replace node union with individual structSebastian Huber1-9/+7
This reduces the average node size. Add and use IMFS_GENERIC_INITIALIZER().
2014-11-26i2c: Do not close file descriptor 0 if open failsSebastian Huber1-7/+6
2014-11-25cpukit/dev/i2c/i2c-dev.c: Fix leak on error pathJoel Sherrill1-2/+1
Coverity ID 1255520. fd was not closed on error path.
2014-11-20Add I2C driver frameworkSebastian Huber1-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).