Re: svn commit: r356278 - in head: share/man/man4 sys/conf sys/dev/iicbus sys/dev/iicbus/mux sys/modules/i2c sys/modules/i2c/mux sys/modules/i2c/mux/iic_gpiomux sys/modules/i2c/mux/iicmux sys/modules/

2020-01-02 Thread Ian Lepore
On Thu, 2020-01-02 at 17:51 +, Ian Lepore wrote: > Author: ian > Date: Thu Jan 2 17:51:49 2020 > New Revision: 356278 > URL: https://svnweb.freebsd.org/changeset/base/356278 > > Log: > Add support for i2c bus mux hardware. > As usual, forgot to add: Differentia

svn commit: r356278 - in head: share/man/man4 sys/conf sys/dev/iicbus sys/dev/iicbus/mux sys/modules/i2c sys/modules/i2c/mux sys/modules/i2c/mux/iic_gpiomux sys/modules/i2c/mux/iicmux sys/modules/i...

2020-01-02 Thread Ian Lepore
) +++ head/share/man/man4/iic_gpiomux.4 Thu Jan 2 17:51:49 2020 (r356278) @@ -0,0 +1,88 @@ +.\"- +.\" SPDX-License-Identifier: BSD-2-Clause +.\" +.\" Copyright (c) 2019 Ian Lepore +.\" +.\" Redistribution and use in source and binary forms, with or without +.

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

2020-01-02 Thread Ian Lepore
Author: ian Date: Thu Jan 2 15:38:17 2020 New Revision: 356273 URL: https://svnweb.freebsd.org/changeset/base/356273 Log: Since arm/unwind.c s conditionally compiled, only call functions in it when one of those conditions is true. Fixes build failure on kernel configs with no debugging

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

2019-12-30 Thread Ian Lepore
Author: ian Date: Mon Dec 30 23:20:46 2019 New Revision: 356211 URL: https://svnweb.freebsd.org/changeset/base/356211 Log: Set a "kernbase" symbol in 32-bit arm locore.S and use it with ldscript.arm. This brings arm into line with how every other arch does it. For some reason, only arm

Re: svn commit: r356180 - head/sys/conf

2019-12-29 Thread Ian Lepore
On Sun, 2019-12-29 at 18:17 +, Ian Lepore wrote: > Author: ian > Date: Sun Dec 29 18:17:12 2019 > New Revision: 356180 > URL: https://svnweb.freebsd.org/changeset/base/356180 > > Log: > Eliminate the generated ldscript for arm and arm64, and strip $a/$d marker >

svn commit: r356180 - head/sys/conf

2019-12-29 Thread Ian Lepore
Author: ian Date: Sun Dec 29 18:17:12 2019 New Revision: 356180 URL: https://svnweb.freebsd.org/changeset/base/356180 Log: Eliminate the generated ldscript for arm and arm64, and strip $a/$d marker symbols from the linked kernel. The main thrust of this change is to generate a kernel

svn commit: r356086 - head/sys/conf

2019-12-25 Thread Ian Lepore
Author: ian Date: Thu Dec 26 02:22:38 2019 New Revision: 356086 URL: https://svnweb.freebsd.org/changeset/base/356086 Log: Add comments to a couple i2c device lines. Modified: head/sys/conf/NOTES Modified: head/sys/conf/NOTES

svn commit: r356085 - head/sys/conf

2019-12-25 Thread Ian Lepore
Author: ian Date: Wed Dec 25 22:33:47 2019 New Revision: 356085 URL: https://svnweb.freebsd.org/changeset/base/356085 Log: In kern.pre.mk, split SYSTEM_LD into two variables to avoid duplication in other files. Arm and mips systems need to replace the SYSTEM_LD variable because they

Re: svn commit: r356078 - head/sys/conf

2019-12-25 Thread Ian Lepore
On Wed, 2019-12-25 at 19:52 +0100, Kristof Provost wrote: > > On 25 Dec 2019, at 19:24, Ian Lepore wrote: > > > > Author: ian > > Date: Wed Dec 25 18:24:38 2019 > > New Revision: 356078 > > URL: https://svnweb.freebsd.org/changeset/base/356078 > >

svn commit: r356078 - head/sys/conf

2019-12-25 Thread Ian Lepore
Author: ian Date: Wed Dec 25 18:24:38 2019 New Revision: 356078 URL: https://svnweb.freebsd.org/changeset/base/356078 Log: Revert r356077, apparently the change doesn't work after all (failed to build in CI). Modified: head/sys/conf/Makefile.riscv Modified: head/sys/conf/Makefile.riscv

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: r356025 - stable/12/usr.bin/uniq

2019-12-22 Thread Ian Lepore
Author: ian Date: Sun Dec 22 20:34:15 2019 New Revision: 356025 URL: https://svnweb.freebsd.org/changeset/base/356025 Log: MFC r355777: 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

svn commit: r356024 - stable/12/sys/dev/iicbus

2019-12-22 Thread Ian Lepore
: BSD-2-Clause + * * Copyright (c) 2019 Ian Lepore. * * Redistribution and use in source and binary forms, with or without Modified: stable/12/sys/dev/iicbus/ds13rtc.c == --- stable/12/sys/dev/iicbus/ds13rtc.c Sun

svn commit: r356023 - stable/12/sys/dev/iicbus

2019-12-22 Thread Ian Lepore
Author: ian Date: Sun Dec 22 20:04:35 2019 New Revision: 356023 URL: https://svnweb.freebsd.org/changeset/base/356023 Log: MFC r355688: 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

svn commit: r356022 - in stable/12: share/man/man9 sys/arm/broadcom/bcm2835 sys/arm/freescale/imx sys/arm/ti sys/dev/glxiic sys/dev/ichsmb sys/dev/ow sys/kern sys/sys

2019-12-22 Thread Ian Lepore
Author: ian Date: Sun Dec 22 19:30:13 2019 New Revision: 356022 URL: https://svnweb.freebsd.org/changeset/base/356022 Log: MFC r355598, r355727, r355735, r355858 r355598: Do not attach children of owc_gpiobus until interrupts are working. The children of the bus need to do IO on the

svn commit: r356019 - in stable/12: share/man/man4 sys/dev/usb/serial

2019-12-22 Thread Ian Lepore
Author: ian Date: Sun Dec 22 18:55:09 2019 New Revision: 356019 URL: https://svnweb.freebsd.org/changeset/base/356019 Log: MFC r355572: 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

svn commit: r356018 - in stable/12: share/man/man4 sys/dev/gpio sys/modules/gpio sys/modules/gpio/gpioths

2019-12-22 Thread Ian Lepore
re/man/man4/gpioths.4 Sun Dec 22 18:51:05 2019 (r356018, copy of r31, head/share/man/man4/gpioths.4) @@ -0,0 +1,152 @@ +.\"- +.\" SPDX-License-Identifier: BSD-2-Clause +.\" +.\" Copyright (c) 2019 Ian Lepore +.\" +.\" Redistribution and use i

svn commit: r356017 - stable/12/sys/modules/i2c/ads111x

2019-12-22 Thread Ian Lepore
Author: ian Date: Sun Dec 22 18:11:57 2019 New Revision: 356017 URL: https://svnweb.freebsd.org/changeset/base/356017 Log: MFC r355738: Include ofw_bus_if.h in SRCS only on systems configured with the FDT option. Modified: stable/12/sys/modules/i2c/ads111x/Makefile Directory Properties:

svn commit: r356016 - stable/12/share/man/man4

2019-12-22 Thread Ian Lepore
Author: ian Date: Sun Dec 22 18:10:01 2019 New Revision: 356016 URL: https://svnweb.freebsd.org/changeset/base/356016 Log: MFC r355547: Fix a typo: the sysctl command is in chapter 8 of the manual. Modified: stable/12/share/man/man4/ads111x.4 Modified: stable/12/share/man/man4/ads111x.4

svn commit: r356015 - stable/12/share/man/man7

2019-12-22 Thread Ian Lepore
Author: ian Date: Sun Dec 22 17:59:24 2019 New Revision: 356015 URL: https://svnweb.freebsd.org/changeset/base/356015 Log: MFC r355411: Fix a trivial typo and add a missing word. Modified: stable/12/share/man/man7/arch.7 Modified: stable/12/share/man/man7/arch.7

svn commit: r356014 - stable/12/libexec/rc/rc.d

2019-12-22 Thread Ian Lepore
Author: ian Date: Sun Dec 22 17:57:59 2019 New Revision: 356014 URL: https://svnweb.freebsd.org/changeset/base/356014 Log: MFC r355100: Allow opt-out of automatic ntpd leapfile checking/fetching. When a system has no internet connection, or when it is configured to obtain ntpd

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: r355498 - stable/12/sys/arm/freescale/imx

2019-12-07 Thread Ian Lepore
Author: ian Date: Sat Dec 7 17:46:32 2019 New Revision: 355498 URL: https://svnweb.freebsd.org/changeset/base/355498 Log: MFC r355193: 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:

svn commit: r355497 - stable/12/sys/dev/iicbus

2019-12-07 Thread Ian Lepore
Author: ian Date: Sat Dec 7 17:44:21 2019 New Revision: 355497 URL: https://svnweb.freebsd.org/changeset/base/355497 Log: MFC r354973: 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

svn commit: r355496 - stable/12/sys/arm/include

2019-12-07 Thread Ian Lepore
Author: ian Date: Sat Dec 7 17:34:04 2019 New Revision: 355496 URL: https://svnweb.freebsd.org/changeset/base/355496 Log: MFC r352938: 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

svn commit: r355494 - stable/12/sys/dev/iicbus

2019-12-07 Thread Ian Lepore
Author: ian Date: Sat Dec 7 17:24:07 2019 New Revision: 355494 URL: https://svnweb.freebsd.org/changeset/base/355494 Log: MFC r352338: Create a mechanism for encoding a system errno into the IIC_Ex space. Errors are communicated between the i2c controller layer and upper layers

svn commit: r355493 - stable/12/usr.sbin/daemon

2019-12-07 Thread Ian Lepore
Author: ian Date: Sat Dec 7 17:19:36 2019 New Revision: 355493 URL: https://svnweb.freebsd.org/changeset/base/355493 Log: MFC r353024-r353025 r353024: Clarify how the -f option for daemon(8) interacts with other options related to redirecting stdout and stderr. r353025: Bump

svn commit: r355492 - in stable/12/sys/arm/ti: . am335x

2019-12-07 Thread Ian Lepore
Author: ian Date: Sat Dec 7 17:17:34 2019 New Revision: 355492 URL: https://svnweb.freebsd.org/changeset/base/355492 Log: MFC r352196, r352333, r352342, r353653 r352196: In am335x_dmtpps, use a spin mutex to interlock between PPS capture and PPS ioctl(2) handling. This allows doing

svn commit: r355490 - in stable/12: share/man/man4 sys/dev/gpio sys/dev/ofw

2019-12-07 Thread Ian Lepore
h_bus(device_t); Modified: stable/12/sys/dev/gpio/gpioiic.c ========== --- stable/12/sys/dev/gpio/gpioiic.cSat Dec 7 16:45:12 2019 (r355489) +++ stable/12/sys/dev/gpio/gpioiic.cSat Dec 7 17:10:03 2019 (r3

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: r355333 - stable/12/sys/cam

2019-12-03 Thread Ian Lepore
On Tue, 2019-12-03 at 11:54 -0500, Alexander Motin wrote: > On 03.12.2019 11:47, Ian Lepore wrote: > > On Tue, 2019-12-03 at 16:42 +, Alexander Motin wrote: > > > Author: mav > > > Date: Tue Dec 3 16:42:32 2019 > > > New Revision: 355333 > > > U

Re: svn commit: r355333 - stable/12/sys/cam

2019-12-03 Thread Ian Lepore
On Tue, 2019-12-03 at 16:42 +, Alexander Motin wrote: > Author: mav > Date: Tue Dec 3 16:42:32 2019 > New Revision: 355333 > URL: https://svnweb.freebsd.org/changeset/base/355333 > > Log: > MFC r341756 (by scottl): > Don't allocate the config_intrhook separately from the softc, it's >

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: r353684 - in releng/12.1/sys: arm/ti dev/sdhci

2019-10-17 Thread Ian Lepore
Author: ian Date: Thu Oct 17 16:20:24 2019 New Revision: 353684 URL: https://svnweb.freebsd.org/changeset/base/353684 Log: MFC r353675 from stable-12 (r353651-r353652 from head)... r353651: Relax the sdhci(4) check that filters out the 1.8v voltage option unless the slot is flagged as

svn commit: r353675 - in stable/12/sys: arm/ti dev/sdhci

2019-10-16 Thread Ian Lepore
Author: ian Date: Thu Oct 17 01:30:37 2019 New Revision: 353675 URL: https://svnweb.freebsd.org/changeset/base/353675 Log: MFC r353651-r353652 r353651: Relax the sdhci(4) check that filters out the 1.8v voltage option unless the slot is flagged as 'embedded'. The features related

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 > >

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