freebsd-skq/sys/dev
ian 1eb0f3d2f0 Add support for tracking nested calls to iicbus_request/release_bus().
Usually it is sufficient to use iicbus_transfer_excl(), or one of the
higher-level convenience functions that use it, to reserve the bus for the
duration of each register access.  Occasionally it is important that a
series of accesses or read-modify-write operations must be done without any
other intervening access to the device, to prevent corrupting state.

Without support for nested request/release, slave device drivers would have
to stop using high-level convenience functions and resort to working with
arrays of iic_msg structs just for a few operations (often involving
one-time device setup or infrequent configuration changes).

The changes here appear large from a glance at the diff, but in fact they're
nearly trivial, and the large diff is because of changes in indentation and
the re-wrapping of comments caused by that.  One notable change is that
iicbus_release_bus() now ignores the IICBUS_CALLBACK(IIC_RELEASE_BUS) return
value.  The old error handling left the bus in a kind of limbo state where
it was still owned at the iicbus layer, but drivers rarely check the return
of the release call, and it's unclear what they would do to recover from an
error return anyway.  No existing low-level drivers return any kind of error
from IIC_RELEASE_BUS except one EINVAL for "you don't own the bus", to which
the right response is probably to carry on with the process of releasing the
reference to the bus anyway.
2017-07-26 21:06:26 +00:00
..
aac Clean up MD pollution of bus_dma.h: 2017-07-01 05:35:29 +00:00
aacraid Clean up MD pollution of bus_dma.h: 2017-07-01 05:35:29 +00:00
acpi_support Hide unneeded message under bootverbose. 2017-01-27 14:17:48 +00:00
acpica Defer ACPI taskqueue creation to SI_SUB_KICK_SCHEDULER. 2017-07-05 17:39:17 +00:00
adb Force the setting of bit 7 in the sysmouse packet byte 1 to be unsigned. 2017-01-30 02:32:33 +00:00
adlink
advansys Remove dead mentions of CAM target mode APIs from drivers. 2017-02-19 17:27:58 +00:00
ae Fix a potentially forever loop. 2017-04-14 02:24:02 +00:00
age Remove dead code. 2017-04-14 08:27:42 +00:00
agp Add a helper function to agp(4) which installs a single GTT entry. 2017-07-09 22:53:24 +00:00
aha Remove dead mentions of CAM target mode APIs from drivers. 2017-02-19 17:27:58 +00:00
ahci Add some device IDs for Intel Denverton SoCs. 2017-06-21 00:30:57 +00:00
aic Remove pc98 support completely. 2017-01-28 02:22:15 +00:00
aic7xxx Include opt files in the kernel with "" instead of <>. 2017-07-10 05:08:01 +00:00
al_eth sys/dev: Replace zero with NULL for pointers. 2017-02-20 03:43:12 +00:00
alc alc: Add Killer E2500 support 2017-01-16 03:03:47 +00:00
ale
alpm
altera Merge enhancements to the ALTERA Avalon bus generic device attachment 2017-01-28 13:25:06 +00:00
amd_ecc_inject add a module that provides support for DRAM ECC error injection on AMD CPUs 2017-03-03 22:51:04 +00:00
amdpm
amdsbwd
amdsmb
amdtemp
amr Always null-terminate ccb_pathinq.(sim_vid|hba_vid|dev_name) 2017-01-04 20:26:42 +00:00
an sys/dev: Replace zero with NULL for pointers. 2017-02-20 03:43:12 +00:00
arcmsr Update arcmsr(4) to 1.40.00.00 in order to add support of 2017-07-14 14:53:13 +00:00
asmc [asmc] Add support for MacBook Pro 11,2 2017-02-17 18:49:18 +00:00
ata Remove dead mentions of CAM target mode APIs from drivers. 2017-02-19 17:27:58 +00:00
ath [ath_hal] if building with ALQ, ensure we actually depend upon ALQ. 2017-06-29 03:59:02 +00:00
atkbdc psm: add support for evdev protocol 2017-05-29 20:43:00 +00:00
auxio
axgbe Port the Linux AMX 10G network driver to FreeBSD as axgbe. It is unlikely 2017-02-15 13:56:04 +00:00
bce sys/dev: Replace zero with NULL for pointers. 2017-02-20 03:43:12 +00:00
beri sys/dev: Replace zero with NULL for pointers. 2017-02-20 03:43:12 +00:00
bfe
bge
bhnd [mips] [bhnd] Support of old PMU for BMIPS and siba SoC 2017-05-28 12:05:16 +00:00
bktr ioctl METEORGBRIG in bktr_core.c forgets to add 128 to value 2017-06-27 03:57:31 +00:00
bm
bnxt bnxt: Implement interrupt coalescing options using sysctl. 2017-07-25 15:33:34 +00:00
buslogic sys/dev: Replace zero with NULL for pointers. 2017-02-20 03:43:12 +00:00
bvm
bwi Fix drivers that assume ticks starts at zero. These drivers all have logic 2017-07-06 17:03:22 +00:00
bwn bwn(4): Fix trivial null dereference 2017-04-06 17:08:59 +00:00
bxe Add HPE FlexFabric 10Gb 4-port 536FLR-T device id to the bxe(4) driver. 2017-07-19 14:21:29 +00:00
cadence
cardbus
cas
ce dev/ce: double assignment. 2017-02-23 15:30:21 +00:00
cesa Enable proper configuration of CESA MBUS windows 2017-05-19 08:19:39 +00:00
cfe
cfi [cfi] fix CFI flash reset command for MX29LV320T/B. 2017-05-06 05:52:01 +00:00
chromebook_platform chromebook_platform: catch up with ig4iic -> ig4iic_pci in r310621 2017-02-25 15:55:46 +00:00
ciss In the same vein as r311350, fix whitespace in handling of XPT_PATH_INQ in 2017-01-05 03:08:57 +00:00
cm sys/dev: Replace zero with NULL for pointers. 2017-02-20 03:43:12 +00:00
cmx
coretemp
cp sys/dev: Replace zero with NULL for pointers. 2017-02-20 03:43:12 +00:00
cpuctl Update the list of cpudev ioctls which require write access. 2017-03-19 21:25:27 +00:00
cpufreq
cs Remove register keyword from sys/ and ANSIfy prototypes 2017-05-17 00:34:34 +00:00
ctau sys/dev: Replace zero with NULL for pointers. 2017-02-20 03:43:12 +00:00
cx sys/dev: Replace zero with NULL for pointers. 2017-02-20 03:43:12 +00:00
cxgb Clean up MD pollution of bus_dma.h: 2017-07-01 05:35:29 +00:00
cxgbe cxgbe(4): Some updates to the common code. 2017-07-26 20:20:58 +00:00
cy Revert r317446 and bring back cy(4). 2017-04-27 16:14:32 +00:00
cyapa
dc
dcons
de sys/dev: Replace zero with NULL for pointers. 2017-02-20 03:43:12 +00:00
dme Remove outdated comment. 2016-11-17 14:43:13 +00:00
dpaa Use UMA_ALIGN_PTR to specify pointer alignment 2017-05-12 04:10:02 +00:00
dpms
dpt Remove EISA support from dpt. Remove known EISA models from 2017-02-16 21:57:13 +00:00
drm Include opt files in the kernel with "" instead of <>. 2017-07-10 05:08:01 +00:00
drm2 Don't bother enqueuing a page immediately before freeing it. 2017-05-18 18:37:19 +00:00
dwc
e1000 Do not update stats counter in SWI context. Defer to the already existing 2017-07-21 17:42:54 +00:00
ed sys/dev: Replace zero with NULL for pointers. 2017-02-20 03:43:12 +00:00
efidev
ena Fix error check for Rx mbuf allocation in ENA driver 2017-07-10 22:11:30 +00:00
ep Remove EISA support for ep driver. Left in place EISA strings that are 2017-02-16 21:56:51 +00:00
esp Always null-terminate ccb_pathinq.(sim_vid|hba_vid|dev_name) 2017-01-04 20:26:42 +00:00
et
etherswitch Add support to 2.5G uplink for the MV88E6141 and MV88E6341 switches. 2017-06-20 18:11:23 +00:00
evdev Change my email address to wulf@FreeBSD.org in copyright headers. 2017-07-23 20:41:58 +00:00
ex remove archaic register keyword from ixgb and ex 2017-04-06 17:16:41 +00:00
exca Remove pc98 support completely. 2017-01-28 02:22:15 +00:00
extres Export a sysctl dev.<clkdom>.<unit>.clocks for each clock domain containing 2017-03-05 07:13:29 +00:00
fb Write-combine framebuffer writes through user-space mappings, if possible. 2017-04-20 15:18:15 +00:00
fdc Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
fdt Set the correct default for #address-cells variable when the property does 2017-04-30 07:31:48 +00:00
fe sys/dev: Replace zero with NULL for pointers. 2017-02-20 03:43:12 +00:00
ffec Convert from local code and constants for mac<->phy connection type to new 2017-06-11 00:44:19 +00:00
filemon
firewire firewire/sbp: try to improve locking, plus a few style nits 2017-03-07 16:07:52 +00:00
flash [mx25l] add new device ids. 2017-05-06 06:08:44 +00:00
fxp Remove unnecessary comparison. 2017-04-14 02:33:26 +00:00
gem
glxiic
glxsb
gpio [gpioths] new driver for temperature/humidity sensor DHT11 2017-01-16 15:36:36 +00:00
gxemul gxemul: 2017-02-06 11:37:20 +00:00
hdmi Add support for audio on I2S based DesignWare HDMI controllers. 2016-12-29 14:08:24 +00:00
hifn
hme
hpt27xx Clean redundant MIN/MAX declarations in some HighPoint drivers. 2017-02-10 15:18:41 +00:00
hptiop sys/dev: Replace zero with NULL for pointers. 2017-02-20 03:43:12 +00:00
hptmv hptmv: avoid gcc variably-modified warning 2017-07-06 05:32:22 +00:00
hptnr Clean redundant MIN/MAX declarations in some HighPoint drivers. 2017-02-10 15:18:41 +00:00
hptrr Clean redundant MIN/MAX declarations in some HighPoint drivers. 2017-02-10 15:18:41 +00:00
hwpmc Fix INVARIANTS debug code in HWPMC 2017-06-13 18:53:56 +00:00
hyperv hyperv/hn: Ignore LINK_SPEED_CHANGE status. 2017-07-24 04:00:43 +00:00
ic Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
ichiic [ig4] Add ACPI platform support for ig4 driver 2016-12-26 22:13:43 +00:00
ichsmb Add IDs for several missing Intel SMBus controllers. 2017-04-02 11:36:25 +00:00
ichwd Fixed TCO v3 tick convert 2017-03-01 05:18:43 +00:00
ida Remove support for EISA in the ida driver. Remove references to 2017-02-16 21:56:57 +00:00
if_ndis Fix regression in ndis(4) after r286410. This adds a bunch of checks for 2017-05-22 20:00:01 +00:00
iicbus Add support for tracking nested calls to iicbus_request/release_bus(). 2017-07-26 21:06:26 +00:00
iir Always null-terminate ccb_pathinq.(sim_vid|hba_vid|dev_name) 2017-01-04 20:26:42 +00:00
intel [intelspi] Add SPI driver for Intel BayTrail SoC 2016-12-27 22:37:24 +00:00
intpm
io
ioat ioat: don't specify inline for function with variable argument list 2017-03-04 12:51:57 +00:00
ipmi
ips
ipw
isci Include opt files in the kernel with "" instead of <>. 2017-07-10 05:08:01 +00:00
iscsi Listening sockets improvements. 2017-06-08 21:30:34 +00:00
iscsi_initiator Use getsock_cap() instead of deprecated fgetsock(). 2017-01-13 18:36:46 +00:00
iser
isl
ismt
isp "Port Type not registered" is not a real error for GIT_PT. 2017-07-10 06:25:30 +00:00
ispfw
iwi Fix drivers that assume ticks starts at zero. These drivers all have logic 2017-07-06 17:03:22 +00:00
iwm [iwm] Sync rs (rate-selection) API definitions from Linux iwlwifi. 2017-07-26 05:52:37 +00:00
iwn iwn: use correct mask for queue ids (0xf -> 0x1f). 2017-04-02 13:24:58 +00:00
ixgb Remove register keyword from sys/ and ANSIfy prototypes 2017-05-17 00:34:34 +00:00
ixgbe Drop ixgbe RX lock during TCP_LRO processing. This eliminates a "storm" 2017-07-25 14:38:30 +00:00
ixl ixl: gcc build errors 2017-07-14 00:10:51 +00:00
jedec_ts jedec_ts: add support for devices manufactured by IDT 2017-06-23 11:55:43 +00:00
jme Don't overwrite mapped bits. 2017-04-14 08:11:50 +00:00
joy
kbd Remove pc98 support completely. 2017-01-28 02:22:15 +00:00
kbdmux
ksyms
le sys/dev: Replace zero with NULL for pointers. 2017-02-20 03:43:12 +00:00
led
lge Remove register keyword from sys/ and ANSIfy prototypes 2017-05-17 00:34:34 +00:00
lmc
malo
mbox
mc146818
md Don't call vm_pager_page_unswapped() when writing or deleting a dirty page. 2017-06-14 03:55:11 +00:00
mdio
mem
mfi Clean up MD pollution of bus_dma.h: 2017-07-01 05:35:29 +00:00
mge
mii Add a driver for the Vitesse/Microsemi VSC8501 PHY. 2017-06-11 00:38:16 +00:00
mk48txx
mlx Remove references to EISA support in mlx. The driver never supported 2017-02-16 21:56:32 +00:00
mlx4 Make sure the mlx4en RX DMA ring gets stamped with software ownership 2017-07-10 19:26:50 +00:00
mlx5 Update io-mapping.h in the LinuxKPI. 2017-06-21 18:20:17 +00:00
mly In the same vein as r311350, fix whitespace in handling of XPT_PATH_INQ in 2017-01-05 03:08:57 +00:00
mmc Improve the clarity of a comment added in r321385 by not referring to 2017-07-25 20:36:44 +00:00
mmcnull Added mmcnull, an emulated lightweight MMC controller 2017-07-09 17:02:47 +00:00
mn
mpr Quiet a message that sounds far more dire than it really is. 2017-07-26 01:48:13 +00:00
mps Fix spurious timeouts on commands sent to mps(4) and mpr(4) controllers. 2017-07-19 15:39:01 +00:00
mpt mpt.h: macro parenthesization 2017-06-30 22:06:24 +00:00
mrsas Fix a typo introduced in r306024. 2017-01-23 21:09:27 +00:00
mse Remove register keyword from sys/ and ANSIfy prototypes 2017-05-17 00:34:34 +00:00
msk Remove unnecessary assignment. 2017-04-14 07:27:23 +00:00
mvs Remove dead mentions of CAM target mode APIs from drivers. 2017-02-19 17:27:58 +00:00
mwl [net80211] RX parameter shuffle in net80211 in preparation for 4x4 NICs and 160MHz channels. 2017-02-20 02:08:08 +00:00
mxge
my Remove register keyword from sys/ and ANSIfy prototypes 2017-05-17 00:34:34 +00:00
nand The nandsim(4) simulator driver doesn't have any protection against 2017-05-04 20:42:31 +00:00
ncr sys/dev: Replace zero with NULL for pointers. 2017-02-20 03:43:12 +00:00
nctgpio
ncv
neta Allow the use of extended media types with if_mvneta, so it can report 2.5G 2017-06-20 18:14:56 +00:00
netfpga10g/nf10bmac
netmap Restore the changes done in r313982: Replace zero with NULL for pointers. 2017-07-21 03:59:56 +00:00
nfe
nfsmb
nge
nmdm Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
nsp
ntb Report NTB link speed to console and interface. 2017-04-23 14:25:51 +00:00
null Add support for encrypted kernel crash dumps. 2016-12-10 16:20:39 +00:00
nvd Report random flash storage as non-rotating to GEOM_DISK. 2017-01-12 08:53:10 +00:00
nvme This adds CAM pass(4) support for NVMe IO's. Applications indicate 2017-07-14 14:52:20 +00:00
nvram
nvram2env
nxge
oce
ofw Update comment ot reflect realilty, we know also take care of CPUs that 2017-04-20 15:06:16 +00:00
otus net80211 drivers: fix rate setup for EAPOL frames, obtain Tx parameters 2017-02-26 20:49:35 +00:00
ow ow_temp: Update the temperature visible via the sysctl atomically, rather 2016-12-22 00:09:53 +00:00
pbio
pccard sys/dev: Replace zero with NULL for pointers. 2017-02-20 03:43:12 +00:00
pccbb Remove pc98 support completely. 2017-01-28 02:22:15 +00:00
pcf
pci Various fixes for PCI _OSC handling so HotPlug works again. 2017-04-27 16:32:42 +00:00
pcn Remove register keyword from sys/ and ANSIfy prototypes 2017-05-17 00:34:34 +00:00
pdq Remove EISA attachment (fea) from pdq driver. Remove vestiges of 2017-02-16 21:57:08 +00:00
pms sys/dev: Replace zero with NULL for pointers. 2017-02-20 03:43:12 +00:00
powermac_nvram
ppbus Remove register keyword from sys/ and ANSIfy prototypes 2017-05-17 00:34:34 +00:00
ppc Remove register keyword from sys/ and ANSIfy prototypes 2017-05-17 00:34:34 +00:00
proto
psci arm: add .arch_extension sec for smc instruction 2017-06-18 00:08:38 +00:00
pst
pty
puc
qlnx/qlnxe qlnx: gcc build errors 2017-07-18 06:15:05 +00:00
qlxgb Remove register keyword from sys/ and ANSIfy prototypes 2017-05-17 00:34:34 +00:00
qlxgbe Raise the watchdog timer interval to 2 ticks, there by guaranteeing 2017-07-19 19:08:37 +00:00
qlxge Remove register keyword from sys/ and ANSIfy prototypes 2017-05-17 00:34:34 +00:00
quicc
ral net80211 drivers: fix rate setup for EAPOL frames, obtain Tx parameters 2017-02-26 20:49:35 +00:00
random Replace the RC4 algorithm for generating in-kernel secure random 2017-04-16 09:11:02 +00:00
rc
rccgpio Fix rcc_gpio_modify_bits(). Obviously (1 << 0) is not the same as 0. 2016-12-31 02:23:15 +00:00
re
rl Remove register keyword from sys/ and ANSIfy prototypes 2017-05-17 00:34:34 +00:00
rndtest
rp
rt [mips] [rt2880] Add oldest Ralink MIPS SOC RT2880 support code. 2017-05-06 06:20:34 +00:00
rtwn rtwn: add Rx descriptor structures for common code. 2017-07-06 07:37:33 +00:00
safe
sbni sys/dev: Replace zero with NULL for pointers. 2017-02-20 03:43:12 +00:00
scc
sdhci o Add support for eMMC HS200 and HS400 bus speed modes at 200 MHz to 2017-07-23 16:11:47 +00:00
sec
sf
sfxge sfxge(4): compact the first hot part of RxQ control 2017-01-27 11:59:02 +00:00
sge
siba
siis Remove dead mentions of CAM target mode APIs from drivers. 2017-02-19 17:27:58 +00:00
sio Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
sis
sk
smbus
smc
sn sys/dev: Replace zero with NULL for pointers. 2017-02-20 03:43:12 +00:00
snp Commit the 64-bit inode project. 2017-05-23 09:29:05 +00:00
sound Declare the "snd_fxdiv_table" once. This shaves around 24Kbytes of 2017-05-25 05:23:47 +00:00
speaker Remove register keyword from sys/ and ANSIfy prototypes 2017-05-17 00:34:34 +00:00
spibus [spigen] make spigen device ready to be compiled as a module 2017-03-09 01:00:27 +00:00
ste
stg
stge
sym sys/dev: Replace zero with NULL for pointers. 2017-02-20 03:43:12 +00:00
syscons Fix attribute flipping for cut marking in pixel mode. The text-mode 2017-07-10 09:00:35 +00:00
tdfx
terasic
ti
tl Remove register keyword from sys/ and ANSIfy prototypes 2017-05-17 00:34:34 +00:00
tpm Remove dead code. 2017-04-06 22:21:49 +00:00
trm Remove dead mentions of CAM target mode APIs from drivers. 2017-02-19 17:27:58 +00:00
tsec Clean up MD pollution of bus_dma.h: 2017-07-01 05:35:29 +00:00
twa Update tw_cl_share.h to allow 255 LUNs 2017-03-01 04:40:57 +00:00
twe
tws Increase the number of LUNs this hardware can support. 2017-05-17 13:22:13 +00:00
tx
txp Remove unnecessary check aginst NULL. txp_ext_command() with 2017-04-14 03:23:03 +00:00
uart Fix device lookup of for the stdout-path chosen property. 2017-06-02 14:01:17 +00:00
ubsec
usb Put an #ifdef notyet wrapper around a function that's not being used yet, 2017-07-13 02:20:07 +00:00
vge
viapm
viawd
videomode
virtio vtnet: don't update VLAN filter when parent is not running 2017-02-13 21:44:29 +00:00
vkbd
vmware/vmxnet3 fix vmxnet3 crash when LRO is enabled 2017-05-25 10:49:56 +00:00
vnic Rework BGX detection to support both new and old firmware 2017-03-31 18:04:34 +00:00
vr
vt Use nitems(..) when computing max instead of the longhand version of 2017-06-14 02:28:10 +00:00
vte
vx sys/dev: Replace zero with NULL for pointers. 2017-02-20 03:43:12 +00:00
vxge vxge(4): Yet another (minor) mismatch. 2017-02-23 18:56:31 +00:00
watchdog Some cosmetic polishing for pre-timeouts. 2017-04-20 09:01:31 +00:00
wb Remove register keyword from sys/ and ANSIfy prototypes 2017-05-17 00:34:34 +00:00
wbwd
wi Fix unreachable code in wi_pci_resume(). 2017-03-15 09:31:58 +00:00
wpi net80211 drivers: fix rate setup for EAPOL frames, obtain Tx parameters 2017-02-26 20:49:35 +00:00
wtap
xdma Clean up MD pollution of bus_dma.h: 2017-07-01 05:35:29 +00:00
xe
xen Clean up MD pollution of bus_dma.h: 2017-07-01 05:35:29 +00:00
xilinx ofw_spi: Parse property for the SPI mode and CS polarity. 2016-12-18 14:54:20 +00:00
xl Remove register keyword from sys/ and ANSIfy prototypes 2017-05-17 00:34:34 +00:00