freebsd-dev/usr.sbin
Zbigniew Bodek 58172d8cc0 Perform I2C transmission in a single burst when mode is "none" or not set
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
2015-09-15 11:21:16 +00:00
..
ac Add META_MODE support. 2015-06-13 19:20:56 +00:00
accton Add META_MODE support. 2015-06-13 19:20:56 +00:00
acpi Merge ACPICA 20150818. 2015-08-26 17:13:47 +00:00
adduser Add META_MODE support. 2015-06-13 19:20:56 +00:00
amd Add META_MODE support. 2015-06-13 19:20:56 +00:00
ancontrol Add META_MODE support. 2015-06-13 19:20:56 +00:00
apm Add META_MODE support. 2015-06-13 19:20:56 +00:00
apmd Add META_MODE support. 2015-06-13 19:20:56 +00:00
arp Add META_MODE support. 2015-06-13 19:20:56 +00:00
asf Add META_MODE support. 2015-06-13 19:20:56 +00:00
audit Add META_MODE support. 2015-06-13 19:20:56 +00:00
auditd Add META_MODE support. 2015-06-13 19:20:56 +00:00
auditdistd Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
auditreduce Add META_MODE support. 2015-06-13 19:20:56 +00:00
authpf Add META_MODE support. 2015-06-13 19:20:56 +00:00
autofs Add -noauto autofs map, for automatic handling of fstab entries 2015-03-13 12:44:46 +00:00
bhyve Add simple (no-op) emulations for the CHECK_POWER_MODE, 2015-08-17 05:59:36 +00:00
bhyvectl Remove duplicate header string.h. 2015-07-04 18:36:02 +00:00
bhyveload Fix issues detected by 'mandoc -Tlint bhyveload.8' 2015-06-27 18:24:23 +00:00
binmiscctl Add example for upcoming aarch64/arm64 targets. 2015-02-16 20:55:37 +00:00
bluetooth fix compare argument for address type. 2015-09-09 13:24:39 +00:00
boot0cfg It's 2015, and some people are still trying to use fdisk and then 2015-09-02 14:08:43 +00:00
boot98cfg Add META_MODE support. 2015-06-13 19:20:56 +00:00
bootparamd Add META_MODE support. 2015-06-13 19:20:56 +00:00
bsdconfig Fix code typo (no functional change) 2015-09-14 21:26:48 +00:00
bsdinstall Replace `return' outside of function with exit 2015-09-11 21:18:21 +00:00
bsnmpd snmp_hostres(3): Fix buffer overflow. 2015-07-20 16:08:01 +00:00
btxld Add META_MODE support. 2015-06-13 19:20:56 +00:00
cdcontrol Add META_MODE support. 2015-06-13 19:20:56 +00:00
chkgrp Revert r286148 2015-08-01 10:40:17 +00:00
chown Add META_MODE support. 2015-06-13 19:20:56 +00:00
chroot Add META_MODE support. 2015-06-13 19:20:56 +00:00
ckdist Add META_MODE support. 2015-06-13 19:20:56 +00:00
clear_locks Add META_MODE support. 2015-06-13 19:20:56 +00:00
config Make it clear that we're ignoring the return value fread(3). All 2015-08-24 00:34:09 +00:00
cpucontrol Add META_MODE support. 2015-06-13 19:20:56 +00:00
crashinfo Add META_MODE support. 2015-06-13 19:20:56 +00:00
cron Add META_MODE support. 2015-06-13 19:20:56 +00:00
crunch Fix rescue build after r284356 with STRIP= by using proper STRIPBIN per build(7). 2015-07-28 21:39:58 +00:00
ctladm CTL documentation update, mostly for HA. 2015-09-12 10:23:23 +00:00
ctld Add negotiation of iSCSIProtocolLevel to 2 (RFC7144). 2015-09-13 20:58:22 +00:00
ctm Add META_MODE support. 2015-06-13 19:20:56 +00:00
daemon Add META_MODE support. 2015-06-13 19:20:56 +00:00
dconschat dconschat(8): Use NULL instead of 0 for the last argument in execl(3) 2015-06-28 20:32:03 +00:00
devctl Fix formatting. 2015-07-16 05:14:20 +00:00
devinfo Add META_MODE support. 2015-06-13 19:20:56 +00:00
digictl Add META_MODE support. 2015-06-13 19:20:56 +00:00
diskinfo Add META_MODE support. 2015-06-13 19:20:56 +00:00
dumpcis Add META_MODE support. 2015-06-13 19:20:56 +00:00
editmap Add META_MODE support. 2015-06-13 19:20:56 +00:00
edquota Add META_MODE support. 2015-06-13 19:20:56 +00:00
eeprom Add META_MODE support. 2015-06-13 19:20:56 +00:00
etcupdate Add META_MODE support. 2015-06-13 19:20:56 +00:00
extattr Add META_MODE support. 2015-06-13 19:20:56 +00:00
extattrctl Add META_MODE support. 2015-06-13 19:20:56 +00:00
fdcontrol Add META_MODE support. 2015-06-13 19:20:56 +00:00
fdformat Add META_MODE support. 2015-06-13 19:20:56 +00:00
fdread Add META_MODE support. 2015-06-13 19:20:56 +00:00
fdwrite Add META_MODE support. 2015-06-13 19:20:56 +00:00
fifolog Add META_MODE support. 2015-06-13 19:20:56 +00:00
flowctl Add META_MODE support. 2015-06-13 19:20:56 +00:00
freebsd-update Skip src component if /usr/src is empty. 2015-06-15 20:12:15 +00:00
fstyp Add ATF functional tests for fstyp(8). No ZFS or GELI tests yet. 2015-08-20 15:37:47 +00:00
ftp-proxy Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
fwcontrol Add META_MODE support. 2015-06-13 19:20:56 +00:00
getfmac Add META_MODE support. 2015-06-13 19:20:56 +00:00
getpmac Add META_MODE support. 2015-06-13 19:20:56 +00:00
gpioctl Add META_MODE support. 2015-06-13 19:20:56 +00:00
gssd Add META_MODE support. 2015-06-13 19:20:56 +00:00
gstat Use strlcpy() in favor of strncpy() as it's defined to have a nul character 2015-09-11 06:52:57 +00:00
hyperv Turn off gcc's uninitialized warnings for this code. They 2015-08-21 14:15:54 +00:00
i2c Perform I2C transmission in a single burst when mode is "none" or not set 2015-09-15 11:21:16 +00:00
ifmcstat Add META_MODE support. 2015-06-13 19:20:56 +00:00
inetd Add META_MODE support. 2015-06-13 19:20:56 +00:00
iostat Add META_MODE support. 2015-06-13 19:20:56 +00:00
iovctl Replace use of .Po Pc with the preferred .Pq for single line 2015-07-08 16:16:44 +00:00
ip6addrctl Add META_MODE support. 2015-06-13 19:20:56 +00:00
ipfwpcap Add META_MODE support. 2015-06-13 19:20:56 +00:00
iscsid Use proper term in the ctld(8) and iscsid(8) man pages. 2015-09-03 11:43:56 +00:00
jail Fix transposed words in man page. 2015-07-25 11:10:49 +00:00
jexec Run a shell in the jail when no command is specified. 2015-07-12 17:03:50 +00:00
jls Add META_MODE support. 2015-06-13 19:20:56 +00:00
kbdcontrol Add META_MODE support. 2015-06-13 19:20:56 +00:00
kbdmap Add META_MODE support. 2015-06-13 19:20:56 +00:00
keyserv Add META_MODE support. 2015-06-13 19:20:56 +00:00
kgmon Add META_MODE support. 2015-06-13 19:20:56 +00:00
kgzip Add META_MODE support. 2015-06-13 19:20:56 +00:00
kldxref Add META_MODE support. 2015-06-13 19:20:56 +00:00
lastlogin Add META_MODE support. 2015-06-13 19:20:56 +00:00
lmcconfig Add META_MODE support. 2015-06-13 19:20:56 +00:00
lpr Add META_MODE support. 2015-06-13 19:20:56 +00:00
lptcontrol Add META_MODE support. 2015-06-13 19:20:56 +00:00
mailstats Add META_MODE support. 2015-06-13 19:20:56 +00:00
mailwrapper Add META_MODE support. 2015-06-13 19:20:56 +00:00
makefs Don't leak 'var'. 2015-09-03 01:15:23 +00:00
makemap Add META_MODE support. 2015-06-13 19:20:56 +00:00
manctl Add META_MODE support. 2015-06-13 19:20:56 +00:00
memcontrol Add META_MODE support. 2015-06-13 19:20:56 +00:00
mergemaster Add META_MODE support. 2015-06-13 19:20:56 +00:00
mfiutil mfiutil: increase buffer size to accommodate sprintf string 2015-07-03 01:43:11 +00:00
mixer Add META_MODE support. 2015-06-13 19:20:56 +00:00
mld6query Add META_MODE support. 2015-06-13 19:20:56 +00:00
mlxcontrol Add META_MODE support. 2015-06-13 19:20:56 +00:00
mount_smbfs Add META_MODE support. 2015-06-13 19:20:56 +00:00
mountd Staticize some stuff in mountd(8); no functional changes. 2015-07-04 08:40:48 +00:00
moused Add META_MODE support. 2015-06-13 19:20:56 +00:00
mptable Add META_MODE support. 2015-06-13 19:20:56 +00:00
mptutil Add META_MODE support. 2015-06-13 19:20:56 +00:00
mtest Add META_MODE support. 2015-06-13 19:20:56 +00:00
mtree Add META_MODE support. 2015-06-13 19:20:56 +00:00
nandsim mdoc: sort SEE ALSO. 2014-12-26 21:56:23 +00:00
nandtool Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
ndiscvt Add META_MODE support. 2015-06-13 19:20:56 +00:00
ndp Add static and remove unused variables. 2015-08-24 05:38:05 +00:00
newsyslog Add META_MODE support. 2015-06-13 19:20:56 +00:00
nfscbd Add META_MODE support. 2015-06-13 19:20:56 +00:00
nfsd Add META_MODE support. 2015-06-13 19:20:56 +00:00
nfsdumpstate Add META_MODE support. 2015-06-13 19:20:56 +00:00
nfsrevoke Add META_MODE support. 2015-06-13 19:20:56 +00:00
nfsuserd Add META_MODE support. 2015-06-13 19:20:56 +00:00
ngctl Add META_MODE support. 2015-06-13 19:20:56 +00:00
nghook Add META_MODE support. 2015-06-13 19:20:56 +00:00
nmtree Add META_MODE support. 2015-06-13 19:20:56 +00:00
nologin new depends 2015-06-16 23:37:19 +00:00
nscd Add META_MODE support. 2015-06-13 19:20:56 +00:00
ntp Parallelize the usr.sbin/ntp subdirectory build 2015-09-06 18:58:33 +00:00
nvram use .Mt to mark up email addresses consistently (part2) 2014-06-20 09:57:27 +00:00
ofwdump Add META_MODE support. 2015-06-13 19:20:56 +00:00
pc-sysinstall Add META_MODE support. 2015-06-13 19:20:56 +00:00
pciconf Prefer pciids database from ports if present 2015-09-06 20:05:29 +00:00
periodic Add META_MODE support. 2015-06-13 19:20:56 +00:00
pkg Remove extra debug that crept in 2015-09-08 22:24:20 +00:00
pmcannotate Add META_MODE support. 2015-06-13 19:20:56 +00:00
pmccontrol Add META_MODE support. 2015-06-13 19:20:56 +00:00
pmcstat Fix an off by one error in r283613: Like regular ffs(), CPU_FFS() returns 2015-09-01 17:52:43 +00:00
pmcstudy Rough first mdoc, spelling and grammar cleanup pass. 2015-03-26 15:54:54 +00:00
pnpinfo Add META_MODE support. 2015-06-13 19:20:56 +00:00
portsnap Add META_MODE support. 2015-06-13 19:20:56 +00:00
powerd Add META_MODE support. 2015-06-13 19:20:56 +00:00
ppp Add META_MODE support. 2015-06-13 19:20:56 +00:00
pppctl Add META_MODE support. 2015-06-13 19:20:56 +00:00
praliases Add META_MODE support. 2015-06-13 19:20:56 +00:00
praudit Add META_MODE support. 2015-06-13 19:20:56 +00:00
procctl Add META_MODE support. 2015-06-13 19:20:56 +00:00
pstat Add META_MODE support. 2015-06-13 19:20:56 +00:00
pw Regression: fix usershow -7 2015-09-14 19:23:00 +00:00
pwd_mkdb Fix a few mandoc warnings. 2015-08-12 10:34:05 +00:00
quot Add META_MODE support. 2015-06-13 19:20:56 +00:00
quotaon Add META_MODE support. 2015-06-13 19:20:56 +00:00
rarpd Add META_MODE support. 2015-06-13 19:20:56 +00:00
repquota Add META_MODE support. 2015-06-13 19:20:56 +00:00
rip6query Add META_MODE support. 2015-06-13 19:20:56 +00:00
rmt Add META_MODE support. 2015-06-13 19:20:56 +00:00
route6d Add META_MODE support. 2015-06-13 19:20:56 +00:00
rpc.lockd Add META_MODE support. 2015-06-13 19:20:56 +00:00
rpc.statd Add META_MODE support. 2015-06-13 19:20:56 +00:00
rpc.umntall Add META_MODE support. 2015-06-13 19:20:56 +00:00
rpc.yppasswdd Add META_MODE support. 2015-06-13 19:20:56 +00:00
rpc.ypupdated Add META_MODE support. 2015-06-13 19:20:56 +00:00
rpc.ypxfrd Add META_MODE support. 2015-06-13 19:20:56 +00:00
rpcbind Add META_MODE support. 2015-06-13 19:20:56 +00:00
rrenumd Add META_MODE support. 2015-06-13 19:20:56 +00:00
rtadvctl Add META_MODE support. 2015-06-13 19:20:56 +00:00
rtadvd Add META_MODE support. 2015-06-13 19:20:56 +00:00
rtprio Add META_MODE support. 2015-06-13 19:20:56 +00:00
rtsold - Remove #ifdef HAVE_POLL_H. 2015-09-10 06:40:28 +00:00
rwhod Add META_MODE support. 2015-06-13 19:20:56 +00:00
sa Add META_MODE support. 2015-06-13 19:20:56 +00:00
sendmail Temporarily disable WARNS while addressing a non-issue with the upstream code 2015-07-07 02:30:35 +00:00
service Add an additional check to service(8) -e incase rcvar is blank 2015-09-08 22:50:17 +00:00
services_mkdb Add META_MODE support. 2015-06-13 19:20:56 +00:00
sesutil Yet another fix for gcc 4.2 2015-09-05 22:33:40 +00:00
setfib Add META_MODE support. 2015-06-13 19:20:56 +00:00
setfmac Add META_MODE support. 2015-06-13 19:20:56 +00:00
setpmac Add META_MODE support. 2015-06-13 19:20:56 +00:00
sicontrol Add META_MODE support. 2015-06-13 19:20:56 +00:00
smbmsg Add META_MODE support. 2015-06-13 19:20:56 +00:00
snapinfo Add META_MODE support. 2015-06-13 19:20:56 +00:00
spkrtest Add META_MODE support. 2015-06-13 19:20:56 +00:00
spray Add META_MODE support. 2015-06-13 19:20:56 +00:00
syslogd die() would never return, mark it as so. 2015-08-27 18:11:00 +00:00
sysrc Fix mandoc(1) "WARNING: end of line whitespace" 2015-09-03 03:58:59 +00:00
tcpdchk Add META_MODE support. 2015-06-13 19:20:56 +00:00
tcpdmatch Add META_MODE support. 2015-06-13 19:20:56 +00:00
tcpdrop Add META_MODE support. 2015-06-13 19:20:56 +00:00
tcpdump MFV r285191: tcpdump 4.7.4. 2015-07-08 16:19:32 +00:00
tests Migrate tools/regression/{usr.bin/lastcomm,usr.sbin}/ to the new tests layout. 2014-03-16 04:09:22 +00:00
timed Add META_MODE support. 2015-06-13 19:20:56 +00:00
traceroute Add META_MODE support. 2015-06-13 19:20:56 +00:00
traceroute6 Add META_MODE support. 2015-06-13 19:20:56 +00:00
trpt Check and fail if drop of privileges failed. 2015-09-01 06:32:02 +00:00
tzsetup Add META_MODE support. 2015-06-13 19:20:56 +00:00
uathload Add META_MODE support. 2015-06-13 19:20:56 +00:00
uefisign uefisign(8) ships with 10.2. 2015-07-18 12:03:17 +00:00
ugidfw Add META_MODE support. 2015-06-13 19:20:56 +00:00
uhsoctl Add META_MODE support. 2015-06-13 19:20:56 +00:00
unbound Enable remote control using a local socket in the default configuration. 2015-01-05 15:09:00 +00:00
usbconfig Add META_MODE support. 2015-06-13 19:20:56 +00:00
usbdump Add META_MODE support. 2015-06-13 19:20:56 +00:00
utx Add META_MODE support. 2015-06-13 19:20:56 +00:00
vidcontrol Add META_MODE support. 2015-06-13 19:20:56 +00:00
vigr Add a vigr(8) utility which does for /etc/group what vipw(8) does for 2014-12-14 16:40:46 +00:00
vipw Add META_MODE support. 2015-06-13 19:20:56 +00:00
wake Fix a few mandoc warnings. 2015-08-12 10:34:05 +00:00
watch Add META_MODE support. 2015-06-13 19:20:56 +00:00
watchdogd Add a new exit-timeout option to watchdogd. 2015-08-19 21:46:12 +00:00
wlandebug Belatedly fix documentation on which interface to use as argument. 2015-08-17 09:18:54 +00:00
wlconfig Add META_MODE support. 2015-06-13 19:20:56 +00:00
wpa Revert r287578. This patch requires more review. 2015-09-08 23:17:02 +00:00
yp_mkdb Staticfy and constify some variables and clean up the code a bit to make it 2015-07-28 02:32:40 +00:00
ypbind Fix a warning spotted by gcc4.9: dereferencing type-punned pointer will break 2015-07-16 02:34:22 +00:00
yppoll Sync with the latest code from OpenBSD. 2015-09-03 07:12:40 +00:00
yppush Staticfy and constify some variables and clean up the code a bit to make it 2015-07-28 02:32:40 +00:00
ypserv Sync ypwhich(1) code with the OpenBSD version that is more modern. 2015-08-25 15:27:32 +00:00
ypset Rename YP to NIS in the manpages. 2015-09-03 07:18:52 +00:00
zic Add META_MODE support. 2015-06-13 19:20:56 +00:00
zzz Add META_MODE support. 2015-06-13 19:20:56 +00:00
Makefile Add a new sesutil(8) utility 2015-09-05 00:06:01 +00:00
Makefile.amd64 Add MK_BHYVE knob for building and installing bhyve(4), et al 2015-01-26 06:44:48 +00:00
Makefile.arm
Makefile.i386 Disable hyperv on pc98. 2014-10-18 08:07:17 +00:00
Makefile.inc
Makefile.mips
Makefile.powerpc - Trim an unused and bogus Makefile for mount_smbfs. 2013-06-28 21:00:08 +00:00
Makefile.sparc64 - Trim an unused and bogus Makefile for mount_smbfs. 2013-06-28 21:00:08 +00:00