CVS commit: src/sys/dev/i2c

2019-12-23 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Mon Dec 23 14:26:19 UTC 2019 Modified Files: src/sys/dev/i2c: i2c_exec.c Log Message: Disable the not-in-interrupt assertions for now; more work needs to be done in several i2c client drivers. To generate a diff of this

CVS commit: src/sys/dev/i2c

2019-12-23 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Mon Dec 23 14:34:23 UTC 2019 Modified Files: src/sys/dev/i2c: axppmic.c Log Message: In axppmic_power_poweroff(), check for errors from iic_acquire_bus() before proceeding with writing to the device. To generate a diff of this

CVS commit: src/sys/dev/i2c

2019-12-23 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Mon Dec 23 14:43:03 UTC 2019 Modified Files: src/sys/dev/i2c: lm87.c Log Message: No need to use I2C_F_POLL here. To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/sys/dev/i2c/lm87.c Please note that diffs are

CVS commit: src/sys/dev/i2c

2019-12-23 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Mon Dec 23 14:41:41 UTC 2019 Modified Files: src/sys/dev/i2c: lm75.c Log Message: No need to use I2C_F_POLL here. To generate a diff of this commit: cvs rdiff -u -r1.34 -r1.35 src/sys/dev/i2c/lm75.c Please note that diffs are

CVS commit: src/sys/dev/i2c

2019-12-23 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Mon Dec 23 14:48:58 UTC 2019 Modified Files: src/sys/dev/i2c: mcp980x.c Log Message: No need to use I2C_F_POLL here. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/sys/dev/i2c/mcp980x.c Please note that diffs

CVS commit: src/sys/dev/i2c

2019-12-23 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Mon Dec 23 14:50:44 UTC 2019 Modified Files: src/sys/dev/i2c: mpl115a.c Log Message: No need to use I2C_F_POLL here. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/sys/dev/i2c/mpl115a.c Please note that diffs

CVS commit: src/sys/dev/i2c

2019-12-23 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Mon Dec 23 14:55:22 UTC 2019 Modified Files: src/sys/dev/i2c: spdmem_i2c.c Log Message: No need to use I2C_F_POLL here. To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18 src/sys/dev/i2c/spdmem_i2c.c Please note

CVS commit: src/sys/dev/i2c

2019-12-23 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Mon Dec 23 15:05:32 UTC 2019 Modified Files: src/sys/dev/i2c: tda19988.c Log Message: No need to check 'cold' for I2C_F_POLL; the i2c code does it for us. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4

CVS commit: src/sys/dev/i2c

2019-12-23 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Mon Dec 23 15:07:42 UTC 2019 Modified Files: src/sys/dev/i2c: titemp.c Log Message: No need to use I2C_F_POLL here. To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/sys/dev/i2c/titemp.c Please note that diffs

CVS commit: src/sys/dev/i2c

2019-12-23 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Mon Dec 23 15:25:08 UTC 2019 Modified Files: src/sys/dev/i2c: tvpll.c Log Message: No need to use I2C_F_POLL here. To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/sys/dev/i2c/tvpll.c Please note that diffs are

CVS commit: src/sys/dev/ic

2019-12-23 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Mon Dec 23 15:28:08 UTC 2019 Modified Files: src/sys/dev/ic: dwiic.c Log Message: dwiic_i2c_exec(): No need to check 'cold' to force I2C_F_POLL; the i2c upper layer does it for us. To generate a diff of this commit: cvs rdiff

CVS commit: src/sys/dev/ic

2019-12-23 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Mon Dec 23 15:29:36 UTC 2019 Modified Files: src/sys/dev/ic: pcf8584.c Log Message: pcfiic_i2c_exec(): No need to check 'cold' to force I2C_F_POLL; the i2c upper layer does it for us. To generate a diff of this commit: cvs

CVS commit: src/sys/dev/pci

2019-12-23 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Mon Dec 23 15:31:31 UTC 2019 Modified Files: src/sys/dev/pci: coram.c Log Message: No need to use I2C_F_POLL here. To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18 src/sys/dev/pci/coram.c Please note that diffs

CVS commit: src/sys/dev/pci

2019-12-23 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Mon Dec 23 15:32:29 UTC 2019 Modified Files: src/sys/dev/pci: cxdtv.c Log Message: No need to use I2C_F_POLL here. To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18 src/sys/dev/pci/cxdtv.c Please note that diffs

CVS commit: src/sys/arch/xen

2019-12-23 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Mon Dec 23 13:35:37 UTC 2019 Modified Files: src/sys/arch/xen/include: intr.h src/sys/arch/xen/x86: xen_intr.c Log Message: Provide XEN stubs for intr_mask() / intr_unmask(). To generate a diff of this commit: cvs

CVS commit: src/sys/arch/arm

2019-12-23 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Mon Dec 23 15:34:23 UTC 2019 Modified Files: src/sys/arch/arm/acpi: acpi_machdep.c src/sys/arch/arm/pic: pic.c picvar.h Log Message: Implement acpi_md_intr_mask and acpi_md_intr_unmask To generate a diff of this

CVS commit: src/sys/dev/pci

2019-12-23 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Mon Dec 23 15:34:40 UTC 2019 Modified Files: src/sys/dev/pci: ichsmb.c Log Message: ichsmb_i2c_exec(): No need to check 'cold' to force I2C_F_POLL; the i2c upper layer does it for us. To generate a diff of this commit: cvs

CVS commit: src/sys/dev/pci

2019-12-23 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Mon Dec 23 15:41:34 UTC 2019 Modified Files: src/sys/dev/pci: piixpm.c Log Message: piixpm_i2c_exec(): No need to check 'cold' to force I2C_F_POLL; the i2c upper layer does it for us. To generate a diff of this commit: cvs

CVS commit: src/sys/dev/i2c

2019-12-23 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Mon Dec 23 15:48:51 UTC 2019 Modified Files: src/sys/dev/i2c: as3722.c Log Message: In as3722_poweroff and as3722_reboot(), check for errors from iic_acquire_bus() before proceeding with writing to the device. To generate a

CVS commit: src/sys/dev/i2c

2019-12-23 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Mon Dec 23 15:51:50 UTC 2019 Modified Files: src/sys/dev/i2c: at24cxx.c Log Message: Oops, missed one more instance of unneeded-I2C_F_POLL. To generate a diff of this commit: cvs rdiff -u -r1.34 -r1.35

CVS commit: src/sys/arch/arm/pic

2019-12-23 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Mon Dec 23 15:51:47 UTC 2019 Modified Files: src/sys/arch/arm/pic: pic.c picvar.h Log Message: Add reference counts to intr_mask/intr_unmask as calls can be nested, spotted by thorpej To generate a diff of this commit: cvs

CVS commit: src/sys/dev/dm

2019-12-23 Thread Tomohiro Kusumi
Module Name:src Committed By: tkusumi Date: Mon Dec 23 16:17:36 UTC 2019 Modified Files: src/sys/dev/dm: dm.h dm_ioctl.c dm_target.c dm_target_error.c dm_target_zero.c Log Message: dm: Make target's ->table() optional Since ->info() (counter part of ->table()

CVS commit: src/sys/dev/i2c

2019-12-23 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Mon Dec 23 18:49:14 UTC 2019 Modified Files: src/sys/dev/i2c: max77620.c Log Message: - No need to use I2C_F_POLL here. - Use a local mutex to protect register read-modify-write cycles. To generate a diff of this commit: cvs

CVS commit: src/sys/dev/i2c

2019-12-23 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Mon Dec 23 19:20:18 UTC 2019 Modified Files: src/sys/dev/i2c: max77620.c Log Message: Actually, the local mutex is unnecesary; the i2c bus lock is held across all register r/m/w cycles, so we can just piggy back on that. (I

CVS commit: src/sys/dev/i2c

2019-12-23 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Mon Dec 23 20:49:09 UTC 2019 Modified Files: src/sys/dev/i2c: tea5767.c Log Message: No need to use I2C_F_POLL here. Also fix an uninitialized error variable in tea5767_read(). To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/dev/i2c

2019-12-23 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Mon Dec 23 18:03:14 UTC 2019 Modified Files: src/sys/dev/i2c: cx24227.c Log Message: In cx24227_writereg() / cx24227_readreg(), return the error from iic_acquire_bus(), not some bogus return value that can potentially be

CVS commit: src/share/tmac

2019-12-23 Thread Valeriy E. Ushakov
Module Name:src Committed By: uwe Date: Mon Dec 23 20:17:33 UTC 2019 Modified Files: src/share/tmac: doc2html Log Message: Fix if/else syntax in previous. To generate a diff of this commit: cvs rdiff -u -r1.69 -r1.70 src/share/tmac/doc2html Please note that diffs are

CVS commit: src/sys/dev/i2c

2019-12-23 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Mon Dec 23 19:00:59 UTC 2019 Modified Files: src/sys/dev/i2c: nxt2k.c Log Message: - No need to use I2C_F_POLL here. - If iic_acquire_bus() fails, return the error, not false (because false looks like "everything A-OK!" to the

CVS commit: src/sys/arch/ews4800mips/conf

2019-12-23 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Dec 23 19:30:12 UTC 2019 Modified Files: src/sys/arch/ews4800mips/conf: RAMDISK Log Message: Add a comment where the other memory disk is defined to avoid future confusion. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/dev/i2c

2019-12-23 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Mon Dec 23 21:24:59 UTC 2019 Modified Files: src/sys/dev/i2c: tps65217pmic.c Log Message: - No need to use I2C_F_POLL here. - Refactor register read / write functions, splitting out i2c bus acquire / release everywhere. This

CVS commit: src/sys/arch/arm/sunxi

2019-12-23 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Mon Dec 23 18:20:02 UTC 2019 Modified Files: src/sys/arch/arm/sunxi: sunxi_hdmi.c Log Message: No need to use I2C_F_POLL here. To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/sys/arch/arm/sunxi/sunxi_hdmi.c

CVS commit: src/sys/dev/i2c

2019-12-23 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Mon Dec 23 19:22:46 UTC 2019 Modified Files: src/sys/dev/i2c: fan53555.c Log Message: No need to use I2C_F_POLL here. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/sys/dev/i2c/fan53555.c Please note that

CVS commit: src/lib/libpam/modules/pam_unix

2019-12-23 Thread Jeremy C. Reed
Module Name:src Committed By: reed Date: Mon Dec 23 17:51:58 UTC 2019 Modified Files: src/lib/libpam/modules/pam_unix: pam_unix.8 Log Message: Simply Subsection headers There was a formatting issue with mandoc showing the literal "Ss" macros. I reported this bug to

CVS commit: src/sys/dev/i2c

2019-12-23 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Mon Dec 23 18:09:06 UTC 2019 Modified Files: src/sys/dev/i2c: cx24227.c Log Message: No need to use I2C_F_POLL here. To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/sys/dev/i2c/cx24227.c Please note that

CVS commit: src/sys/dev/i2c

2019-12-23 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Mon Dec 23 19:12:22 UTC 2019 Modified Files: src/sys/dev/i2c: axp20x.c Log Message: - Don't read/write the device if iic_acquire_bus() fails. - axp20x_poweroff(): report the error code if power off fails. - Don't use polled

CVS commit: src/sys/dev/i2c

2019-12-23 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Mon Dec 23 19:35:07 UTC 2019 Modified Files: src/sys/dev/i2c: sy8106a.c Log Message: No need to use I2C_F_POLL here. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/sys/dev/i2c/sy8106a.c Please note that diffs

CVS commit: src/sys/dev/i2c

2019-12-23 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Mon Dec 23 18:57:30 UTC 2019 Modified Files: src/sys/dev/i2c: mt2131.c Log Message: - No need to use I2C_F_POLL here. - Don't write to the device if iic_acquire_bus() fails. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/arch/ews4800mips/stand/boot

2019-12-23 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Dec 23 19:28:04 UTC 2019 Modified Files: src/sys/arch/ews4800mips/stand/boot: Makefile Log Message: Bump size. To generate a diff of this commit: cvs rdiff -u -r1.23 -r1.24 src/sys/arch/ews4800mips/stand/boot/Makefile

CVS commit: src/sys/uvm

2019-12-23 Thread Andrew Doran
Module Name:src Committed By: ad Date: Mon Dec 23 19:29:03 UTC 2019 Modified Files: src/sys/uvm: uvm_pdpolicy_clock.c Log Message: uvmpdpol_selectvictim: don't assert wire_count == 0, as we can (safely) race with object owner and wired pages can very briefly appear on the

CVS commit: src/sys/dev/i2c

2019-12-23 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Mon Dec 23 20:38:08 UTC 2019 Modified Files: src/sys/dev/i2c: tcakp.c Log Message: - Don't use I2C_F_POLL. - Don't access the i2c from hard interrupt context. Instead, schedule a soft interrupt to do the real work. (No need

CVS commit: src/share/man/man8

2019-12-23 Thread Jeremy C. Reed
Module Name:src Committed By: reed Date: Mon Dec 23 17:31:54 UTC 2019 Modified Files: src/share/man/man8: hpcboot.8 Log Message: Simplify Subsection formatting Had a formatting issue with mandoc but not groff. Reported to mandoc developer. Bug in mandoc but was

CVS commit: src/sys/dev/i2c

2019-12-23 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Mon Dec 23 18:27:11 UTC 2019 Modified Files: src/sys/dev/i2c: i2c.c Log Message: No need to use I2C_F_POLL here. To generate a diff of this commit: cvs rdiff -u -r1.71 -r1.72 src/sys/dev/i2c/i2c.c Please note that diffs are

CVS commit: src/sys/dev/i2c

2019-12-23 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Mon Dec 23 18:12:50 UTC 2019 Modified Files: src/sys/dev/i2c: ddc.c Log Message: No need to use I2C_F_POLL here. To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/sys/dev/i2c/ddc.c Please note that diffs are not

CVS commit: src/sys/dev/i2c

2019-12-23 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Mon Dec 23 19:38:58 UTC 2019 Modified Files: src/sys/dev/i2c: tcagpio.c Log Message: No need to use I2C_F_POLL here. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/sys/dev/i2c/tcagpio.c Please note that diffs

CVS commit: src/sys/dev/pci

2019-12-23 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Mon Dec 23 23:31:23 UTC 2019 Modified Files: src/sys/dev/pci: piixpm.c Log Message: Fix number of port for Hudson rev. 0x1f and newer. Same as OpenBSD and Linux. To generate a diff of this commit: cvs rdiff -u -r1.56 -r1.57

CVS commit: src/sys/dev/pci

2019-12-23 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Mon Dec 23 23:41:43 UTC 2019 Modified Files: src/sys/dev/pci: piixpm.c piixpmreg.h Log Message: - Read SB800_SMB_HOSTC correctly. This register is not in the PCI config space but in the I/O space. - The bit 0 of

CVS commit: src/doc

2019-12-23 Thread Sevan Janiyan
Module Name:src Committed By: sevan Date: Mon Dec 23 23:12:00 UTC 2019 Modified Files: src/doc: 3RDPARTY Log Message: bsd-family-tree To generate a diff of this commit: cvs rdiff -u -r1.1681 -r1.1682 src/doc/3RDPARTY Please note that diffs are not public domain; they

CVS commit: src/share/misc

2019-12-23 Thread Sevan Janiyan
Module Name:src Committed By: sevan Date: Mon Dec 23 23:11:01 UTC 2019 Modified Files: src/share/misc: bsd-family-tree Log Message: Update to r355063 To generate a diff of this commit: cvs rdiff -u -r1.76 -r1.77 src/share/misc/bsd-family-tree Please note that diffs are

CVS commit: src/share/misc

2019-12-23 Thread Sevan Janiyan
Module Name:src Committed By: sevan Date: Mon Dec 23 23:31:18 UTC 2019 Modified Files: src/share/misc: acronyms Log Message: AVB To generate a diff of this commit: cvs rdiff -u -r1.290 -r1.291 src/share/misc/acronyms Please note that diffs are not public domain; they

CVS commit: src/sys/dev/pci

2019-12-23 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Tue Dec 24 06:27:17 UTC 2019 Modified Files: src/sys/dev/pci: ichsmb.c piixpm.c Log Message: Make ichsmb and piixpm MP-safe: - Synchronize with the interrupt handler using a mutex. - Use a condvar to wait for completion, rather

CVS commit: src/sys/dev/pci

2019-12-23 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Tue Dec 24 03:43:34 UTC 2019 Modified Files: src/sys/dev/pci: piixpm.c piixpmreg.h Log Message: Don't force using SMBUS0SEL register. - Use it depending on USE_SMBUS0SEL bit. - If we use SMBUS0EN_LO register to select the port,

CVS commit: src/sys/dev/ic

2019-12-23 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Tue Dec 24 05:00:19 UTC 2019 Modified Files: src/sys/dev/ic: gem.c Log Message: Fix error path in gem(4)'s TX checksum offload. - Avoid accessing free'd m0 on error. Use m_freem() instead of m_free(). Reported by maxv@. -

CVS commit: src/sys/dev/pci/ixgbe

2019-12-23 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Mon Dec 23 09:19:40 UTC 2019 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c Log Message: Add missing core lock in ixgbe_handle_mod(). To generate a diff of this commit: cvs rdiff -u -r1.217 -r1.218

CVS commit: src/sys/dev/pci/ixgbe

2019-12-23 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Mon Dec 23 09:36:18 UTC 2019 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c ixgbe_82598.c ixgbe_82599.c ixgbe_phy.c ixgbe_type.h ixgbe_x550.c Log Message: Add recovery code for unsupported SFP+. Before this commit: