svn commit: r356077 - head/sys/conf

2019-12-25 Thread Ian Lepore
Author: ian Date: Wed Dec 25 17:26:51 2019 New Revision: 356077 URL: https://svnweb.freebsd.org/changeset/base/356077 Log: For riscv kernel builds, add -N to LDFLAGS instead of replacing the SYSTEM_LD variable. This avoids duplicating the contents of SYSTEM_LD from kern.pre.mk just to add

svn commit: r356031 - head/stand/i386/gptboot

2019-12-22 Thread Ian Lepore
Author: ian Date: Sun Dec 22 22:33:22 2019 New Revision: 356031 URL: https://svnweb.freebsd.org/changeset/base/356031 Log: In gptboot, don't assume a partition number is a single digit, 1-9. GPT partitions can have 128 partitions, so parse contiguous digits and then validate that the

svn commit: r355860 - in head/sys: arm/freescale/imx arm64/rockchip

2019-12-17 Thread Ian Lepore
Author: ian Date: Tue Dec 17 17:03:03 2019 New Revision: 355860 URL: https://svnweb.freebsd.org/changeset/base/355860 Log: Remove unnecessary MODULE_DEPEND() from imx_i2c.c, and also from rk_i2c where it got copied to. Modified: head/sys/arm/freescale/imx/imx_i2c.c

svn commit: r355858 - head/sys/dev/ow

2019-12-17 Thread Ian Lepore
Author: ian Date: Tue Dec 17 15:56:48 2019 New Revision: 355858 URL: https://svnweb.freebsd.org/changeset/base/355858 Log: Update owc_gpiobus (one-wire over gpio) to the modern gpio_pin interface. It used to be required that a device be a child of gpiobus(4) to manipulate gpio pins. That

svn commit: r355780 - in head/sys: arm/arm arm/include kern sys

2019-12-15 Thread Ian Lepore
Author: ian Date: Sun Dec 15 21:16:35 2019 New Revision: 355780 URL: https://svnweb.freebsd.org/changeset/base/355780 Log: Rewrite arm kernel stack unwind code to work when unwinding through modules. The arm kernel stack unwinder has apparently never been able to unwind when the path of

svn commit: r355777 - head/usr.bin/uniq

2019-12-15 Thread Ian Lepore
Author: ian Date: Sun Dec 15 18:05:18 2019 New Revision: 355777 URL: https://svnweb.freebsd.org/changeset/base/355777 Log: Support --all-repeats in uniq(1) for compatibility with gnu coreutils. This adds a new -D/--all-repeats option to uniq(1), which outputs each copy of any repeated

svn commit: r355738 - head/sys/modules/i2c/ads111x

2019-12-13 Thread Ian Lepore
Author: ian Date: Fri Dec 13 23:22:49 2019 New Revision: 355738 URL: https://svnweb.freebsd.org/changeset/base/355738 Log: Include ofw_bus_if.h in SRCS only on systems configured with the FDT option. Modified: head/sys/modules/i2c/ads111x/Makefile Modified:

svn commit: r355688 - head/sys/dev/iicbus

2019-12-12 Thread Ian Lepore
Author: ian Date: Fri Dec 13 02:20:26 2019 New Revision: 355688 URL: https://svnweb.freebsd.org/changeset/base/355688 Log: If device_delete_children() returns an error, bail on the rest of the detach work and return the error. Especially don't call iicbus_reset() since the most likely

svn commit: r355685 - head/sys/dev/iicbus

2019-12-12 Thread Ian Lepore
/ads111x.c Fri Dec 13 01:34:25 2019 (r355684) +++ head/sys/dev/iicbus/ads111x.c Fri Dec 13 01:38:48 2019 (r355685) @@ -1,4 +1,6 @@ /*- + * SPDX-License-Identifier: BSD-2-Clause + * * Copyright (c) 2019 Ian Lepore. * * Redistribution and use in source and binary forms

svn commit: r355598 - head/sys/dev/ow

2019-12-10 Thread Ian Lepore
Author: ian Date: Tue Dec 10 21:48:21 2019 New Revision: 355598 URL: https://svnweb.freebsd.org/changeset/base/355598 Log: Do not attach children of owc_gpiobus until interrupts are working. The children of the bus need to do IO on the bus to probe for hardware presence. Doing IO means

svn commit: r355572 - in head: share/man/man4 sys/dev/usb/serial

2019-12-09 Thread Ian Lepore
Author: ian Date: Mon Dec 9 21:55:44 2019 New Revision: 355572 URL: https://svnweb.freebsd.org/changeset/base/355572 Log: Allow baud rates of 1,228,800 and 1,843,200 on CP2101/2/3 usb-serial adapters. The datasheets for these chips claim the maximum is 921,600, but testing shows these

svn commit: r355565 - head/sys/dev/gpio

2019-12-09 Thread Ian Lepore
Author: ian Date: Mon Dec 9 19:00:39 2019 New Revision: 355565 URL: https://svnweb.freebsd.org/changeset/base/355565 Log: Switch gpioths(4) from using a callout to a taskqueue for periodic polling of the sensor hardware. Part of the polling process involves signalling the chip then

svn commit: r355551 - head/share/man/man4

2019-12-08 Thread Ian Lepore
Author: ian Date: Mon Dec 9 04:15:01 2019 New Revision: 31 URL: https://svnweb.freebsd.org/changeset/base/31 Log: Connect the gpioths(4) manpage to the build. Modified: head/share/man/man4/Makefile Modified: head/share/man/man4/Makefile

svn commit: r355550 - head/sys/dev/gpio

2019-12-08 Thread Ian Lepore
) 2019 Ian Lepore * Copyright (c) 2016 Michael Zhilin All rights reserved. + * Copyright (c) 2019 Ian Lepore * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions

svn commit: r355549 - head/sys/dev/gpio

2019-12-08 Thread Ian Lepore
) 2016 Michael Zhilin - * All rights reserved. + * SPDX-License-Identifier: BSD-2-Clause * + * Copyright (c) 2019 Ian Lepore + * Copyright (c) 2016 Michael Zhilin All rights reserved. + * * Redistribution and use in source and binary forms, with or without * modification, are permitted

svn commit: r355548 - head/share/man/man4

2019-12-08 Thread Ian Lepore
\" Copyright (c) 2019 Ian Lepore +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copy

svn commit: r355547 - head/share/man/man4

2019-12-08 Thread Ian Lepore
Author: ian Date: Mon Dec 9 02:29:16 2019 New Revision: 355547 URL: https://svnweb.freebsd.org/changeset/base/355547 Log: Fix a typo: the sysctl command is in chapter 8 of the manual, not 4. Modified: head/share/man/man4/ads111x.4 Modified: head/share/man/man4/ads111x.4

svn commit: r355540 - head/sys/dev/gpio

2019-12-08 Thread Ian Lepore
Author: ian Date: Mon Dec 9 00:30:05 2019 New Revision: 355540 URL: https://svnweb.freebsd.org/changeset/base/355540 Log: Add FDT support to the gpioths driver. It now uses the newer gpio_pin_*() API and can attach based on either hints or fdt data. Modified: head/sys/dev/gpio/gpioths.c

svn commit: r355535 - head/sys/dev/gpio

2019-12-08 Thread Ian Lepore
Author: ian Date: Sun Dec 8 21:12:33 2019 New Revision: 355535 URL: https://svnweb.freebsd.org/changeset/base/355535 Log: Add a MODULE_DEPEND() for the gpioths driver. Also, note that the prior commit changed the sysctl format for the temperature from "I" to "IK", and correspondingly

svn commit: r355533 - head/sys/dev/gpio

2019-12-08 Thread Ian Lepore
Author: ian Date: Sun Dec 8 20:42:58 2019 New Revision: 355533 URL: https://svnweb.freebsd.org/changeset/base/355533 Log: Add support for more chips to the gpioths driver. Previously the driver supported the DHT11 sensor. Now it supports DHT11, DHT12, DHT21, DHT22, AM3201, AM3202.

svn commit: r355532 - head/sys/dev/gpio

2019-12-08 Thread Ian Lepore
Author: ian Date: Sun Dec 8 20:36:13 2019 New Revision: 355532 URL: https://svnweb.freebsd.org/changeset/base/355532 Log: Simplify sysctl stuff in the gpioths driver. There is no need to use local functions to handle the sysctls, they all just access simple readonly integer variables.

svn commit: r355531 - head/sys/dev/gpio

2019-12-08 Thread Ian Lepore
Author: ian Date: Sun Dec 8 20:13:42 2019 New Revision: 355531 URL: https://svnweb.freebsd.org/changeset/base/355531 Log: Several small fixes for the gpioths (temp/humidity sensor) driver. At the end of a read cycle, set the gpio pin to INPUT rather than OUTPUT. The state of the

svn commit: r355499 - in head/sys/modules/gpio: . gpioths

2019-12-07 Thread Ian Lepore
Author: ian Date: Sat Dec 7 17:54:40 2019 New Revision: 355499 URL: https://svnweb.freebsd.org/changeset/base/355499 Log: Add module build stuff for gpioths(4), a driver for DHT11/DHT22 sensors. Added: head/sys/modules/gpio/gpioths/ head/sys/modules/gpio/gpioths/Makefile (contents,

svn commit: r355467 - head/sys/dev/gpio

2019-12-06 Thread Ian Lepore
Author: ian Date: Fri Dec 6 22:32:06 2019 New Revision: 355467 URL: https://svnweb.freebsd.org/changeset/base/355467 Log: Implement bus_rescan for gpiobus(4). This allows on-the-fly reconfiguration of gpio devices by using kenv to add hints for a new device and then do 'devctl rescan

Re: svn commit: r355461 - head/sys/arm/mv

2019-12-06 Thread Ian Lepore
On Fri, 2019-12-06 at 20:05 +, Luiz Otavio O Souza wrote: > Author: loos > Date: Fri Dec 6 20:05:08 2019 > New Revision: 355461 > URL: https://svnweb.freebsd.org/changeset/base/355461 > > Log: > Fix the ARM64 build, include the necessary header. > > While here, call

Re: svn commit: r355444 - in head/sys: arm/mv arm64/conf conf

2019-12-06 Thread Ian Lepore
On Fri, 2019-12-06 at 12:55 +, Luiz Otavio O Souza wrote: > Author: loos > Date: Fri Dec 6 12:55:39 2019 > New Revision: 355444 > URL: https://svnweb.freebsd.org/changeset/base/355444 > > Log: > Add the SPI driver for the Marvell Armada 37x0 SoC. > > Interrupt based driver, implements

svn commit: r355439 - in head/sys/arm: arm include

2019-12-05 Thread Ian Lepore
Author: ian Date: Fri Dec 6 03:48:35 2019 New Revision: 355439 URL: https://svnweb.freebsd.org/changeset/base/355439 Log: Declare the global kernel symbols created by ldscript.arm in arm's machdep.h, and remove a couple scattered local declarations. Most of these aren't referenced in C

Re: svn commit: r355301 - head/usr.sbin/bhyve

2019-12-05 Thread Ian Lepore
On Thu, 2019-12-05 at 11:21 -0800, Rodney W. Grimes wrote: > > On 12/4/19 9:35 PM, Rodney W. Grimes wrote: > > > > I see, thanks for the pointers. > > > > It looks like cfmakeraw() and tcsetattr() were what I was > > > > looking for. > > > > A bhyve-specific printf wrapper looks the right solution

Re: svn commit: r355407 - head/sys/fs/tmpfs

2019-12-05 Thread Ian Lepore
On Thu, 2019-12-05 at 10:05 -0800, Enji Cooper wrote: > > On Dec 5, 2019, at 05:36, Konstantin Belousov > > wrote: > > ... > > > > Could you elaborate on the why/rationale? > > > > > > Is there memory wastage/duplication, bug(s), performance or > > > development/maintenance benefit? > > > >

svn commit: r355411 - head/share/man/man7

2019-12-04 Thread Ian Lepore
Author: ian Date: Thu Dec 5 04:18:22 2019 New Revision: 355411 URL: https://svnweb.freebsd.org/changeset/base/355411 Log: Fix a trivial typo and add a missing word. Modified: head/share/man/man7/arch.7 Modified: head/share/man/man7/arch.7

Re: svn commit: r355137 - head/sys/vm

2019-12-03 Thread Ian Lepore
On Tue, 2019-12-03 at 12:59 -0800, Ryan Libby wrote: > > +* XXX UMA_ZONE_OFFPAGE. All over freebsd we have cryptic XXX comments that have no meaning to anyone except whoever wrote them (and, I suspect, no meaning to those people either after a couple months have elapsed). To the degree

Re: svn commit: r355301 - head/usr.sbin/bhyve

2019-12-03 Thread Ian Lepore
On Mon, 2019-12-02 at 23:22 -0800, Rodney W. Grimes wrote: > > On Mon, 2019-12-02 at 20:51 +, Vincenzo Maffione wrote: > > > Author: vmaffione > > > Date: Mon Dec 2 20:51:46 2019 > > > New Revision: 355301 > > > URL: https://svnweb.freebsd.org/changeset/base/355301 > > > > > > Log: > > >

Re: svn commit: r355301 - head/usr.sbin/bhyve

2019-12-02 Thread Ian Lepore
On Mon, 2019-12-02 at 22:35 +0100, Vincenzo Maffione wrote: > Il giorno lun 2 dic 2019 alle ore 22:14 Ian Lepore > ha > scritto: > > > On Mon, 2019-12-02 at 20:51 +, Vincenzo Maffione wrote: > > > Author: vmaffione > > > Date: Mon Dec 2 20:51:46 2019

Re: svn commit: r355301 - head/usr.sbin/bhyve

2019-12-02 Thread Ian Lepore
On Mon, 2019-12-02 at 20:51 +, Vincenzo Maffione wrote: > Author: vmaffione > Date: Mon Dec 2 20:51:46 2019 > New Revision: 355301 > URL: https://svnweb.freebsd.org/changeset/base/355301 > > Log: > bhyve: uniform printf format string newlines > > Some of the printf statements only use

svn commit: r355298 - head/sys/dev/gpio

2019-12-02 Thread Ian Lepore
Author: ian Date: Mon Dec 2 19:57:20 2019 New Revision: 355298 URL: https://svnweb.freebsd.org/changeset/base/355298 Log: Do not initialize the flags field in struct gpiobus_pin from the flags in struct gpio_pin. It turns out these two sets of flags are completely unrelated to each other.

svn commit: r355295 - head/sys/dev/gpio

2019-12-02 Thread Ian Lepore
2 16:15:18 2019(r355295) @@ -2,7 +2,7 @@ * SPDX-License-Identifier: BSD-2-Clause * * Copyright (c) 2009 Oleksandr Tymoshenko - * Copyright (c) 2010 Luiz Otavio O Souza All rights reserved. + * Copyright (c) 2010 Luiz Otavio O Souza * Copyright (c) 2019 Ian Lepore * * Redistributi

svn commit: r355277 - head/sys/dev/gpio

2019-12-01 Thread Ian Lepore
Author: ian Date: Mon Dec 2 00:00:26 2019 New Revision: 355277 URL: https://svnweb.freebsd.org/changeset/base/355277 Log: Fix leading whitespace (spaces->tabs) in comments; no functional change. Modified: head/sys/dev/gpio/gpioiic.c Modified: head/sys/dev/gpio/gpioiic.c

svn commit: r355276 - in head: share/man/man4 sys/dev/gpio

2019-12-01 Thread Ian Lepore
BSD-2-Clause-FreeBSD + * SPDX-License-Identifier: BSD-2-Clause * * Copyright (c) 2009 Oleksandr Tymoshenko - * Copyright (c) 2010 Luiz Otavio O Souza - * All rights reserved. + * Copyright (c) 2010 Luiz Otavio O Souza All rights reserved. + * Copyright (c) 2019 Ian Lepore * * Redistribution and use in

svn commit: r355274 - head/sys/dev/gpio

2019-12-01 Thread Ian Lepore
Author: ian Date: Sun Dec 1 21:27:09 2019 New Revision: 355274 URL: https://svnweb.freebsd.org/changeset/base/355274 Log: Move most of the gpio_pin_* functions from ofw_gpiobus.c to gpiobus.c so that they can be used by drivers on non-FDT-configured systems. Only the functions related to

Re: svn commit: r355164 - in head: . share/man/man4 sys/amd64/conf sys/conf sys/dev/trm sys/i386/conf sys/modules sys/modules/trm

2019-11-30 Thread Ian Lepore
On Sat, 2019-11-30 at 11:25 -0800, Enji Cooper wrote: > > On Nov 30, 2019, at 11:01 AM, Warner Losh wrote: > > > > On Sat, Nov 30, 2019 at 11:58 AM Enji Cooper > > wrote: > > > > > On Nov 30, 2019, at 10:03 AM, Warner Losh > > > wrote: >

svn commit: r355239 - head/sys/dev/ofw

2019-11-30 Thread Ian Lepore
Author: ian Date: Sat Nov 30 19:16:44 2019 New Revision: 355239 URL: https://svnweb.freebsd.org/changeset/base/355239 Log: Add an OFWBUS_PNP_INFO() macro for devices that hang directly off the root ofwbus. Also, apply some style(9) whitespace fixing to the SIMPLEBUS_PNP_INFO() macro (no

svn commit: r355214 - head/sys/dev/gpio

2019-11-29 Thread Ian Lepore
Author: ian Date: Fri Nov 29 18:05:54 2019 New Revision: 355214 URL: https://svnweb.freebsd.org/changeset/base/355214 Log: Ignore "gpio-hog" nodes when instantiating ofw_gpiobus children. Also, in ofw_gpiobus_probe() return BUS_PROBE_DEFAULT rather than 0; we are not the only possible

svn commit: r355193 - head/sys/arm/freescale/imx

2019-11-28 Thread Ian Lepore
Author: ian Date: Thu Nov 28 21:50:34 2019 New Revision: 355193 URL: https://svnweb.freebsd.org/changeset/base/355193 Log: Implement the ofw_bus_get_node method in the imx_gpio driver so that ofw_gpiobus can find its fdt metadata and instantiate child devices. Modified:

Re: svn commit: r355100 - head/libexec/rc/rc.d

2019-11-25 Thread Ian Lepore
On Mon, 2019-11-25 at 12:25 -0800, Cy Schubert wrote: > In message <201911251959.xapjxsja088...@repo.freebsd.org>, Ian > Lepore > writes: > > Author: ian > > Date: Mon Nov 25 19:59:53 2019 > > New Revision: 355100 > > URL: https://svnweb.freebsd.org/changese

svn commit: r355100 - head/libexec/rc/rc.d

2019-11-25 Thread Ian Lepore
Author: ian Date: Mon Nov 25 19:59:53 2019 New Revision: 355100 URL: https://svnweb.freebsd.org/changeset/base/355100 Log: Allow opt-out of automatic ntpd leapfile checking/fetching. When a system has no internet connection, or when it is configured to obtain ntpd leapfiles from some

svn commit: r355069 - head/sys/arm/arm

2019-11-24 Thread Ian Lepore
Author: ian Date: Sun Nov 24 21:08:56 2019 New Revision: 355069 URL: https://svnweb.freebsd.org/changeset/base/355069 Log: When doing ARM stack unwinding as part of stack_save(9), do not search loaded modules (pass 0/false for the can_lock arg). Searching the unwind info in modules

Re: svn commit: r355010 - in head/sys/cam: . scsi

2019-11-22 Thread Ian Lepore
On Fri, 2019-11-22 at 18:39 +, Alexander Motin wrote: > Author: mav > Date: Fri Nov 22 18:39:51 2019 > New Revision: 355010 > URL: https://svnweb.freebsd.org/changeset/base/355010 > > Log: > Make CAM use root_mount_hold_token() to delay boot. > > Before this change CAM used

svn commit: r354973 - head/sys/dev/iicbus

2019-11-21 Thread Ian Lepore
Author: ian Date: Thu Nov 21 19:13:05 2019 New Revision: 354973 URL: https://svnweb.freebsd.org/changeset/base/354973 Log: Rewrite iicdev_writeto() to use a single buffer and a single iic_msg, rather than effectively doing scatter/gather IO with a pair of iic_msgs that direct the controller

Re: svn commit: r354909 - in head: . share/mk

2019-11-21 Thread Ian Lepore
On Thu, 2019-11-21 at 16:23 +, Glen Barber wrote: > On Thu, Nov 21, 2019 at 04:13:37PM +, Glen Barber wrote: > > On Wed, Nov 20, 2019 at 06:36:58PM +, Brooks Davis wrote: > > > Author: brooks > > > Date: Wed Nov 20 18:36:58 2019 > > > New Revision: 354909 > > > URL:

Re: svn commit: r354714 - in head/sys: arm64/arm64 arm64/conf arm64/include conf

2019-11-14 Thread Ian Lepore
On Thu, 2019-11-14 at 21:58 +, Justin Hibbits wrote: > Author: jhibbits > Date: Thu Nov 14 21:58:40 2019 > New Revision: 354714 > URL: https://svnweb.freebsd.org/changeset/base/354714 > > Log: > Boot arm64 kernel using booti command from U-boot. > > [...] > > Added:

svn commit: r354710 - head/sys/conf

2019-11-14 Thread Ian Lepore
Author: ian Date: Thu Nov 14 17:04:19 2019 New Revision: 354710 URL: https://svnweb.freebsd.org/changeset/base/354710 Log: Compile in arm/unwind.c if options STACK is in effect; the new arm stack(9) code now uses unwind.c. Modified: head/sys/conf/files.arm Modified:

svn commit: r354709 - in head/sys/arm: arm conf

2019-11-14 Thread Ian Lepore
4 16:46:27 2019 (r354709) @@ -1,8 +1,7 @@ /*- - * SPDX-License-Identifier: BSD-2-Clause-FreeBSD + * SPDX-License-Identifier: BSD-2-Clause * - * Copyright (c) 2005 Antoine Brodin - * All rights reserved. + * Copyright (c) 2019 Ian Lepore * * Redistribution and use in source and bi

Re: svn commit: r354458 - head/libexec/rc/rc.d

2019-11-11 Thread Ian Lepore
On Sun, 2019-11-10 at 16:08 +, Edward Tomasz Napierala wrote: > On 1109T2049, Alexander Leidinger wrote: > > Quoting Edward Tomasz Napierala (from Thu, 7 > > Nov > > 2019 18:15:24 + (UTC)): > > > > > Author: trasz > > > Date: Thu Nov 7 18:15:24 2019 > > > New Revision: 354458 > > >

Re: svn commit: r354322 - head/sys/dev/ichiic

2019-11-03 Thread Ian Lepore
On Sun, 2019-11-03 at 21:17 +, Vladimir Kondratyev wrote: > Author: wulf > Date: Sun Nov 3 21:17:50 2019 > New Revision: 354322 > URL: https://svnweb.freebsd.org/changeset/base/354322 > > Log: > [ig4] Convert ithread interrupt handler to filter based one. > This doesn't seem like a very

Re: svn commit: r354076 - head/sys/dev/ow

2019-10-25 Thread Ian Lepore
On Fri, 2019-10-25 at 19:03 +0300, Andriy Gapon wrote: > On 25/10/2019 18:56, Ian Lepore wrote: > > On Fri, 2019-10-25 at 18:51 +0300, Andriy Gapon wrote: > > > On 25/10/2019 18:46, Ian Lepore wrote: > > > > On Fri, 2019-10-25 at 15:38 +, Andriy Gapo

Re: svn commit: r354076 - head/sys/dev/ow

2019-10-25 Thread Ian Lepore
On Fri, 2019-10-25 at 18:51 +0300, Andriy Gapon wrote: > On 25/10/2019 18:46, Ian Lepore wrote: > > On Fri, 2019-10-25 at 15:38 +, Andriy Gapon wrote: > > > Author: avg > > > Date: Fri Oct 25 15:38:09 2019 > > > New Revision: 354076 > > > URL: htt

Re: svn commit: r354076 - head/sys/dev/ow

2019-10-25 Thread Ian Lepore
On Fri, 2019-10-25 at 15:38 +, Andriy Gapon wrote: > Author: avg > Date: Fri Oct 25 15:38:09 2019 > New Revision: 354076 > URL: https://svnweb.freebsd.org/changeset/base/354076 > > Log: > owc_gpiobus_read_data: compare times in sbintime_t units > > Previously the code used sbttous()

Re: svn commit: r352909 - in head: contrib/elftoolchain/nm usr.bin/nm

2019-10-17 Thread Ian Lepore
On Thu, 2019-10-17 at 13:05 -0600, Alan Somers wrote: > On Thu, Oct 17, 2019 at 12:48 PM Ian Lepore wrote: > > > On Thu, 2019-10-17 at 12:17 -0600, Alan Somers wrote: > > > There might be something wrong with my environment: > > > /usr/include/libcasper.h is

Re: svn commit: r352909 - in head: contrib/elftoolchain/nm usr.bin/nm

2019-10-17 Thread Ian Lepore
On Thu, 2019-10-17 at 12:17 -0600, Alan Somers wrote: > There might be something wrong with my environment: > /usr/include/libcasper.h is absent. But still, shouldn't the build > be > using the version from the source tree, instead of from the > environment? > -Alan > There should be copies of

svn commit: r353653 - head/sys/arm/ti

2019-10-16 Thread Ian Lepore
Author: ian Date: Wed Oct 16 16:26:35 2019 New Revision: 353653 URL: https://svnweb.freebsd.org/changeset/base/353653 Log: Update some comments; no functional changes. Some historical old comments in this driver indicate that the SD_CAPA register is write-once and after being set one time

svn commit: r353652 - head/sys/arm/ti

2019-10-16 Thread Ian Lepore
Author: ian Date: Wed Oct 16 16:19:21 2019 New Revision: 353652 URL: https://svnweb.freebsd.org/changeset/base/353652 Log: Revert r351218 (by manu). While the changes in r351218 appear to be (and should be) correct, they lead to the eMMC on a Beaglebone failing to work in some situations.

svn commit: r353651 - head/sys/dev/sdhci

2019-10-16 Thread Ian Lepore
Author: ian Date: Wed Oct 16 16:03:19 2019 New Revision: 353651 URL: https://svnweb.freebsd.org/changeset/base/353651 Log: Relax the sdhci(4) check that filters out the 1.8v voltage option unless the slot is flagged as 'embedded'. The features related to embedded and shared slots were

Re: svn commit: r353565 - in head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs: . sys

2019-10-15 Thread Ian Lepore
On Tue, 2019-10-15 at 18:56 +0300, Andriy Gapon wrote: > On 15/10/2019 18:53, O. Hartmann wrote: > > -BEGIN PGP SIGNED MESSAGE- > > Hash: SHA256 > > > > Am Tue, 15 Oct 2019 15:09:36 + (UTC) > > Andriy Gapon schrieb: > > Sorry, I got tired before I could scroll to your reply. > You

Re: svn commit: r352520 - head/usr.sbin/pkg

2019-10-08 Thread Ian Lepore
On Tue, 2019-10-08 at 12:26 +0200, Emmanuel Vadot wrote: > Hi Glen, > > On Thu, 19 Sep 2019 16:43:12 + (UTC) > Glen Barber wrote: > > > Author: gjb > > Date: Thu Sep 19 16:43:12 2019 > > New Revision: 352520 > > URL: https://svnweb.freebsd.org/changeset/base/352520 > > > > Log: > >

svn commit: r353025 - head/usr.sbin/daemon

2019-10-02 Thread Ian Lepore
Author: ian Date: Wed Oct 2 23:19:34 2019 New Revision: 353025 URL: https://svnweb.freebsd.org/changeset/base/353025 Log: Bump .Dd for earlier update (should have been part of r353024). Modified: head/usr.sbin/daemon/daemon.8 Modified: head/usr.sbin/daemon/daemon.8

svn commit: r353024 - head/usr.sbin/daemon

2019-10-02 Thread Ian Lepore
Author: ian Date: Wed Oct 2 23:06:17 2019 New Revision: 353024 URL: https://svnweb.freebsd.org/changeset/base/353024 Log: Clarify how the -f option for daemon(8) interacts with other options related to redirecting stdout and stderr. Modified: head/usr.sbin/daemon/daemon.8 Modified:

Re: svn commit: r353012 - head/usr.sbin/bsdinstall/scripts

2019-10-02 Thread Ian Lepore
On Wed, 2019-10-02 at 16:09 +, Glen Barber wrote: > Author: gjb > Date: Wed Oct 2 16:09:28 2019 > New Revision: 353012 > URL: https://svnweb.freebsd.org/changeset/base/353012 > > Log: > Add a comment explaining why the opensolaris_load line in loader.conf > is explicitly added. > >

Re: svn commit: r352940 - head/sys/dev/usb/controller

2019-10-01 Thread Ian Lepore
On Tue, 2019-10-01 at 20:21 +, Emmanuel Vadot wrote: > Author: manu > Date: Tue Oct 1 20:21:49 2019 > New Revision: 352940 > URL: https://svnweb.freebsd.org/changeset/base/352940 > > Log: > generic_ohci: Look for the phy based on the id > > phy-names was never in the bindings schema

Re: svn commit: r352938 - head/sys/arm/include

2019-10-01 Thread Ian Lepore
On Tue, 2019-10-01 at 22:49 +0300, Konstantin Belousov wrote: > On Tue, Oct 01, 2019 at 07:39:00PM +0000, Ian Lepore wrote: > > Author: ian > > Date: Tue Oct 1 19:39:00 2019 > > New Revision: 352938 > > URL: https://svnweb.freebsd.org/changeset/base/352938 > >

svn commit: r352938 - head/sys/arm/include

2019-10-01 Thread Ian Lepore
Author: ian Date: Tue Oct 1 19:39:00 2019 New Revision: 352938 URL: https://svnweb.freebsd.org/changeset/base/352938 Log: Add 8 and 16 bit versions of atomic_cmpset and atomic_fcmpset for arm. This adds 8 and 16 bit versions of the cmpset and fcmpset functions. Macros are used to

Re: svn commit: r352838 - head/share/man/man3

2019-09-28 Thread Ian Lepore
On Sat, 2019-09-28 at 09:37 +, Edward Tomasz Napierala wrote: > Author: trasz > Date: Sat Sep 28 09:37:05 2019 > New Revision: 352838 > URL: https://svnweb.freebsd.org/changeset/base/352838 > > Log: > Sort MLINKS for arb(3), and actually make them work by fixing a '=' > vs '+=' > mixup. >

Re: svn commit: r352513 - head/usr.sbin/freebsd-update

2019-09-19 Thread Ian Lepore
On Thu, 2019-09-19 at 11:34 +, Ed Maste wrote: > Author: emaste > Date: Thu Sep 19 11:34:35 2019 > New Revision: 352513 > URL: https://svnweb.freebsd.org/changeset/base/352513 > > Log: > freebsd-update.8: appease igor > > igor follows American style guides in the belief that

Re: svn commit: r352451 - head/stand/libsa

2019-09-17 Thread Ian Lepore
On Tue, 2019-09-17 at 16:16 +, Toomas Soome wrote: > Author: tsoome > Date: Tue Sep 17 16:16:46 2019 > New Revision: 352451 > URL: https://svnweb.freebsd.org/changeset/base/352451 > > Log: > loader: revert r352421 > > As insisted by kib, malloc(0) is quite legal. > > Modified: >

svn commit: r352363 - head/sys/arm/freescale/imx

2019-09-15 Thread Ian Lepore
Author: ian Date: Sun Sep 15 19:38:15 2019 New Revision: 352363 URL: https://svnweb.freebsd.org/changeset/base/352363 Log: Apply a runtime patch to the FDT data for imx6 to fix iomuxc problems. The latest imported FDT data defines a node for an iomuxc-gpr device, which we don't support

svn commit: r352342 - head/sys/arm/ti

2019-09-14 Thread Ian Lepore
Author: ian Date: Sun Sep 15 01:02:01 2019 New Revision: 352342 URL: https://svnweb.freebsd.org/changeset/base/352342 Log: Make the ti_sysc device quiet. It's an internal utility pseudo-device that makes the upstream FDT data work right, so we don't need to see a couple dozen instances of

svn commit: r352338 - head/sys/dev/iicbus

2019-09-14 Thread Ian Lepore
Author: ian Date: Sat Sep 14 19:33:36 2019 New Revision: 352338 URL: https://svnweb.freebsd.org/changeset/base/352338 Log: Create a mechanism for encoding a system errno into the IIC_Ex space. Errors are communicated between the i2c controller layer and upper layers (iicbus and slave

svn commit: r352333 - head/sys/arm/ti/am335x

2019-09-14 Thread Ian Lepore
Author: ian Date: Sat Sep 14 18:20:14 2019 New Revision: 352333 URL: https://svnweb.freebsd.org/changeset/base/352333 Log: Include , required to use spinlocks in this code. Modified: head/sys/arm/ti/am335x/am335x_dmtpps.c Modified: head/sys/arm/ti/am335x/am335x_dmtpps.c

Re: svn commit: r352275 - in head/lib/libedit: . TEST edit readline

2019-09-14 Thread Ian Lepore
On Fri, 2019-09-13 at 22:25 -0600, Warner Losh wrote: > On Fri, Sep 13, 2019, 10:11 PM Peter Jeremy > wrote: > > > On 2019-Sep-13 16:33:15 -0400, Charlie Li > > wrote: > > > Baptiste Daroussin wrote: > > > > Author: bapt > > > > Date: Fri Sep 13 06:50:02 2019 > > > > New Revision: 352275 > > >

Re: svn commit: r352231 - head/lib/libc/sys

2019-09-12 Thread Ian Lepore
On Thu, 2019-09-12 at 13:02 -0700, Cy Schubert wrote: > In message < > 63cf915c92b92b07e19337849269ec6bd0dc0d1b.ca...@freebsd.org>, > Ian Le > pore writes: > > On Wed, 2019-09-11 at 19:48 +, Alan Somers wrote: > > > Author: asomers > > > Date: Wed Sep 11 19:48:32 2019 > > > New Revision:

Re: svn commit: r352248 - head/usr.sbin/ntp/libntp

2019-09-12 Thread Ian Lepore
On Thu, 2019-09-12 at 15:46 +, Baptiste Daroussin wrote: > Author: bapt > Date: Thu Sep 12 15:46:58 2019 > New Revision: 352248 > URL: https://svnweb.freebsd.org/changeset/base/352248 > > Log: > Get the readline header from the installed header instead of the from the > source >

Re: svn commit: r352231 - head/lib/libc/sys

2019-09-11 Thread Ian Lepore
On Wed, 2019-09-11 at 15:55 -0600, Alan Somers wrote: > On Wed, Sep 11, 2019 at 3:50 PM Ian Lepore wrote: > > > On Wed, 2019-09-11 at 19:48 +, Alan Somers wrote: > > > Author: asomers > > > Date: Wed Sep 11 19:48:32 2019 > > > New Revision: 35223

Re: svn commit: r352231 - head/lib/libc/sys

2019-09-11 Thread Ian Lepore
On Wed, 2019-09-11 at 19:48 +, Alan Somers wrote: > Author: asomers > Date: Wed Sep 11 19:48:32 2019 > New Revision: 352231 > URL: https://svnweb.freebsd.org/changeset/base/352231 > > Log: > getsockopt.2: clarify that SO_TIMESTAMP is not 100% reliable > > When SO_TIMESTAMP is set, the

svn commit: r352196 - head/sys/arm/ti/am335x

2019-09-10 Thread Ian Lepore
Author: ian Date: Tue Sep 10 22:08:34 2019 New Revision: 352196 URL: https://svnweb.freebsd.org/changeset/base/352196 Log: In am335x_dmtpps, use a spin mutex to interlock between PPS capture and PPS ioctl(2) handling. This allows doing the pps_event() work in the polling routine, instead

Re: svn commit: r352113 - head/sys/net

2019-09-10 Thread Ian Lepore
On Tue, 2019-09-10 at 01:56 +, Conrad Meyer wrote: > Author: cem > Date: Tue Sep 10 01:56:47 2019 > New Revision: 352113 > URL: https://svnweb.freebsd.org/changeset/base/352113 > > Log: > Appease Clang false-positive Werrors in r352112 > > Reported by:bcran > > Modified: >

Re: svn commit: r351918 - head/sys/kern

2019-09-06 Thread Ian Lepore
On Fri, 2019-09-06 at 12:15 +0800, Philip Paeps wrote: > On 2019-09-06 11:15:12 (+0800), Ian Lepore wrote: > > On Fri, 2019-09-06 at 01:19 +, Philip Paeps wrote: > > > Author: philip > > > Date: Fri Sep 6 01:19:31 2019 > > > New Revision: 351918 > > &

Re: svn commit: r351918 - head/sys/kern

2019-09-05 Thread Ian Lepore
On Fri, 2019-09-06 at 01:19 +, Philip Paeps wrote: > Author: philip > Date: Fri Sep 6 01:19:31 2019 > New Revision: 351918 > URL: https://svnweb.freebsd.org/changeset/base/351918 > > Log: > riscv: default to HZ=100 > > Most current RISC-V development platforms are not fast enough to >

svn commit: r351887 - head/sys/dev/iicbus

2019-09-05 Thread Ian Lepore
Author: ian Date: Thu Sep 5 19:17:53 2019 New Revision: 351887 URL: https://svnweb.freebsd.org/changeset/base/351887 Log: Use a single write of 3 bytes instead of iicdev_writeto() in ads111x. The iicdev_writeto() function basically does scatter-gather IO by filling in a pair of iic_msg

svn commit: r351885 - head/sys/dev/iicbus

2019-09-05 Thread Ian Lepore
Author: ian Date: Thu Sep 5 19:07:48 2019 New Revision: 351885 URL: https://svnweb.freebsd.org/changeset/base/351885 Log: Ensure a measurement is complete before reading the result in ads111x. Also, disable the comparator by default; it's not used for anything. The previous logic would

Re: svn commit: r351818 - in head/sys: arm/conf arm64/conf conf

2019-09-04 Thread Ian Lepore
On Wed, 2019-09-04 at 15:55 +, Ruslan Bukin wrote: > Author: br > Date: Wed Sep 4 15:55:44 2019 > New Revision: 351818 > URL: https://svnweb.freebsd.org/changeset/base/351818 > > Log: > Include dwgpio to the build. > > Sponsored by: DARPA, AFRL > > Modified: >

svn commit: r346489 - head/sys/arm/broadcom/bcm2835

2019-09-03 Thread Ian Lepore
Author: ian Date: Sun Apr 21 17:39:01 2019 New Revision: 346489 URL: https://svnweb.freebsd.org/changeset/base/346489 Log: Move the reporting of spurious interrupts under bootverbose control, because occasional spurious interrupts are a normal thing on this hardware. Also, change the name

Re: svn commit: r346341 - head/tools/build

2019-09-03 Thread Ian Lepore
On Wed, 2019-04-17 at 20:32 -0700, Cy Schubert wrote: > In message <201904180107.x3i17qdc002...@gndrsh.dnsmgr.net>, "Rodney > W. > Grimes" > writes: > > > Author: cy > > > Date: Thu Apr 18 01:02:00 2019 > > > New Revision: 346341 > > > URL: https://svnweb.freebsd.org/changeset/base/346341 > > >

svn commit: r346317 - head/tools/boot

2019-09-03 Thread Ian Lepore
Author: ian Date: Wed Apr 17 16:27:43 2019 New Revision: 346317 URL: https://svnweb.freebsd.org/changeset/base/346317 Log: Allow this test script to be run from within src/tools/boot dir, and create the temporary image in $TMPDIR. Allow the script to be run from the src/tools/boot

Re: svn commit: r346250 - in head: share/man/man4 share/man/man9 sys/dev/random sys/kern sys/libkern sys/sys

2019-09-03 Thread Ian Lepore
On Wed, 2019-04-17 at 11:16 -0600, Warner Losh wrote: > On Wed, Apr 17, 2019 at 10:06 AM John Baldwin wrote: > > > On 4/16/19 4:48 PM, Conrad Meyer wrote: > > > On Tue, Apr 16, 2019 at 4:31 PM John Baldwin wrote: > > > > bhyveload is effectively the loader in this case. It runs the normal > >

Re: svn commit: r346295 - in head/sys: arm/allwinner arm/altera/socfpga arm/amlogic/aml8726 arm/annapurna/alpine arm/broadcom/bcm2835 arm/freescale/imx arm/freescale/vybrid arm/mv arm/nvidia/tegra124

2019-09-03 Thread Ian Lepore
On Wed, 2019-04-17 at 11:23 +0200, Andrew Turner wrote: > > On 16 Apr 2019, at 22:04, Emmanuel Vadot wrote: > > > > Author: manu > > Date: Tue Apr 16 20:04:22 2019 > > New Revision: 346295 > > URL: https://svnweb.freebsd.org/changeset/base/346295 > > > > Log: > > arm: Add kern_clocksource.c

svn commit: r346312 - head/sys/arm/arm

2019-09-03 Thread Ian Lepore
Author: ian Date: Wed Apr 17 15:27:11 2019 New Revision: 346312 URL: https://svnweb.freebsd.org/changeset/base/346312 Log: Only set up the interrupts that will actually be used in arm generic_timer. The code previously set up interrupt handlers for all the interrupt resources available,

Re: svn commit: r346250 - in head: share/man/man4 share/man/man9 sys/dev/random sys/kern sys/libkern sys/sys

2019-09-03 Thread Ian Lepore
On Tue, 2019-04-16 at 09:58 -0700, Conrad Meyer wrote: > Systems lacking both an NV store and an entropy source available > during mi_startup (i.e., not interrupts...) cannot safely provide > entropy in early boot. On those systems, we must disable random > consumption during early boot. Or you

Re: svn commit: r346250 - in head: share/man/man4 share/man/man9 sys/dev/random sys/kern sys/libkern sys/sys

2019-09-03 Thread Ian Lepore
On Tue, 2019-04-16 at 07:18 -0600, Warner Losh wrote: > On Tue, Apr 16, 2019, 7:04 AM Emmanuel Vadot > wrote: > > > On Mon, 15 Apr 2019 17:54:56 -0700 > > Conrad Meyer wrote: > > > > > On Mon, Apr 15, 2019 at 5:53 PM Conrad Meyer > > > wrote: > > > > E.g., the CI infrastructure for > > > >

Re: svn commit: r346252 - in head/usr.sbin/cron: cron crontab

2019-09-03 Thread Ian Lepore
On Mon, 2019-04-15 at 18:53 +, Kyle Evans wrote: > Author: kevans > Date: Mon Apr 15 18:53:28 2019 > New Revision: 346252 > URL: https://svnweb.freebsd.org/changeset/base/346252 > > Log: > cron(8): Add MAILFROM ability for crontabs > > This changes the sender mail address in a similar

Re: svn commit: r346096 - head/sys/arm/conf

2019-09-03 Thread Ian Lepore
On Thu, 2019-04-11 at 21:23 +0200, Svatopluk Kraus wrote: > I understand the reason for GENERIC. But are we so blind that we will > delete everything that is not GENERIC? In other words, why to delete > nice specific KERNEL configurations for boards we support when only > reason I see is that

Re: svn commit: r346052 - head/sys/dev/usb/net

2019-09-03 Thread Ian Lepore
On Tue, 2019-04-09 at 09:33 -0700, John Baldwin wrote: > On 4/9/19 9:17 AM, Ian Lepore wrote: > > On Tue, 2019-04-09 at 09:11 -0700, John Baldwin wrote: > > > On 4/9/19 6:54 AM, Ganbold Tsagaankhuu wrote: > > > > Author: ganbold > > > > Date: Tue Apr 9

<    1   2   3   4   5   6   7   8   9   10   >