Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src/sys
Module Name: src
Committed By: thorpej
Date: Sun Dec 22 23:23:32 UTC 2019
Modified Files:
src/sys/arch/alpha/pci: tsciic.c tsvar.h
src/sys/arch/arm/at91: at91twi.c at91twivar.h
src/sys/arch/arm/iomd: iomdiic.c
src/sys/arch/arm/omap: omap3_i2c.c ti_iic.c
src/sys/arch/arm/rockchip: rk_i2c.c
src/sys/arch/arm/sunxi: sunxi_hdmi.c sunxi_rsb.c
src/sys/arch/arm/xscale: i80312_i2c.c i80321_i2c.c iopi2c.c iopi2cvar.h
src/sys/arch/evbarm/armadillo: armadillo9_iic.c
src/sys/arch/evbarm/gumstix: gxiic.c
src/sys/arch/evbarm/nslu2: nslu2_iic.c
src/sys/arch/hpcarm/dev: nbpiic.c
src/sys/arch/i386/pci: viapcib.c
src/sys/arch/macppc/dev: cuda.c ki2c.c pmu.c smu.c
src/sys/arch/macppc/macppc: memory.c
src/sys/arch/mips/alchemy/dev: ausmbus_psc.c
src/sys/arch/mips/ingenic: jziic.c
src/sys/arch/mips/ralink: ralink_i2c.c
src/sys/arch/mmeye/dev: rtciic.c
src/sys/arch/powerpc/ibm4xx/dev: gpiic_opb.c
src/sys/arch/sgimips/dev: crmfb.c
src/sys/arch/sparc64/dev: ffb.c jbus-i2c.c
src/sys/arch/x86/pci/imcsmb: imcsmb.c
src/sys/arch/zaurus/dev: ziic.c
src/sys/dev/acpi: smbus_acpi.c
src/sys/dev/gpio: gpioiic.c
src/sys/dev/i2c: gttwsi_core.c i2c.c i2c_exec.c i2cvar.h motoi2c.c
motoi2cvar.h
src/sys/dev/ic: dw_hdmi.c dw_hdmi.h dwiic.c pca9564.c pca9564var.h
pcf8584.c pcf8584var.h
src/sys/dev/pci: alipm.c amdpm_smbus.c amdpmvar.h coram.c cxdtv.c
ichsmb.c if_tl.c igma.c ismt.c nfsmb.c piixpm.c pm2fb.c pm3fb.c
radeonfb_i2c.c voodoofb.c voyager.c
src/sys/dev/usb: auvitek_i2c.c emdtv_i2c.c
Log Message:
Cleanup i2c bus acquire / release, centralizing all of the logic into
iic_acquire_bus() / iic_release_bus(). "acquire" and "release" hooks
no longer need to be provided by back-end controller drivers (only if
they need special handling, e.g. powering on the i2c controller).
This results in the removal of a bunch of rendundant code from each
back-end controller driver.
Assert that we are not in hard interrupt context in iic_acquire_bus(),
iic_exec(), and iic_release_bus().
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/alpha/pci/tsciic.c
cvs rdiff -u -r1.12 -r1.13 src/sys/arch/alpha/pci/tsvar.h
cvs rdiff -u -r1.7 -r1.8 src/sys/arch/arm/at91/at91twi.c
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/arm/at91/at91twivar.h
cvs rdiff -u -r1.8 -r1.9 src/sys/arch/arm/iomd/iomdiic.c
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/arm/omap/omap3_i2c.c
cvs rdiff -u -r1.10 -r1.11 src/sys/arch/arm/omap/ti_iic.c
cvs rdiff -u -r1.6 -r1.7 src/sys/arch/arm/rockchip/rk_i2c.c
cvs rdiff -u -r1.7 -r1.8 src/sys/arch/arm/sunxi/sunxi_hdmi.c \
src/sys/arch/arm/sunxi/sunxi_rsb.c
cvs rdiff -u -r1.6 -r1.7 src/sys/arch/arm/xscale/i80312_i2c.c
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/arm/xscale/i80321_i2c.c
cvs rdiff -u -r1.8 -r1.9 src/sys/arch/arm/xscale/iopi2c.c
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/arm/xscale/iopi2cvar.h
cvs rdiff -u -r1.8 -r1.9 src/sys/arch/evbarm/armadillo/armadillo9_iic.c
cvs rdiff -u -r1.8 -r1.9 src/sys/arch/evbarm/gumstix/gxiic.c
cvs rdiff -u -r1.9 -r1.10 src/sys/arch/evbarm/nslu2/nslu2_iic.c
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/hpcarm/dev/nbpiic.c
cvs rdiff -u -r1.16 -r1.17 src/sys/arch/i386/pci/viapcib.c
cvs rdiff -u -r1.23 -r1.24 src/sys/arch/macppc/dev/cuda.c
cvs rdiff -u -r1.26 -r1.27 src/sys/arch/macppc/dev/ki2c.c
cvs rdiff -u -r1.32 -r1.33 src/sys/arch/macppc/dev/pmu.c
cvs rdiff -u -r1.7 -r1.8 src/sys/arch/macppc/dev/smu.c
cvs rdiff -u -r1.6 -r1.7 src/sys/arch/macppc/macppc/memory.c
cvs rdiff -u -r1.12 -r1.13 src/sys/arch/mips/alchemy/dev/ausmbus_psc.c
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/mips/ingenic/jziic.c
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/mips/ralink/ralink_i2c.c
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/mmeye/dev/rtciic.c
cvs rdiff -u -r1.9 -r1.10 src/sys/arch/powerpc/ibm4xx/dev/gpiic_opb.c
cvs rdiff -u -r1.45 -r1.46 src/sys/arch/sgimips/dev/crmfb.c
cvs rdiff -u -r1.63 -r1.64 src/sys/arch/sparc64/dev/ffb.c
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/sparc64/dev/jbus-i2c.c
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/x86/pci/imcsmb/imcsmb.c
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/zaurus/dev/ziic.c
cvs rdiff -u -r1.13 -r1.14 src/sys/dev/acpi/smbus_acpi.c
cvs rdiff -u -r1.8 -r1.9 src/sys/dev/gpio/gpioiic.c
cvs rdiff -u -r1.8 -r1.9 src/sys/dev/i2c/gttwsi_core.c
cvs rdiff -u -r1.70 -r1.71 src/sys/dev/i2c/i2c.c
cvs rdiff -u -r1.12 -r1.13 src/sys/dev/i2c/i2c_exec.c
cvs rdiff -u -r1.18 -r1.19 src/sys/dev/i2c/i2cvar.h
cvs rdiff -u -r1.6 -r1.7 src/sys/dev/i2c/motoi2c.c
cvs rdiff -u -r1.5 -r1.6 src/sys/dev/i2c/motoi2cvar.h
cvs rdiff -u -r1.6 -r1.7 src/sys/dev/ic/dw_hdmi.c
cvs rdiff -u -r1.5 -r1.6 src/sys/dev/ic/dw_hdmi.h src/sys/dev/ic/dwiic.c \
src/sys/dev/ic/pcf8584var.h
cvs rdiff -u -r1.2 -r1.3 src/sys/dev/ic/pca9564.c
cvs rdiff -u -r1.1 -r1.2 src/sys/dev/ic/pca9564var.h
cvs rdiff -u -r1.15 -r1.16 src/sys/dev/ic/pcf8584.c
cvs rdiff -u -r1.10 -r1.11 src/sys/dev/pci/alipm.c
cvs rdiff -u -r1.22 -r1.23 src/sys/dev/pci/amdpm_smbus.c
cvs rdiff -u -r1.11 -r1.12 src/sys/dev/pci/amdpmvar.h
cvs rdiff -u -r1.16 -r1.17 src/sys/dev/pci/coram.c src/sys/dev/pci/cxdtv.c
cvs rdiff -u -r1.62 -r1.63 src/sys/dev/pci/ichsmb.c
cvs rdiff -u -r1.117 -r1.118 src/sys/dev/pci/if_tl.c
cvs rdiff -u -r1.3 -r1.4 src/sys/dev/pci/igma.c
cvs rdiff -u -r1.6 -r1.7 src/sys/dev/pci/ismt.c
cvs rdiff -u -r1.24 -r1.25 src/sys/dev/pci/nfsmb.c
cvs rdiff -u -r1.54 -r1.55 src/sys/dev/pci/piixpm.c
cvs rdiff -u -r1.30 -r1.31 src/sys/dev/pci/pm2fb.c
cvs rdiff -u -r1.4 -r1.5 src/sys/dev/pci/pm3fb.c
cvs rdiff -u -r1.2 -r1.3 src/sys/dev/pci/radeonfb_i2c.c
cvs rdiff -u -r1.52 -r1.53 src/sys/dev/pci/voodoofb.c
cvs rdiff -u -r1.14 -r1.15 src/sys/dev/pci/voyager.c
cvs rdiff -u -r1.4 -r1.5 src/sys/dev/usb/auvitek_i2c.c
cvs rdiff -u -r1.1 -r1.2 src/sys/dev/usb/emdtv_i2c.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index