CVS commit: src/sys/dev/mii
Module Name:src Committed By: msaitoh Date: Mon Jun 18 09:11:03 UTC 2018 Modified Files: src/sys/dev/mii: mii.h Log Message: - Rename ENP (Extended Next Page) to XNP. - Add ANLPAR_XNP bit. - Add definitions for RF1 and RF2 (for 1000BASE-X) . - Rename MII_ANNP (Autonegotiation next page transmit) register to MII_ANNPT. - Add bit definitions for MII_ANNPT and MII_ANLPRNP. - Remove GTSR_LP_ASM_DIR bit. This is not described in the 802.3 spec now and no any NetBSD drivers use the definition. To generate a diff of this commit: cvs rdiff -u -r1.22 -r1.23 src/sys/dev/mii/mii.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev/mii
Module Name:src Committed By: msaitoh Date: Mon Jun 18 09:12:17 UTC 2018 Modified Files: src/sys/dev/mii: e1000phyreg.h makphy.c Log Message: - All of Marvell PHY's registers from addr 0x0 to 0xf conforms IEEE 802.3 specification, so those register definitions are not required. Use mii.h's definitions. Note that E1000_ER_PAR_DETECT_FAULT should be 0x0010 instead of 0x0100(typo). - Restore code for BMCR_ISO which was removed in makphy.c rev. 1.44 - Whitespace fix. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sys/dev/mii/e1000phyreg.h cvs rdiff -u -r1.44 -r1.45 src/sys/dev/mii/makphy.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net
Module Name:src Committed By: yamaguchi Date: Mon Jun 18 09:49:05 UTC 2018 Modified Files: src/sys/net: if_pppoe.c Log Message: Fix not to use PPPOE_UNLOCK before acccess to pppoe_softc to avoid a race condition According to the locking order of pppoe(4), the access to pppoe_softc has to follow 5 steps as below. 1. aquire pppoe_softc_list_lock 2. aquire pppoe_softc lock 3. release pppoe_softc_list_lock 4. access to pppoe_softc 5. release pppoe_softc lock However, pppoe_dispatch_disc_pkt() releases the lock of pppoe_softc temporarily, and then re-aquires it before step 4 of the adove. So, it is possible for other contexts to destroy a pppoe_softc in the interim. To fix this condition, avoid PPPOE_UNLOCK with the problem. ok by knakahara@n.o To generate a diff of this commit: cvs rdiff -u -r1.138 -r1.139 src/sys/net/if_pppoe.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net
Module Name:src Committed By: yamaguchi Date: Mon Jun 18 09:53:45 UTC 2018 Modified Files: src/sys/net: if_pppoe.c Log Message: Fix to aquire pppoe_softc_list_lock before read and write the list ok by knakahara@n.o To generate a diff of this commit: cvs rdiff -u -r1.139 -r1.140 src/sys/net/if_pppoe.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev/i2c
Module Name:src Committed By: jakllsch Date: Mon Jun 18 12:42:29 UTC 2018 Modified Files: src/sys/dev/i2c: gttwsi_core.c Log Message: Bail early if gttwsi_send_start() fails in gttwsi_initiate_xfer() to avoid unexpected state error message later (on Allwinner H5). To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/sys/dev/i2c/gttwsi_core.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/arch/evbarm/include
Module Name:src Committed By: jmcneill Date: Mon Jun 18 13:05:20 UTC 2018 Modified Files: src/sys/arch/evbarm/include: bootconfig.h Log Message: Pull in opt_bootconfig.h for DRAM_BLOCKS To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/sys/arch/evbarm/include/bootconfig.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/bin/ed
Module Name:src Committed By: christos Date: Mon Jun 18 14:56:24 UTC 2018 Modified Files: src/bin/ed: main.c Log Message: Prevent shell execution also in the 'r ! dobad' case, pointed out by Martijn van Duren, thanks! XXX: pullup-8 To generate a diff of this commit: cvs rdiff -u -r1.29 -r1.30 src/bin/ed/main.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-8] src/usr.sbin/ofctl
Module Name:src Committed By: martin Date: Mon Jun 18 15:31:49 UTC 2018 Modified Files: src/usr.sbin/ofctl [netbsd-8]: ofctl.8 Log Message: Pull up following revision(s) (requested by sevan in ticket #882): usr.sbin/ofctl/ofctl.8: revision 1.6 usr.sbin/ofctl/ofctl.8: revision 1.7 Merge single-letter options. Use more markup. Document -l, -r, and -w, based on input by jmcneill@ Bump date. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.4.52.1 src/usr.sbin/ofctl/ofctl.8 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-8] src/sys/arch/arm
Module Name:src Committed By: martin Date: Mon Jun 18 15:34:34 UTC 2018 Modified Files: src/sys/arch/arm/arm [netbsd-8]: psci.c src/sys/arch/arm/fdt [netbsd-8]: psci_fdt.c Log Message: Pull up following revision(s) (requested by jakllsch in ticket #883): sys/arch/arm/fdt/psci_fdt.c: revision 1.5 sys/arch/arm/arm/psci.c: revision 1.2 Use correct value for PSCI 0.2+ PSCI_CPU_ON. Fix PSCI 0.1 detection. To generate a diff of this commit: cvs rdiff -u -r1.1.4.2 -r1.1.4.3 src/sys/arch/arm/arm/psci.c cvs rdiff -u -r1.1.4.2 -r1.1.4.3 src/sys/arch/arm/fdt/psci_fdt.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys
Module Name:src Committed By: thorpej Date: Mon Jun 18 15:36:54 UTC 2018 Modified Files: src/sys/kern: subr_autoconf.c src/sys/sys: device.h Log Message: Add device_compatible_match(), a generalized routine for weighted matching of device_compatible_entry data to a device's "compatible" strings. To generate a diff of this commit: cvs rdiff -u -r1.257 -r1.258 src/sys/kern/subr_autoconf.c cvs rdiff -u -r1.152 -r1.153 src/sys/sys/device.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-8] src/sys/arch/powerpc/powerpc
Module Name:src Committed By: martin Date: Mon Jun 18 15:37:46 UTC 2018 Modified Files: src/sys/arch/powerpc/powerpc [netbsd-8]: trap.c Log Message: Pull up following revision(s) (requested by uwe in ticket #884): sys/arch/powerpc/powerpc/trap.c: revision 1.154 In mtmsr emulation ignore PSL_VEC we set in mfmsr emulation just above, as it freaks out PSL_USEROK_P(). This is also congruent with how we handle PSL_FP. PR port-macppc/53360 To generate a diff of this commit: cvs rdiff -u -r1.153 -r1.153.6.1 src/sys/arch/powerpc/powerpc/trap.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-8] src/sys/dev/ic
Module Name:src Committed By: martin Date: Mon Jun 18 15:39:49 UTC 2018 Modified Files: src/sys/dev/ic [netbsd-8]: dwc_gmac.c Log Message: Pull up following revision(s) (requested by jmcneill in ticket #885): sys/dev/ic/dwc_gmac.c: revision 1.47 Avoid calling bus_dmamap_sync with len=0 To generate a diff of this commit: cvs rdiff -u -r1.40.6.3 -r1.40.6.4 src/sys/dev/ic/dwc_gmac.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-8] src/share/mk
Module Name:src Committed By: martin Date: Mon Jun 18 15:42:29 UTC 2018 Modified Files: src/share/mk [netbsd-8]: bsd.sys.mk Log Message: Pull up following revision(s) (requested by christos in ticket #886): share/mk/bsd.sys.mk: revision 1.282 The compat build plays games with MAKEOBJDIR and unsets MAKEOBJDIRPREFIX. Keep using our standard NETBSDOBJDIR if it was set. To generate a diff of this commit: cvs rdiff -u -r1.271.4.2 -r1.271.4.3 src/share/mk/bsd.sys.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-8] src/doc
Module Name:src Committed By: martin Date: Mon Jun 18 15:44:05 UTC 2018 Modified Files: src/doc [netbsd-8]: CHANGES-8.0 Log Message: Tickets #882, #883, #884, #885 and #886 To generate a diff of this commit: cvs rdiff -u -r1.1.2.211 -r1.1.2.212 src/doc/CHANGES-8.0 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/kern
Module Name:src Committed By: thorpej Date: Mon Jun 18 16:31:42 UTC 2018 Modified Files: src/sys/kern: subr_autoconf.c Log Message: Fix a silly mistake in device_compatible_entry_matches() that I made while re-factoring this from a prior version. (I booted the wrong kernel when testing, oops.) To generate a diff of this commit: cvs rdiff -u -r1.258 -r1.259 src/sys/kern/subr_autoconf.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys
Module Name:src Committed By: thorpej Date: Mon Jun 18 17:07:07 UTC 2018 Modified Files: src/sys/arch/macppc/dev: deq.c smusat.c src/sys/arch/sparc64/dev: pcf8591_envctrl.c src/sys/dev/i2c: adadc.c adm1021.c adm1026.c as3722.c at24cxx.c axp20x.c axp22x.c dbcool.c ds1307.c dstemp.c fcu.c i2c.c i2cvar.h ihidev.c lm75.c lm87.c max77620.c pcf8563.c sy8106a.c tcagpio.c tcakp.c titemp.c tsl256x.c Log Message: - Rename iic_compat_match() to iic_compatible_match() and change it to use the new device_compatible_match() routine. A pointer to the matching device_compatible_entry is returned if a match is found. - Adjust iic_use_direct_match() accordingly. - i2c drivers now provide device_compatible_entry tables when performing direct-config matching. - In the dsrtc driver, take advantage of this new capability to greatly simplify model selection. (I'm coming for you next, of_compat_data...) To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15 src/sys/arch/macppc/dev/deq.c cvs rdiff -u -r1.4 -r1.5 src/sys/arch/macppc/dev/smusat.c cvs rdiff -u -r1.7 -r1.8 src/sys/arch/sparc64/dev/pcf8591_envctrl.c cvs rdiff -u -r1.4 -r1.5 src/sys/dev/i2c/adadc.c src/sys/dev/i2c/axp22x.c \ src/sys/dev/i2c/fcu.c src/sys/dev/i2c/max77620.c \ src/sys/dev/i2c/tsl256x.c cvs rdiff -u -r1.17 -r1.18 src/sys/dev/i2c/adm1021.c cvs rdiff -u -r1.3 -r1.4 src/sys/dev/i2c/adm1026.c src/sys/dev/i2c/ihidev.c cvs rdiff -u -r1.13 -r1.14 src/sys/dev/i2c/as3722.c cvs rdiff -u -r1.26 -r1.27 src/sys/dev/i2c/at24cxx.c src/sys/dev/i2c/ds1307.c cvs rdiff -u -r1.11 -r1.12 src/sys/dev/i2c/axp20x.c cvs rdiff -u -r1.49 -r1.50 src/sys/dev/i2c/dbcool.c cvs rdiff -u -r1.2 -r1.3 src/sys/dev/i2c/dstemp.c src/sys/dev/i2c/sy8106a.c \ src/sys/dev/i2c/tcagpio.c cvs rdiff -u -r1.62 -r1.63 src/sys/dev/i2c/i2c.c cvs rdiff -u -r1.14 -r1.15 src/sys/dev/i2c/i2cvar.h cvs rdiff -u -r1.31 -r1.32 src/sys/dev/i2c/lm75.c cvs rdiff -u -r1.8 -r1.9 src/sys/dev/i2c/lm87.c cvs rdiff -u -r1.9 -r1.10 src/sys/dev/i2c/pcf8563.c cvs rdiff -u -r1.7 -r1.8 src/sys/dev/i2c/tcakp.c cvs rdiff -u -r1.5 -r1.6 src/sys/dev/i2c/titemp.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/usr.bin/patch
Module Name:src Committed By: christos Date: Mon Jun 18 18:33:31 UTC 2018 Modified Files: src/usr.bin/patch: inp.c pch.c util.c util.h Log Message: Keep things portable (requested by joerg) by not depending on reallocarr and instead doing the overflow check ourselves. To generate a diff of this commit: cvs rdiff -u -r1.25 -r1.26 src/usr.bin/patch/inp.c cvs rdiff -u -r1.29 -r1.30 src/usr.bin/patch/pch.c cvs rdiff -u -r1.27 -r1.28 src/usr.bin/patch/util.c cvs rdiff -u -r1.12 -r1.13 src/usr.bin/patch/util.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/arch/x86/x86
Module Name:src Committed By: maxv Date: Mon Jun 18 20:20:27 UTC 2018 Modified Files: src/sys/arch/x86/x86: fpu.c Log Message: Add more KASSERTs, see if they help PR/53383. To generate a diff of this commit: cvs rdiff -u -r1.37 -r1.38 src/sys/arch/x86/x86/fpu.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev/ic
Module Name:src Committed By: jmcneill Date: Mon Jun 18 22:57:18 UTC 2018 Modified Files: src/sys/dev/ic: dwc_gmac.c Log Message: Clear IFF_RUNNING | IFF_OACTIVE when stopping interface. To generate a diff of this commit: cvs rdiff -u -r1.47 -r1.48 src/sys/dev/ic/dwc_gmac.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/share/man/man9
Module Name:src Committed By: pgoyette Date: Mon Jun 18 23:40:14 UTC 2018 Modified Files: src/share/man/man9: module.9 Log Message: The whole point of my recent addition of the specificdata(9) man page was so it could be cross-referenced here. So, add the xref. To generate a diff of this commit: cvs rdiff -u -r1.48 -r1.49 src/share/man/man9/module.9 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev/ic
Module Name:src Committed By: jmcneill Date: Mon Jun 18 23:50:35 UTC 2018 Modified Files: src/sys/dev/ic: dwc_gmac.c Log Message: Write MAC address high register before low register. Apparently the hardware updates the filter when the low register is written. To generate a diff of this commit: cvs rdiff -u -r1.48 -r1.49 src/sys/dev/ic/dwc_gmac.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/arch/arm/rockchip
Module Name:src Committed By: jmcneill Date: Tue Jun 19 01:24:17 UTC 2018 Modified Files: src/sys/arch/arm/rockchip: rk_cru_composite.c Log Message: rk_cru_composite_set_rate: allow selection of parent clocks in different domains To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/sys/arch/arm/rockchip/rk_cru_composite.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev/i2c
Module Name:src Committed By: thorpej Date: Tue Jun 19 02:08:12 UTC 2018 Modified Files: src/sys/dev/i2c: axppmic.c Log Message: Use the device_compatible_entry mechanism rather than of_compat_data; all of the OF / FDT data we need is already in the i2c_attach_args. To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/sys/dev/i2c/axppmic.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/kern
Module Name:src Committed By: thorpej Date: Tue Jun 19 04:10:51 UTC 2018 Modified Files: src/sys/kern: subr_autoconf.c Log Message: Sigh, fix another stupid mistake in previous that squeaked by because, again, I booted the wrong test kernel. To generate a diff of this commit: cvs rdiff -u -r1.259 -r1.260 src/sys/kern/subr_autoconf.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev/mii
Module Name:src Committed By: msaitoh Date: Tue Jun 19 05:14:16 UTC 2018 Modified Files: src/sys/dev/mii: miidevs Log Message: All of 88E151[0248]'s model number is 0x001d. To generate a diff of this commit: cvs rdiff -u -r1.128 -r1.129 src/sys/dev/mii/miidevs Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev/mii
Module Name:src Committed By: msaitoh Date: Tue Jun 19 05:14:36 UTC 2018 Modified Files: src/sys/dev/mii: miidevs.h miidevs_data.h Log Message: Regen. To generate a diff of this commit: cvs rdiff -u -r1.131 -r1.132 src/sys/dev/mii/miidevs.h cvs rdiff -u -r1.119 -r1.120 src/sys/dev/mii/miidevs_data.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.