freebsd-skq/sys
Andriy Gapon f1519c0157 convert iicsmb to use iicbus_transfer for all operations
Previously the driver used more low level operations like iicbus_start
and iicbus_write.  The problem is that those operations are not
implemented by iicbus(4) and the calls were effectively routed to
a driver to which the bus is attached.
But not all of the controllers implement such low level operations
while all of the drivers are expected to have iicbus_transfer.

While there fix incorrect implementation of iicsmb_bwrite and iicsmb_bread.
The former should send a byte count before the actual bytes, while the
latter should first receive the byte count and then receive the bytes.

I have tested only these commands:
- quick (r/w)
- send byte
- receive byte
- read byte
- write byte

MFC after:	1 month
Differential Revision: https://reviews.freebsd.org/D8170
2016-10-13 07:25:18 +00:00
..
amd64 In the TCP stack, the hhook(9) framework provides hooks for kernel modules 2016-10-12 02:16:42 +00:00
arm Fix building on i386 and arm. But 'public domain' headers on the files 2016-10-13 06:56:23 +00:00
arm64 Fix building on i386 and arm. But 'public domain' headers on the files 2016-10-13 06:56:23 +00:00
boot The bootloader self relocation code was slightly wrong for the 2016-10-07 16:17:51 +00:00
bsm
cam Use copyout() instead of pointing sbuf to user-space buffer. 2016-10-12 08:25:13 +00:00
cddl Limit scope of the optimization in r306608 to dounmount() caller only. 2016-10-07 11:38:28 +00:00
compat linuxkpi: Fix PCI BAR lazy allocation support. 2016-09-30 05:51:11 +00:00
conf Keep in-sync MK_SSP=no option both with kernel and userspace. 2016-10-12 13:51:41 +00:00
contrib Make VCHI driver compatible with upstream DT 2016-10-12 03:08:58 +00:00
crypto Fix typo in skein amd64 assembly 2016-09-08 02:38:55 +00:00
ddb Determine the operand/address size of %cs in a new function 2016-09-25 16:30:29 +00:00
dev convert iicsmb to use iicbus_transfer for all operations 2016-10-13 07:25:18 +00:00
fs vfs: remove the __bo_vnode field from struct vnode 2016-09-30 17:11:03 +00:00
gdb
geom Fix possible geom destruction before final provider close. 2016-10-06 15:20:05 +00:00
gnu Revert and redo r306083. 2016-09-22 15:17:36 +00:00
i386 Fix building on i386 and arm. But 'public domain' headers on the files 2016-10-13 06:56:23 +00:00
isa
kern kern_linker: Handle module-loading failures in preloaded .ko files 2016-10-13 02:06:23 +00:00
kgssapi
libkern
mips Fix building on i386 and arm. But 'public domain' headers on the files 2016-10-13 06:56:23 +00:00
modules In the TCP stack, the hhook(9) framework provides hooks for kernel modules 2016-10-12 02:16:42 +00:00
net ifnet: Use if_link_state snapshot to invoke ifnet_link_event 2016-10-12 01:52:29 +00:00
net80211 net80211: convert all ieee80211_input_mimo*() consumers 2016-10-12 20:50:13 +00:00
netgraph Avoid panic from ng_uncallout when unpluggin ethernet cable with active 2016-08-08 19:31:01 +00:00
netinet The TFO server-side code contains some changes that are not conditioned on 2016-10-12 19:06:50 +00:00
netinet6 Lock the ND prefix list and add refcounting for prefixes. 2016-10-07 21:10:53 +00:00
netipsec Remove the 4.3BSD compatible macro m_copy(), use m_copym() instead. 2016-09-15 07:41:48 +00:00
netnatm
netpfil pf: remove fastroute tag 2016-10-04 19:35:14 +00:00
netsmb
nfs Hide the boottime and bootimebin globals, provide the getboottime(9) 2016-07-27 11:08:59 +00:00
nfsclient
nfsserver
nlm When sleeping waiting for either local or remote advisory lock, 2016-06-26 20:08:42 +00:00
ofed Move the ConnectX-3 and ConnectX-2 driver from sys/ofed into sys/dev/mlx4 2016-09-30 08:23:06 +00:00
opencrypto opencrypto AES-ICM: Fix heap corruption typo 2016-08-01 22:57:03 +00:00
pc98 Fix building on i386 and arm. But 'public domain' headers on the files 2016-10-13 06:56:23 +00:00
powerpc Fix building on i386 and arm. But 'public domain' headers on the files 2016-10-13 06:56:23 +00:00
riscv Fix building on i386 and arm. But 'public domain' headers on the files 2016-10-13 06:56:23 +00:00
rpc Hide the boottime and bootimebin globals, provide the getboottime(9) 2016-07-27 11:08:59 +00:00
security Don't check aq64_minfree which is unsigned for negative values. 2016-09-08 19:47:57 +00:00
sparc64 Fix building on i386 and arm. But 'public domain' headers on the files 2016-10-13 06:56:23 +00:00
sys kern_linker: Handle module-loading failures in preloaded .ko files 2016-10-13 02:06:23 +00:00
teken
tests
tools Consider CROSS_BINUTILS_PREFIX environment variable so we use correct 2016-08-10 13:49:17 +00:00
ufs vfs: remove the __bo_vnode field from struct vnode 2016-09-30 17:11:03 +00:00
vm When downgrading exclusively busied page to shared-busy state, wakeup 2016-10-11 18:09:37 +00:00
x86 Merge ACPICA 20160930. 2016-10-04 20:27:15 +00:00
xdr
xen xen/vchan: change license of header from Lesser GPL v2.1 to BSD 2016-09-30 13:41:24 +00:00
Makefile