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

2019-08-13 Thread Tobias Nygren
Module Name:src Committed By: tnn Date: Tue Aug 13 17:24:25 UTC 2019 Modified Files: src/sys/arch/arm/dts: rk3399-rockpro64.dts Log Message: rk3399-rockpro64.dts: enable spi1 and add spiflash as a child node To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8

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

2019-08-13 Thread Tobias Nygren
Module Name:src Committed By: tnn Date: Tue Aug 13 17:24:25 UTC 2019 Modified Files: src/sys/arch/arm/dts: rk3399-rockpro64.dts Log Message: rk3399-rockpro64.dts: enable spi1 and add spiflash as a child node To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8

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

2019-08-13 Thread Tobias Nygren
Module Name:src Committed By: tnn Date: Tue Aug 13 17:21:01 UTC 2019 Modified Files: src/sys/arch/evbarm/conf: GENERIC64 Log Message: include the spiflash driver in the stock 64-bit kernel As it can be attached via fdt now. For Rockpro64. To generate a diff of this

CVS commit: src/sys/dev/spi

2019-08-13 Thread Tobias Nygren
Module Name:src Committed By: tnn Date: Tue Aug 13 17:11:32 UTC 2019 Modified Files: src/sys/dev/spi: m25p.c Log Message: m25p: add compatible entry for "jedec,spi-nor" and match on it To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/sys/dev/spi/m25p.c

CVS commit: src/sys

2019-08-13 Thread Tobias Nygren
nxi/sun4i_spi.c:1.3 Sun Aug 4 22:26:40 2019 +++ src/sys/arch/arm/sunxi/sun4i_spi.c Tue Aug 13 17:03:10 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: sun4i_spi.c,v 1.3 2019/08/04 22:26:40 tnn Exp $ */ +/* $NetBSD: sun4i_spi.c,v 1.4 2019/08/13 17:03:10 tnn Exp $ */ /* * Copyright (c) 2019 Tobias Nygren @@

CVS commit: src/sys/dev/spi

2019-08-13 Thread Tobias Nygren
Module Name:src Committed By: tnn Date: Tue Aug 13 17:11:32 UTC 2019 Modified Files: src/sys/dev/spi: m25p.c Log Message: m25p: add compatible entry for "jedec,spi-nor" and match on it To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/sys/dev/spi/m25p.c

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

2019-08-13 Thread Tobias Nygren
Module Name:src Committed By: tnn Date: Tue Aug 13 17:21:01 UTC 2019 Modified Files: src/sys/arch/evbarm/conf: GENERIC64 Log Message: include the spiflash driver in the stock 64-bit kernel As it can be attached via fdt now. For Rockpro64. To generate a diff of this

CVS commit: src/sys/dev/fdt

2019-08-13 Thread Tobias Nygren
Module Name:src Committed By: tnn Date: Tue Aug 13 16:46:49 UTC 2019 Modified Files: src/sys/dev/fdt: fdtvar.h files.fdt Added Files: src/sys/dev/fdt: fdt_spi.c Log Message: fdt: add SPI controller frontend To generate a diff of this commit: cvs rdiff -u -r0

CVS commit: src/sys/dev/fdt

2019-08-13 Thread Tobias Nygren
All rights reserved. + * + * This code is derived from software contributed to The NetBSD Foundation + * by Tobias Nygren. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions

CVS commit: src/sys/dev/spi

2019-08-13 Thread Tobias Nygren
Module Name:src Committed By: tnn Date: Tue Aug 13 16:37:15 UTC 2019 Modified Files: src/sys/dev/spi: spi.c spivar.h Log Message: spi: prepare for fdt direct attachment of spi slaves Introduce sba_child_devices array in spibus_attach_args. If the parent has populated

CVS commit: src/sys/dev/spi

2019-08-13 Thread Tobias Nygren
Module Name:src Committed By: tnn Date: Tue Aug 13 16:37:15 UTC 2019 Modified Files: src/sys/dev/spi: spi.c spivar.h Log Message: spi: prepare for fdt direct attachment of spi slaves Introduce sba_child_devices array in spibus_attach_args. If the parent has populated

CVS commit: src/sys/dev/ofw

2019-08-06 Thread Tobias Nygren
Module Name:src Committed By: tnn Date: Tue Aug 6 18:17:52 UTC 2019 Modified Files: src/sys/dev/ofw: ofw_subr.c openfirm.h Log Message: ofw: add of_enter_spi_devs helper method For translating OFW child nodes of SPI controller into "spi-child-devices" property. In

CVS commit: src/sys/dev/spi

2019-08-05 Thread Tobias Nygren
Module Name:src Committed By: tnn Date: Mon Aug 5 23:42:48 UTC 2019 Modified Files: src/sys/dev/spi: files.spi Log Message: spi: make the "slave" config(5) locator optional needed to be able to support FDT direct attachment of SPI slaves To generate a diff of this

CVS commit: src/sys/dev/spi

2019-08-05 Thread Tobias Nygren
Module Name:src Committed By: tnn Date: Mon Aug 5 23:42:48 UTC 2019 Modified Files: src/sys/dev/spi: files.spi Log Message: spi: make the "slave" config(5) locator optional needed to be able to support FDT direct attachment of SPI slaves To generate a diff of this

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

2019-08-05 Thread Tobias Nygren
Module Name:src Committed By: tnn Date: Mon Aug 5 15:30:37 UTC 2019 Modified Files: src/sys/arch/evbarm/conf: GENERIC64 Log Message: rkspi* at fdt? To generate a diff of this commit: cvs rdiff -u -r1.103 -r1.104 src/sys/arch/evbarm/conf/GENERIC64 Please note that

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

2019-08-05 Thread Tobias Nygren
Module Name:src Committed By: tnn Date: Mon Aug 5 15:30:37 UTC 2019 Modified Files: src/sys/arch/evbarm/conf: GENERIC64 Log Message: rkspi* at fdt? To generate a diff of this commit: cvs rdiff -u -r1.103 -r1.104 src/sys/arch/evbarm/conf/GENERIC64 Please note that

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

2019-08-05 Thread Tobias Nygren
The NetBSD Foundation, Inc. + * All rights reserved. + * + * This code is derived from software contributed to The NetBSD Foundation + * by Tobias Nygren. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions

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

2019-08-05 Thread Tobias Nygren
Module Name:src Committed By: tnn Date: Mon Aug 5 15:22:59 UTC 2019 Modified Files: src/sys/arch/arm/rockchip: files.rockchip Added Files: src/sys/arch/arm/rockchip: rk_spi.c Log Message: rk_spi: Rockchip SPI driver Match only on RK3399 for now, but should work

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

2019-08-04 Thread Tobias Nygren
19:56:42 tnn Exp $ */ +/* $NetBSD: sun4i_spi.c,v 1.3 2019/08/04 22:26:40 tnn Exp $ */ /* * Copyright (c) 2019 Tobias Nygren @@ -28,7 +28,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: sun4i_spi.c,v 1.2 2019/08/03 19:56:42 tnn Exp $"); +__KERNEL_RCSID(0, "$NetBSD: sun4i_spi.

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

2019-08-04 Thread Tobias Nygren
Module Name:src Committed By: tnn Date: Sun Aug 4 22:26:40 UTC 2019 Modified Files: src/sys/arch/arm/sunxi: sun4i_spi.c sun6i_spi.c Log Message: remove useless splbio() in sunxispi_start We raised spl already in sunxispi_transfer. XXX spi(4) should be made MPSAFE To

CVS commit: src/sys/dev/spi

2019-08-04 Thread Tobias Nygren
Module Name:src Committed By: tnn Date: Sun Aug 4 22:13:24 UTC 2019 Modified Files: src/sys/dev/spi: m25p.c Log Message: m25p: change devices recently added from 4kB "sector size" to 64kB ... ... even though it is wrong and these devices really use 4kB sector size.

CVS commit: src/sys/dev/spi

2019-08-04 Thread Tobias Nygren
Module Name:src Committed By: tnn Date: Sun Aug 4 22:13:24 UTC 2019 Modified Files: src/sys/dev/spi: m25p.c Log Message: m25p: change devices recently added from 4kB "sector size" to 64kB ... ... even though it is wrong and these devices really use 4kB sector size.

CVS commit: src/sys/dev/spi

2019-08-04 Thread Tobias Nygren
Module Name:src Committed By: tnn Date: Sun Aug 4 20:49:54 UTC 2019 Modified Files: src/sys/dev/spi: m25p.c Log Message: m25p: add GigaDevice 25Q127CSIG (This is the boot ROM found on ROCKPro64.) To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9

CVS commit: src/sys/dev/spi

2019-08-04 Thread Tobias Nygren
Module Name:src Committed By: tnn Date: Sun Aug 4 20:49:54 UTC 2019 Modified Files: src/sys/dev/spi: m25p.c Log Message: m25p: add GigaDevice 25Q127CSIG (This is the boot ROM found on ROCKPro64.) To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9

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

2019-08-04 Thread Tobias Nygren
Module Name:src Committed By: tnn Date: Sun Aug 4 17:09:07 UTC 2019 Modified Files: src/sys/arch/arm/rockchip: rk3399_cru.c Log Message: rk3399_cru: add definitions for SPI clocks To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9

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

2019-08-04 Thread Tobias Nygren
Module Name:src Committed By: tnn Date: Sun Aug 4 17:09:07 UTC 2019 Modified Files: src/sys/arch/arm/rockchip: rk3399_cru.c Log Message: rk3399_cru: add definitions for SPI clocks To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9

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

2019-08-03 Thread Tobias Nygren
Module Name:src Committed By: tnn Date: Sat Aug 3 19:56:42 UTC 2019 Modified Files: src/sys/arch/arm/sunxi: sun4i_spi.c Log Message: make function prototype consistent To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sys/arch/arm/sunxi/sun4i_spi.c

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

2019-08-03 Thread Tobias Nygren
Aug 3 13:28:42 2019 +++ src/sys/arch/arm/sunxi/sun4i_spi.c Sat Aug 3 19:56:42 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: sun4i_spi.c,v 1.1 2019/08/03 13:28:42 tnn Exp $ */ +/* $NetBSD: sun4i_spi.c,v 1.2 2019/08/03 19:56:42 tnn Exp $ */ /* * Copyright (c) 2019 Tobias Nygren @@ -28,7 +28,7

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

2019-08-03 Thread Tobias Nygren
unxi/sun6i_spi.c Sat Aug 3 14:42:24 2019 @@ -1,6 +1,7 @@ -/* $NetBSD: sun6i_spi.c,v 1.2 2018/02/01 14:50:36 jakllsch Exp $ */ +/* $NetBSD: sun6i_spi.c,v 1.3 2019/08/03 14:42:24 tnn Exp $ */ /* + * Copyright (c) 2019 Tobias Nygren * Copyright (c) 2018 Jonathan A. Kollasch * All rights rese

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

2019-08-03 Thread Tobias Nygren
Module Name:src Committed By: tnn Date: Sat Aug 3 13:33:10 UTC 2019 Modified Files: src/sys/arch/evbarm/conf: GENERIC Log Message: sun4ispi* at fdt? To generate a diff of this commit: cvs rdiff -u -r1.48 -r1.49 src/sys/arch/evbarm/conf/GENERIC Please note that diffs

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

2019-08-03 Thread Tobias Nygren
Module Name:src Committed By: tnn Date: Sat Aug 3 13:33:10 UTC 2019 Modified Files: src/sys/arch/evbarm/conf: GENERIC Log Message: sun4ispi* at fdt? To generate a diff of this commit: cvs rdiff -u -r1.48 -r1.49 src/sys/arch/evbarm/conf/GENERIC Please note that diffs

CVS commit: src/sys/dev/spi

2019-08-02 Thread Tobias Nygren
Module Name:src Committed By: tnn Date: Sat Aug 3 02:22:06 UTC 2019 Modified Files: src/sys/dev/spi: m25p.c Log Message: m25p: add some ~2010 vintage parts found in junk drawer To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/sys/dev/spi/m25p.c Please

CVS commit: src/sys/dev/spi

2019-08-02 Thread Tobias Nygren
Module Name:src Committed By: tnn Date: Sat Aug 3 02:22:06 UTC 2019 Modified Files: src/sys/dev/spi: m25p.c Log Message: m25p: add some ~2010 vintage parts found in junk drawer To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/sys/dev/spi/m25p.c Please

CVS commit: src/sys/dev/spi

2019-08-02 Thread Tobias Nygren
Module Name:src Committed By: tnn Date: Sat Aug 3 00:46:02 UTC 2019 Modified Files: src/sys/dev/spi: m25p.c Log Message: m25p: print vendor & device id before bailing out on unknown devices To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7

CVS commit: src/sys/dev/spi

2019-08-02 Thread Tobias Nygren
Module Name:src Committed By: tnn Date: Sat Aug 3 00:46:02 UTC 2019 Modified Files: src/sys/dev/spi: m25p.c Log Message: m25p: print vendor & device id before bailing out on unknown devices To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7

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

2019-08-01 Thread Tobias Nygren
Module Name:src Committed By: tnn Date: Thu Aug 1 22:23:16 UTC 2019 Modified Files: src/sys/arch/arm/sunxi: sun4i_a10_ccu.c Log Message: sun4i: enable clocks for SPI[0-3], needed by sun4i_spi To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11

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

2019-08-01 Thread Tobias Nygren
Module Name:src Committed By: tnn Date: Thu Aug 1 22:23:16 UTC 2019 Modified Files: src/sys/arch/arm/sunxi: sun4i_a10_ccu.c Log Message: sun4i: enable clocks for SPI[0-3], needed by sun4i_spi To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11

CVS commit: src/sys/dev/pci

2019-07-25 Thread Tobias Nygren
Module Name:src Committed By: tnn Date: Thu Jul 25 08:35:36 UTC 2019 Modified Files: src/sys/dev/pci: if_wm.c Log Message: wm: change one bus_dmamap_load_mbuf() to bus_dmamap_load() equivalent This makes wm work on aarch64, where the bus_dma implementation requires the

CVS commit: src/sys/arch

2019-07-24 Thread Tobias Nygren
Module Name:src Committed By: tnn Date: Wed Jul 24 23:13:46 UTC 2019 Modified Files: src/sys/arch/amd64/conf: ALL src/sys/arch/i386/conf: ALL Log Message: add ssdfb(4) to ALL To generate a diff of this commit: cvs rdiff -u -r1.119 -r1.120

CVS commit: src/sys/arch

2019-07-24 Thread Tobias Nygren
Module Name:src Committed By: tnn Date: Wed Jul 24 23:13:46 UTC 2019 Modified Files: src/sys/arch/amd64/conf: ALL src/sys/arch/i386/conf: ALL Log Message: add ssdfb(4) to ALL To generate a diff of this commit: cvs rdiff -u -r1.119 -r1.120

Re: CVS commit: src/usr.bin/printf

2019-07-22 Thread Tobias Nygren
On Tue, 23 Jul 2019 00:31:32 +0700 Robert Elz wrote: > Date:Mon, 22 Jul 2019 12:23:35 +0200 > From: Tobias Nygren > Message-ID: <20190722122335.55c0d421a18a082c8d67b...@netbsd.org> > > | Please exercise caution when changing establish

Re: CVS commit: src/usr.bin/printf

2019-07-22 Thread Tobias Nygren
On Sun, 21 Jul 2019 15:25:39 + Robert Elz wrote: > Module Name: src > Committed By: kre > Date: Sun Jul 21 15:25:39 UTC 2019 > > Modified Files: > src/usr.bin/printf: printf.c > > Log Message: > Stop assuming that printf handles options in any way at all > (it doesn't - that

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

2019-06-14 Thread Tobias Nygren
tnn Exp $ */ /*- * Copyright (c) 2019 Tobias Nygren @@ -28,7 +28,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: sunxi_hstimer.c,v 1.1 2019/06/14 21:26:36 tnn Exp $"); +__KERNEL_RCSID(0, "$NetBSD: sunxi_hstimer.c,v 1.2 2019/06/14 21:48:43 tnn Exp $"); #include

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

2019-06-14 Thread Tobias Nygren
Module Name:src Committed By: tnn Date: Fri Jun 14 21:28:10 UTC 2019 Modified Files: src/sys/arch/evbarm/conf: GENERIC Log Message: add sunxihstimer* at fdt? To generate a diff of this commit: cvs rdiff -u -r1.39 -r1.40 src/sys/arch/evbarm/conf/GENERIC Please note that

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

2019-06-14 Thread Tobias Nygren
Module Name:src Committed By: tnn Date: Fri Jun 14 21:28:10 UTC 2019 Modified Files: src/sys/arch/evbarm/conf: GENERIC Log Message: add sunxihstimer* at fdt? To generate a diff of this commit: cvs rdiff -u -r1.39 -r1.40 src/sys/arch/evbarm/conf/GENERIC Please note that

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

2019-06-14 Thread Tobias Nygren
Module Name:src Committed By: tnn Date: Fri Jun 14 21:26:36 UTC 2019 Modified Files: src/sys/arch/arm/sunxi: files.sunxi Added Files: src/sys/arch/arm/sunxi: sunxi_hstimer.c Log Message: sunxihstimer: add support for Allwinner High-Speed Timer To generate a diff

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

2019-06-14 Thread Tobias Nygren
/sunxi_hstimer.c:1.1 --- /dev/null Fri Jun 14 21:26:36 2019 +++ src/sys/arch/arm/sunxi/sunxi_hstimer.c Fri Jun 14 21:26:36 2019 @@ -0,0 +1,201 @@ +/* $NetBSD: sunxi_hstimer.c,v 1.1 2019/06/14 21:26:36 tnn Exp $ */ + +/*- + * Copyright (c) 2019 Tobias Nygren + * Copyright (c) 2017 Jared McNeill + * All

CVS commit: src/sys/dev/ic

2019-06-05 Thread Tobias Nygren
Module Name:src Committed By: tnn Date: Wed Jun 5 20:32:28 UTC 2019 Modified Files: src/sys/dev/ic: ssdfb.c Log Message: add missing kthread_exit To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/sys/dev/ic/ssdfb.c Please note that diffs are not public

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

2019-06-04 Thread Tobias Nygren
Module Name:src Committed By: tnn Date: Tue Jun 4 19:49:43 UTC 2019 Modified Files: src/sys/arch/arm/sunxi: sunxi_gpio.c Log Message: sunxi_gpio: set interrupt debounce filter to HOSC instead of LOSC This improves gpio ISR response time from ~1.5ms to ~5us. The

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

2019-06-04 Thread Tobias Nygren
Module Name:src Committed By: tnn Date: Tue Jun 4 19:49:43 UTC 2019 Modified Files: src/sys/arch/arm/sunxi: sunxi_gpio.c Log Message: sunxi_gpio: set interrupt debounce filter to HOSC instead of LOSC This improves gpio ISR response time from ~1.5ms to ~5us. The

CVS commit: src/sys/dev/ic

2019-06-04 Thread Tobias Nygren
Module Name:src Committed By: tnn Date: Tue Jun 4 16:36:18 UTC 2019 Modified Files: src/sys/dev/ic: ssdfb.c Log Message: revert previous as suggested by mrg IPL_SCHED is correct here To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/sys/dev/ic/ssdfb.c

CVS commit: src/sys/dev/ic

2019-06-04 Thread Tobias Nygren
Module Name:src Committed By: tnn Date: Tue Jun 4 16:36:18 UTC 2019 Modified Files: src/sys/dev/ic: ssdfb.c Log Message: revert previous as suggested by mrg IPL_SCHED is correct here To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/sys/dev/ic/ssdfb.c

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

2019-05-30 Thread Tobias Nygren
Module Name:src Committed By: tnn Date: Thu May 30 18:19:36 UTC 2019 Modified Files: src/sys/arch/arm/sunxi: sunxi_gpio.c Log Message: sunxi_gpio: implement the interrupt API in gpio_chipset_tag - advertise GPIO pins as interrupt capable via pin_intrcaps - split

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

2019-05-30 Thread Tobias Nygren
Module Name:src Committed By: tnn Date: Thu May 30 18:19:36 UTC 2019 Modified Files: src/sys/arch/arm/sunxi: sunxi_gpio.c Log Message: sunxi_gpio: implement the interrupt API in gpio_chipset_tag - advertise GPIO pins as interrupt capable via pin_intrcaps - split

CVS commit: src/sys/dev/ic

2019-05-30 Thread Tobias Nygren
Module Name:src Committed By: tnn Date: Thu May 30 07:37:17 UTC 2019 Modified Files: src/sys/dev/ic: ssdfb.c Log Message: - include uvm.h before uvm_device.h - don't need IPL_SCHED here To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/sys/dev/ic/ssdfb.c

CVS commit: src/sys/dev/ic

2019-05-30 Thread Tobias Nygren
Module Name:src Committed By: tnn Date: Thu May 30 07:37:17 UTC 2019 Modified Files: src/sys/dev/ic: ssdfb.c Log Message: - include uvm.h before uvm_device.h - don't need IPL_SCHED here To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/sys/dev/ic/ssdfb.c

CVS commit: src/sys/dev/i2c

2019-05-28 Thread Tobias Nygren
Module Name:src Committed By: tnn Date: Tue May 28 17:17:16 UTC 2019 Modified Files: src/sys/dev/i2c: ssdfb_i2c.c Log Message: remove superfluous parentheses To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/sys/dev/i2c/ssdfb_i2c.c Please note that diffs

CVS commit: src/sys/dev/i2c

2019-05-28 Thread Tobias Nygren
Module Name:src Committed By: tnn Date: Tue May 28 17:17:16 UTC 2019 Modified Files: src/sys/dev/i2c: ssdfb_i2c.c Log Message: remove superfluous parentheses To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/sys/dev/i2c/ssdfb_i2c.c Please note that diffs

Re: CVS commit: src/sys/ufs/ufs

2019-02-24 Thread Tobias Nygren
On Sun, 24 Feb 2019 19:06:40 + Michael van Elst wrote: > To generate a diff of this commit: > cvs rdiff -u -r1.242 -r1.243 src/sys/ufs/ufs/ufs_vnops.c > + rawbuf -= dropend; I guess this should be rawbufmax, not rawbuf.

Re: CVS commit: src/usr.bin/make

2015-10-16 Thread Tobias Nygren
On Mon, 12 Oct 2015 16:48:13 + "Simon J. Gerraty" wrote: > Module Name: src > Committed By: sjg > Date: Mon Oct 12 16:48:13 UTC 2015 > > Modified Files: > src/usr.bin/make: var.c > > Log Message: > The conditional expressions used with ':?' can be expensive

Re: CVS commit: src/sys/dev/ic (spdmem.c)

2015-04-02 Thread Tobias Nygren
On Thu, 02 Apr 2015 17:28:00 +0900 Masanobu SAITOH msai...@execsw.org wrote: A few weeks ago, I got a 2-way Xeon machine to test Intel X540 support. Afrer finishing X540 test, I noticed that the machine had DDR4. I tried to check the spdmem. It seemed that the machine's spdmem is not

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

2010-06-27 Thread Tobias Nygren
On Fri, 25 Jun 2010 04:03:14 + SAITOH Masanobu msai...@netbsd.org wrote: Modified Files: src/sys/dev/pci: if_wm.c if_wmreg.h Log Message: Add some code to support 82580[ER]. Tested on my own I340-T4. Hi, My wm0 does not attach anymore. Kernel from 2010-06-20: wm0 at pci3 dev 6

Re: CVS commit: src/sys

2010-06-20 Thread Tobias Nygren
On Tue, 1 Jun 2010 22:13:31 + Matt Fleming m...@netbsd.org wrote: Module Name: src Committed By: mjf Date: Tue Jun 1 22:13:30 UTC 2010 Modified Files: [snip] src/sys/sys: cdefs_elf.h Log Message: Add __cacheline_aligned and __read_mostly annotations. [snip] Hi,

Re: CVS commit: src/sys/dev/ic

2010-03-31 Thread Tobias Nygren
I wonder, does the device need the read, or is the bus_space_barrier() insufficient to flush the write to the device? I thave no idea. It works without the read on some machines - might be a quirk in the Blade 2500's hardware. Either way we can probably get rid of the

CVS commit: src/usr.bin/sed

2010-02-19 Thread Tobias Nygren
Module Name:src Committed By: tnn Date: Fri Feb 19 16:35:27 UTC 2010 Modified Files: src/usr.bin/sed: compile.c defs.h extern.h main.c misc.c Log Message: Merge the following revisions from OpenBSD to let sed(1) handle arbitrarily long lines (closes our PR bin/42261).

CVS commit: src/sys/dev/pci

2010-02-06 Thread Tobias Nygren
Module Name:src Committed By: tnn Date: Sat Feb 6 14:09:25 UTC 2010 Modified Files: src/sys/dev/pci: ichsmb.c Log Message: Attach to SMBus on Intel P55 chipset. To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22 src/sys/dev/pci/ichsmb.c Please note that

CVS commit: src/sys/arch

2010-01-07 Thread Tobias Nygren
Module Name:src Committed By: tnn Date: Thu Jan 7 18:49:30 UTC 2010 Modified Files: src/sys/arch/amd64/conf: GENERIC src/sys/arch/i386/conf: ALL GENERIC XBOX XEN3_DOM0 Log Message: uhmodem(4) is superseded by u3g(4) and u3ginit(4). Prepare for uhmodem(4) removal

Re: CVS commit: src/usr.bin/patch

2009-04-15 Thread Tobias Nygren
On Mon, 13 Apr 2009 00:07:26 + Luke Mewburn lu...@netbsd.org wrote: Modified Files: src/usr.bin/patch: inp.c Log Message: Fix sign-compare issue To generate a diff of this commit: cvs rdiff -u -r1.19 -r1.20 src/usr.bin/patch/inp.c What about platforms where off_t is too small

<    1   2   3