summaryrefslogtreecommitdiffstats
path: root/usr.sbin/i2c
Commit message (Collapse)AuthorAgeFilesLines
* i2c(8): uninitialized variable (UNINIT).pfg2016-05-131-1/+3
| | | | | | | If i2c_opt.width is somehow zero, buf will be left uninitialized and may cause trouble later on. This is a followup to r299586. CID: 1331548
* i2c(8): uninitialized variable (UNINIT).pfg2016-05-131-1/+2
| | | | | | | If i2c_opt.width is somehow zero, the bufsize will be left uninitialized and make cause trouble later on. CID: 1331549
* Perform I2C transmission in a single burst when mode is "none" or not setzbb2015-09-151-28/+79
| | | | | | | | | | | | | | | | | | | | | | Some more automated I2C controllers cannot explicitly create START/STOP/etc. conditions on the bus. Instead, the correct condition is set automatically according to the pending transfer status. This particular behavior can cause trouble if some I2C slave requires sending address offset within the chip followed by the actual data or command. In that case we cannot assume that the driver will not STOP immediately after sending offset. To avoid that, do not split offset transfer from data transfer for default transmission modes and do exactly that if requested in command line (stop-start and repeated-start modes). This more generic approach should cover special cases like the one described. Reviewed by: imp Submitted by: Marcin Mazurek <mma@semihalf.com> Obtained from: Semihalf
* Add META_MODE support.sjg2015-06-131-0/+18
|\ | | | | | | | | | | | | | | | | | | | | Off by default, build behaves normally. WITH_META_MODE we get auto objdir creation, the ability to start build from anywhere in the tree. Still need to add real targets under targets/ to build packages. Differential Revision: D2796 Reviewed by: brooks imp
| * dirdeps.mk now sets DEP_RELDIRsjg2015-06-081-2/+0
| |
| * Merge from head@274682sjg2014-11-191-2/+8
| |\ | |/ |/|
| * Merge head from 7/28sjg2014-08-191-4/+2
| |\
| * | Updated dependenciessjg2014-05-161-1/+0
| | |
| * | Updated dependenciessjg2014-05-101-0/+2
| | |
| * | Updated dependenciessjg2013-03-111-0/+1
| | |
| * | Updated dependenciessjg2013-02-161-2/+0
| | |
| * | Sync FreeBSD's bmake branch with Juniper's internal bmake branch.marcel2012-08-221-0/+19
| | | | | | | | | | | | Requested by: Simon Gerraty <sjg@juniper.net>
* | | Fix a few cases of use of uninitialized variables. Found with -Wall.loos2014-11-121-2/+8
| |/ |/| | | | | MFC after: 1 week
* | use .Mt to mark up email addresses consistently (part2)bapt2014-06-201-4/+2
|/ | | | | PR: 191174 Submitted by: Franco Fichtner <franco@lastsummer.de>
* Fixes to man8 groff mandoc style, usage mistakes, or typos.wblock2012-05-241-1/+1
| | | | | | | PR: 168016 Submitted by: Nobuyuki Koganemaru Approved by: gjb MFC after: 3 days
* Remove trailing whitespace per mdoc lint warningeadler2012-03-291-5/+5
| | | | | | | Disussed with: gavin No objection from: doc Approved by: joel MFC after: 3 days
* Fix warning when compiling with gcc46:eadler2012-01-201-2/+1
| | | | | | | error: variable 'i2c' set but not used Approved by: dim, cperciva (mentor, blanket for pre-mentorship already-approved commits) MFC after: 3 days
* In usr.sbin/i2c/i2c.c, fix a few warnings about format strings not beingdim2011-12-171-2/+2
| | | | | | literals. MFC after: 1 week
* mdoc: drop redundant .Pp and .LP callsuqs2010-10-081-1/+0
| | | | They have no effect when coming in pairs, or before .Bl/.Bd
* Fix typos, spelling, formatting and mdoc mistakes found by Nobuyuki whilejoel2010-08-161-1/+1
| | | | | | translating these manual pages. Minor corrections by me. Submitted by: Nobuyuki Koganemaru <n-kogane@syd.odn.ne.jp>
* mdoc: Remove leading garbage, empty lines and order preambleuqs2010-05-271-1/+0
|
* Use our canonical .Dd format.brueffer2009-11-021-1/+1
| | | | Submitted by: Ulrich Spoerlein
* Introduce the I2C diagnostic utility. It let's discover and inspect slaveraj2009-01-263-0/+809
devices on the bus. Reviewed by: bms, stas Obtained from: Semihalf
OpenPOWER on IntegriCloud