Re: svn commit: r336746 - in head/lib: libc/gen libutil

2018-07-27 Thread Ian Lepore
On Fri, 2018-07-27 at 19:44 +0300, Konstantin Belousov wrote: > On Fri, Jul 27, 2018 at 10:07:11AM -0600, Ian Lepore wrote: > > > > I believe pw_scan() was originally a static function in libc used by > > getpwent() and related functions. When libutil grew some pw utilties,

svn commit: r336779 - in head/lib: libc/gen libutil

2018-07-27 Thread Ian Lepore
Author: ian Date: Fri Jul 27 19:47:42 2018 New Revision: 336779 URL: https://svnweb.freebsd.org/changeset/base/336779 Log: Stop exporting __pw_scan and __pw_initpwd as freebsd-private libc functions for use in libutil, and instead compile the small amount of common code directly into libutil

Re: svn commit: r336781 - head/tests/sys/kqueue/libkqueue

2018-07-27 Thread Ian Lepore
On Fri, 2018-07-27 at 20:14 +, David Bright wrote: > Author: dab > Date: Fri Jul 27 20:14:58 2018 > New Revision: 336781 > URL: https://svnweb.freebsd.org/changeset/base/336781 > > Log: >   Fix compilation error on some arches after r336761. >    >   A cast for printing an intmax_t was needed

Re: svn commit: r336859 - head/sbin/init/rc.d

2018-07-29 Thread Ian Lepore
On Sun, 2018-07-29 at 05:42 +, Don Lewis wrote: > Author: truckman > Date: Sun Jul 29 05:42:07 2018 > New Revision: 336859 > URL: https://svnweb.freebsd.org/changeset/base/336859 > > Log: >   Fix a variable name typo in r336845 that prevented the rc.d scripts >   from being installed in the co

svn commit: r336869 - head/sys/dev/flash

2018-07-29 Thread Ian Lepore
Author: ian Date: Sun Jul 29 16:55:28 2018 New Revision: 336869 URL: https://svnweb.freebsd.org/changeset/base/336869 Log: The device ID tables are used only within the driver, make them static so that both of these drivers can exist in the same kernel. Modified: head/sys/dev/flash/mx25l.c

Re: svn commit: r336859 - head/sbin/init/rc.d

2018-07-29 Thread Ian Lepore
On Sun, 2018-07-29 at 09:59 -0700, Don Lewis wrote: > On 29 Jul, Ian Lepore wrote: > > On Sun, 2018-07-29 at 05:42 +, Don Lewis wrote: > >> Author: truckman > >> Date: Sun Jul 29 05:42:07 2018 > >> New Revision: 336859 > >> URL: https://svnweb.fre

Re: svn commit: r337273 - head/sys/dev/nvme

2018-08-04 Thread Ian Lepore
On Sat, 2018-08-04 at 08:29 -0500, Justin Hibbits wrote: > On Sat, Aug 4, 2018, 08:03 Konstantin Belousov wrote: > > > > > On Sat, Aug 04, 2018 at 05:14:31AM -0700, John Baldwin wrote: > > > > > > On 8/4/18 1:08 AM, Konstantin Belousov wrote: > > > > > > > > On Fri, Aug 03, 2018 at 08:04:06PM

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

2018-08-05 Thread Ian Lepore
On Sat, 2018-08-04 at 16:39 -0600, Warner Losh wrote: > On Sat, Aug 4, 2018 at 4:24 PM, Rodney W. Grimes < > free...@pdx.rh.cn85.dnsmgr.net> wrote: > > > > > > > > > Author: cem > > > Date: Sat Aug  4 22:08:24 2018 > > > New Revision: 337334 > > > URL: https://svnweb.freebsd.org/changeset/base/3

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

2018-08-05 Thread Ian Lepore
Author: ian Date: Sun Aug 5 22:24:38 2018 New Revision: 337364 URL: https://svnweb.freebsd.org/changeset/base/337364 Log: Document 64-bit arm in terms of arch name (aarch64) not machine (arm64). Other architectures are documented in terms of the name that is displayed by 'uname -p', aka MAC

Re: svn commit: r337536 - head/sbin/ipfw

2018-08-09 Thread Ian Lepore
On Thu, 2018-08-09 at 09:49 -0700, Rodney W. Grimes wrote: > -- Start of PGP signed section. > [ Charset UTF-8 unsupported, converting... ] > > > > On 09.08.2018 19:19, Rodney W. Grimes wrote: > > > > > > > > > > > > > > > > > > > > > > > > table add/delete commands had the same behavior, "nat

Re: svn commit: r337536 - head/sbin/ipfw

2018-08-09 Thread Ian Lepore
On Thu, 2018-08-09 at 10:01 -0700, Rodney W. Grimes wrote: > > > > On Thu, 2018-08-09 at 09:49 -0700, Rodney W. Grimes wrote: > > > > > > -- Start of PGP signed section. > > > [ Charset UTF-8 unsupported, converting... ] > > > > > > > > > > > > On 09.08.2018 19:19, Rodney W. Grimes wrote: > > >

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

2018-08-09 Thread Ian Lepore
On Thu, 2018-08-09 at 17:53 +, Kyle Evans wrote: > Author: kevans > Date: Thu Aug  9 17:53:18 2018 > New Revision: 337546 > URL: https://svnweb.freebsd.org/changeset/base/337546 > > Log: >   subr_prf: Use "sizeof current_boot_tag" instead > > Modified: >   head/sys/kern/subr_prf.c > > Modifi

Re: svn commit: r337426 - head/sbin/ifconfig

2018-08-10 Thread Ian Lepore
On Fri, 2018-08-10 at 14:44 -0400, Mark Johnston wrote: > On Fri, Aug 10, 2018 at 10:25:50AM +1000, Bruce Evans wrote: > > > > On Tue, 7 Aug 2018, Mark Johnston wrote: > > > > > > > > Log: > > >  ifconfig: Fix use of _Noreturn. > > > > > >  The _Noreturn is a function-specifier (like inline) wh

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

2018-08-13 Thread Ian Lepore
Author: ian Date: Mon Aug 13 23:53:11 2018 New Revision: 337731 URL: https://svnweb.freebsd.org/changeset/base/337731 Log: Export the eeprom device size via readonly sysctl. Also export the write page size and address size, although they are likely to be inherently less-interesting values o

Re: svn commit: r337750 - head/share/man/man4

2018-08-14 Thread Ian Lepore
On Tue, 2018-08-14 at 13:52 +, Warner Losh wrote: > Author: imp > Date: Tue Aug 14 13:52:10 2018 > New Revision: 337750 > URL: https://svnweb.freebsd.org/changeset/base/337750 > > Log: >   Add good description of init and lock devices from sio to uart. > > Modified: >   head/share/man/man4/ua

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

2019-03-15 Thread Ian Lepore
On Thu, 2019-03-14 at 19:31 -0700, Rodney W. Grimes wrote: > > Author: chuck > > Date: Fri Mar 15 02:11:28 2019 > > New Revision: 345171 > > URL: https://svnweb.freebsd.org/changeset/base/345171 > > > > Log: > > Fix bhyve PCIe capability emulation > > > > PCIe devices starting with version

Re: svn commit: r345238 - head

2019-03-16 Thread Ian Lepore
On Sat, 2019-03-16 at 20:02 +, Wolfram Schneider wrote: > Author: wosch > Date: Sat Mar 16 20:02:57 2019 > New Revision: 345238 > URL: https://svnweb.freebsd.org/changeset/base/345238 > > Log: > `make buildkernel' should display the build time in seconds > > PR: 224433 > Appro

Re: svn commit: r345238 - head

2019-03-17 Thread Ian Lepore
On Sun, 2019-03-17 at 10:32 +0100, Wolfram Schneider wrote: > On Sat, 16 Mar 2019 at 23:37, Ian Lepore wrote: > > > > On Sat, 2019-03-16 at 20:02 +, Wolfram Schneider wrote: > > > Author: wosch > > > Date: Sat Mar 16 20:02:57 2019 > >

Re: svn commit: r345365 - head/bin/date

2019-03-21 Thread Ian Lepore
On Thu, 2019-03-21 at 06:47 +, Warner Losh wrote: > Author: imp > Date: Thu Mar 21 06:47:23 2019 > New Revision: 345365 > URL: https://svnweb.freebsd.org/changeset/base/345365 > > Log: > Remove -n flag, fix setting date / time > IMO, the -n flag should still be accepted, but ignored, to

svn commit: r345475 - head/sys/kern

2019-03-24 Thread Ian Lepore
Author: ian Date: Sun Mar 24 17:53:26 2019 New Revision: 345475 URL: https://svnweb.freebsd.org/changeset/base/345475 Log: Truncate a too-long interrupt handler name when there is only one handler. There are only 19 bytes available for the name of an interrupt plus the name(s) of handlers

svn commit: r345476 - head/sys/kern

2019-03-24 Thread Ian Lepore
Author: ian Date: Sun Mar 24 18:02:27 2019 New Revision: 345476 URL: https://svnweb.freebsd.org/changeset/base/345476 Log: Revert accidental change that should not have been included in r345475. I had changed this value as part of a local experiment, and neglected to change it back before co

svn commit: r345477 - in head/stand: common efi/libefi efi/loader i386/libi386 libsa/zfs mips/beri/loader uboot/common uboot/lib usb/storage userboot/userboot

2019-03-24 Thread Ian Lepore
Author: ian Date: Sun Mar 24 18:51:52 2019 New Revision: 345477 URL: https://svnweb.freebsd.org/changeset/base/345477 Log: Distinguish between "no partition" and "choose best partition" with a constant. The values of the d_slice and d_partition fields of a disk_devdesc have a few values

svn commit: r345480 - in head/sys: conf geom geom/label

2019-03-24 Thread Ian Lepore
newly added) +++ head/sys/geom/geom_flashmap.h Sun Mar 24 19:11:45 2019 (r345480) @@ -0,0 +1,39 @@ +/*- + * SPDX-License-Identifier: BSD-2-Clause + * + * Copyright (c) 2019 Ian Lepore + * + * Redistribution and use in source and binary forms, with or without + * modification, are perm

Re: svn commit: r345491 - in head/sys: conf fs/tmpfs modules/tmpfs

2019-03-25 Thread Ian Lepore
On Mon, 2019-03-25 at 05:42 -0700, Cy Schubert wrote: > In message <201903250746.x2p7kkuu019...@repo.freebsd.org>, Allan > Jude > writes: > > Author: allanjude > > Date: Mon Mar 25 07:46:20 2019 > > New Revision: 345491 > > URL: https://svnweb.freebsd.org/changeset/base/345491 > > > > Log: > >

Re: svn commit: r345900 - head/sbin/fsck_msdosfs

2019-04-05 Thread Ian Lepore
On Sat, 2019-04-06 at 01:47 +1100, Bruce Evans wrote: > On Fri, 5 Apr 2019, Ed Maste wrote: > > > On Fri, 5 Apr 2019 at 00:49, Rodney W. Grimes > > wrote: > >> > > > >>> +static const u_char dot_name[] = { > >>> + '.', ' ',' ',' ',' ',' ',' ',' ',' ',' ',' ' }; > >>> +static const u_char dot

Re: svn commit: r345480 - in head/sys: conf geom geom/label

2019-04-07 Thread Ian Lepore
from="ufs:/dev/ada0s4a" > > > - Jia-Shiun. > Oops, sorry abou that, I forgot to add the new source file to the module makefile. Should be fixed with r346013. -- Ian > On Mon, Mar 25, 2019 at 3:12 AM Ian Lepore wrote: > > > Author: ian > > Date: Sun

svn commit: r346013 - head/sys/modules/geom/geom_label

2019-04-07 Thread Ian Lepore
Author: ian Date: Sun Apr 7 16:33:22 2019 New Revision: 346013 URL: https://svnweb.freebsd.org/changeset/base/346013 Log: Add g_label_flashmap.c to the module, should have been part of r345480. Reported by: Jia-Shiun Li Modified: head/sys/modules/geom/geom_label/Makefile Modified: he

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

2019-04-09 Thread Ian Lepore
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 13:54:08 2019 > > New Revision: 346052 > > URL: https://svnweb.freebsd.org/changeset/base/346052 > > > > Log: > > In some cases like NanoPI R1, its seco

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

2019-04-09 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

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

2019-04-09 Thread Ian Lepore
On Tue, 2019-04-09 at 11:19 -0600, Rebecca Cran wrote: > On 2019-04-08 12:25, Warner Losh wrote: > > Author: imp > > Date: Mon Apr 8 18:25:14 2019 > > New Revision: 346039 > > URL: https://svnweb.freebsd.org/changeset/base/346039 > > > > Log: > >Style only change: Prefer $() to `` > > > >

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

2019-04-15 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 GENER

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

2019-04-15 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 f

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

2019-04-16 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 > > > > Ris

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

2019-04-16 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 c

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

2019-04-17 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, i

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-04-17 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 dir

svn commit: r346317 - head/tools/boot

2019-04-17 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 directo

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

2019-04-17 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: r346341 - head/tools/build

2019-04-17 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: r346489 - head/sys/arm/broadcom/bcm2835

2019-04-21 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 o

svn commit: r346652 - head/tools/boot

2019-04-24 Thread Ian Lepore
Author: ian Date: Wed Apr 24 23:51:12 2019 New Revision: 346652 URL: https://svnweb.freebsd.org/changeset/base/346652 Log: Complain and exit the script if the 'make install' phase fails. Also, there is no need to install any debug files. Modified: head/tools/boot/rootgen.sh Modified: head

svn commit: r346653 - head/tools/boot

2019-04-24 Thread Ian Lepore
Author: ian Date: Wed Apr 24 23:52:38 2019 New Revision: 346653 URL: https://svnweb.freebsd.org/changeset/base/346653 Log: The zfs module has grown a dependency on zcl_nfs4.ko, so copy it into all the test images. Modified: head/tools/boot/rootgen.sh Modified: head/tools/boot/rootgen.sh ==

svn commit: r346654 - head/tools/boot

2019-04-24 Thread Ian Lepore
Author: ian Date: Thu Apr 25 00:08:15 2019 New Revision: 346654 URL: https://svnweb.freebsd.org/changeset/base/346654 Log: For the geli-gpt-zfs test images, both bios and uefi flavors, add a dummy ufs partition as p2, and put the zfs partition at p3, to test the ability of the zfs probe code

svn commit: r346675 - head/stand/common

2019-04-25 Thread Ian Lepore
Author: ian Date: Thu Apr 25 15:09:21 2019 New Revision: 346675 URL: https://svnweb.freebsd.org/changeset/base/346675 Log: Restore the ability to open a raw disk or partition in loader(8). The disk_open() function searches for "the best partition" when slice and partition information is n

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

2019-04-25 Thread Ian Lepore
Author: ian Date: Thu Apr 25 22:27:56 2019 New Revision: 346713 URL: https://svnweb.freebsd.org/changeset/base/346713 Log: Fix typo: the 4th argument to GPIO_PIN_ACCESS_32 is the set of pins to change, not the variable used to return the original pin state. PR: 237378 Reported

svn commit: r346751 - head/lib/libc/gen

2019-04-26 Thread Ian Lepore
:00:00 1970 (empty, because file is newly added) +++ head/lib/libc/gen/auxv.3Fri Apr 26 15:43:14 2019(r346751) @@ -0,0 +1,86 @@ +.\" +.\" Copyright (c) 2019 Ian Lepore +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modificatio

svn commit: r346968 - head/sbin/reboot

2019-04-30 Thread Ian Lepore
Author: ian Date: Tue Apr 30 17:42:05 2019 New Revision: 346968 URL: https://svnweb.freebsd.org/changeset/base/346968 Log: Update the manpage text to show the output generated by the first-stage bootloader these days (x86 instead of i386). Modified: head/sbin/reboot/boot_i386.8 Modified: h

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

2019-04-30 Thread Ian Lepore
Author: ian Date: Tue Apr 30 18:48:20 2019 New Revision: 346973 URL: https://svnweb.freebsd.org/changeset/base/346973 Log: Add a paragraph that mentions gptboot having an interactive mode, and direct the user to the boot(8) manpage, which provides the details on that. Modified: head/stand/i

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

2019-05-06 Thread Ian Lepore
On Mon, 2019-05-06 at 13:40 -0700, John Baldwin wrote: > On 5/6/19 11:45 AM, Mark Johnston wrote: > > On Mon, May 06, 2019 at 11:07:18AM -0700, John Baldwin wrote: > > > On 5/3/19 2:26 PM, Mark Johnston wrote: > > > > Author: markj > > > > Date: Fri May 3 21:26:44 2019 > > > > New Revision: 347063

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

2019-05-06 Thread Ian Lepore
On Mon, 2019-05-06 at 14:47 -0600, Warner Losh wrote: > On Mon, May 6, 2019 at 2:40 PM John Baldwin wrote: > > > On 5/6/19 11:45 AM, Mark Johnston wrote: > > > On Mon, May 06, 2019 at 11:07:18AM -0700, John Baldwin wrote: > > > > On 5/3/19 2:26 PM, Mark Johnston wrote: > > > > > Author: markj > >

svn commit: r347422 - head/sys/dev/dcons

2019-05-09 Thread Ian Lepore
Author: ian Date: Fri May 10 02:30:16 2019 New Revision: 347422 URL: https://svnweb.freebsd.org/changeset/base/347422 Log: Allow dcons(4) to be unloaded when loaded as a module. When the module is unloaded, the tty devices are destroyed. That requires implementing the tsw_free callback t

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

2019-05-11 Thread Ian Lepore
On Fri, 2019-05-10 at 23:57 -0500, Doug Moore wrote: > With mentor approval, I commit r347469. I start getting email about > jenkins failure to build for several architectures on account of the > _Generic() construct I introduced in that change. > > I whip up a patch to undo that part of r347469,

Re: svn commit: r347488 - head/usr.sbin/ntp/ntpd

2019-05-11 Thread Ian Lepore
On Sat, 2019-05-11 at 14:22 +, Xin LI wrote: > Author: delphij > Date: Sat May 11 14:22:21 2019 > New Revision: 347488 > URL: https://svnweb.freebsd.org/changeset/base/347488 > > Log: > Update leap-seconds to leap-seconds.3757622400. > For future reference: it's a bit better to get this

svn commit: r347974 - in head/sys: conf dev/usb dev/usb/net modules/usb/usb

2019-05-19 Thread Ian Lepore
&sc->sc_ue); #endif if ((err != 0) || (!ETHER_IS_VALID(sc->sc_ue.ue_eaddr))) { read_random(sc->sc_ue.ue_eaddr, ETHER_ADDR_LEN); Added: head/sys/dev/usb/usb_fdt_support.c == --- /dev/null 00:00:00 1970

svn commit: r348013 - head/sys/dev/usb/net

2019-05-20 Thread Ian Lepore
Author: ian Date: Mon May 20 21:45:00 2019 New Revision: 348013 URL: https://svnweb.freebsd.org/changeset/base/348013 Log: Use the new usb fdt support functions to locate the proper fdt node for the device instance, and to get the MAC address for the device instance. The ad-hoc code this rep

svn commit: r348016 - head/sys/dev/usb/net

2019-05-20 Thread Ian Lepore
Author: ian Date: Mon May 20 22:04:01 2019 New Revision: 348016 URL: https://svnweb.freebsd.org/changeset/base/348016 Log: Don't detour through sc->sc_ue when we have a direct pointer to ue in hand already. Also, shorten a variable name for nicer line-wrapping. No functional changes. Mo

svn commit: r348018 - head/sys/dev/usb/net

2019-05-20 Thread Ian Lepore
Author: ian Date: Mon May 20 22:21:47 2019 New Revision: 348018 URL: https://svnweb.freebsd.org/changeset/base/348018 Log: A MAC adddress from FDT data should override anything stored in eeprom or OTP registers (because the user is in control of the fdt data). Remove the early returns from

svn commit: r348020 - head/sys/dev/usb/net

2019-05-20 Thread Ian Lepore
Author: ian Date: Mon May 20 22:32:31 2019 New Revision: 348020 URL: https://svnweb.freebsd.org/changeset/base/348020 Log: Reverse the bit logic of sc_led_modes_mask. Instead of initializing it to all-ones then carving out blocks of zeroes where specified values go, init it to all-zeroes, p

Re: svn commit: r348090 - in head/libexec/bootpd: . bootpgw

2019-05-22 Thread Ian Lepore
On Wed, 2019-05-22 at 08:48 -0700, Rodney W. Grimes wrote: > > On Tue, May 21, 2019 at 09:25:23PM -0700, Rodney W. Grimes wrote: > > > > Author: markj > > > > Date: Wed May 22 04:13:57 2019 > > > > New Revision: 348090 > > > > URL: https://svnweb.freebsd.org/changeset/base/348090 > > > > > > > > L

Re: svn commit: r250609 - head/sys/dev/ath

2019-05-22 Thread Ian Lepore
On Wed, 2019-05-22 at 16:20 +, Alexey Dokuchaev wrote: > On Mon, May 13, 2013 at 07:03:13PM +, Adrian Chadd wrote: > > New Revision: 250609 > > URL: http://svnweb.freebsd.org/changeset/base/250609 > > > > Log: > > Since the node state is 100% back under the TX lock, just kill > > the use

svn commit: r348120 - head/usr.sbin/i2c

2019-05-22 Thread Ian Lepore
Author: ian Date: Wed May 22 21:06:10 2019 New Revision: 348120 URL: https://svnweb.freebsd.org/changeset/base/348120 Log: Add a new 'tr' (transfer) mode to i2c(8) to support more i2c controllers. Some i2c controller hardware does not provide a way to do individual START, REPEAT-START and

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

2019-05-22 Thread Ian Lepore
Author: ian Date: Wed May 22 21:47:26 2019 New Revision: 348123 URL: https://svnweb.freebsd.org/changeset/base/348123 Log: Add pnp info to the imx_i2c driver. Modified: head/sys/arm/freescale/imx/imx_i2c.c Modified: head/sys/arm/freescale/imx/imx_i2c.c ===

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

2019-05-22 Thread Ian Lepore
Author: ian Date: Thu May 23 01:41:49 2019 New Revision: 348141 URL: https://svnweb.freebsd.org/changeset/base/348141 Log: Handle the driftfile option correctly when ntpd_flags is empty. The logic I originally wrote to detect whether a driftfile option was in the set of flags was based on

Re: svn commit: r336547 - in head/etc: defaults rc.d

2019-05-22 Thread Ian Lepore
On Wed, 2019-05-22 at 14:40 +0300, Andriy Gapon wrote: > Something I've just noticed about this commit: > > On 20/07/2018 16:59, Ian Lepore wrote: > > Author: ian > > Date: Fri Jul 20 13:59:29 2018 > > New Revision: 336547 > > URL: https://svnweb.freebsd.

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

2019-05-22 Thread Ian Lepore
Author: ian Date: Thu May 23 01:49:08 2019 New Revision: 348143 URL: https://svnweb.freebsd.org/changeset/base/348143 Log: Remove accidentally-added blank line; the style throughout this file is to use no whitespace between a comment block and the code it describes. Modified: head/libexec/r

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

2019-05-23 Thread Ian Lepore
Author: ian Date: Thu May 23 14:02:39 2019 New Revision: 348164 URL: https://svnweb.freebsd.org/changeset/base/348164 Log: Mark i2c slave devices busy while they own the bus. Many i2c slave drivers are in modules that can be unloaded. If they detach while IO is in progress the bus would

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

2019-05-23 Thread Ian Lepore
Author: ian Date: Thu May 23 14:21:23 2019 New Revision: 348166 URL: https://svnweb.freebsd.org/changeset/base/348166 Log: Release the bus-recovery gpio pins in detach(), so that unload then reload of the module works without "pin already allocated" errors. Modified: head/sys/arm/freescale/

svn commit: r348169 - in head/sys/dev: iicbus ofw

2019-05-23 Thread Ian Lepore
Author: ian Date: Thu May 23 15:47:30 2019 New Revision: 348169 URL: https://svnweb.freebsd.org/changeset/base/348169 Log: Define macros making it easier to define bus-specific pnpinfo for FDT systems. Pnpinfo is bus-specific and requires the bus name. The FDTCOMPAT_PNP_INFO() macro makes

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

2019-05-23 Thread Ian Lepore
Author: ian Date: Thu May 23 15:51:51 2019 New Revision: 348170 URL: https://svnweb.freebsd.org/changeset/base/348170 Log: Add pnpinfo for icee(4) on fdt systems. Modified: head/sys/dev/iicbus/icee.c Modified: head/sys/dev/iicbus/icee.c ===

svn commit: r348172 - in head/sys/dev: flash spibus

2019-05-23 Thread Ian Lepore
Author: ian Date: Thu May 23 15:59:50 2019 New Revision: 348172 URL: https://svnweb.freebsd.org/changeset/base/348172 Log: Use the new FDTCOMPAT_PNP_INFO() macro to define SPIBUS_FDT_PNP_INFO(). Also rename SPIBUS_PNP_INFO -> SPIBUS_FDT_PNP_INFO because there could be other kinds of pnpinfo

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

2019-05-23 Thread Ian Lepore
Author: ian Date: Thu May 23 16:03:30 2019 New Revision: 348173 URL: https://svnweb.freebsd.org/changeset/base/348173 Log: Rename IICBUS_FDT_PNPINFO -> IICBUS_FDT_PNP_INFO because all the other existing pnpinfo-related macros right now use PNP_INFO, not PNPINFO. Modified: head/sys/dev/iicbu

svn commit: r348183 - head/sys/dev/iicbus/twsi

2019-05-23 Thread Ian Lepore
Author: ian Date: Thu May 23 18:19:56 2019 New Revision: 348183 URL: https://svnweb.freebsd.org/changeset/base/348183 Log: Add pnpinfo. Modified: head/sys/dev/iicbus/twsi/a10_twsi.c head/sys/dev/iicbus/twsi/mv_twsi.c Modified: head/sys/dev/iicbus/twsi/a10_twsi.c ===

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

2019-05-23 Thread Ian Lepore
Author: ian Date: Thu May 23 18:24:27 2019 New Revision: 348184 URL: https://svnweb.freebsd.org/changeset/base/348184 Log: Add pnpinfo to all i2c drivers that have FDT compat data. Modified: head/sys/dev/iicbus/ds1307.c head/sys/dev/iicbus/ds13rtc.c head/sys/dev/iicbus/isl12xx.c head/sy

Re: svn commit: r315277 - in head/sys: dev/cxgb/ulp/iw_cxgb netinet

2017-03-14 Thread Ian Lepore
On Tue, 2017-03-14 at 18:27 +, Eric van Gyzen wrote: > Author: vangyzen > Date: Tue Mar 14 18:27:48 2017 > New Revision: 315277 > URL: https://svnweb.freebsd.org/changeset/base/315277 > > Log: >   KTR: log IPv4 addresses in hex rather than dotted-quad >    Don't all those s_addr fields now ne

Re: svn commit: r315466 - in head/sys/dev: mmc sdhci

2017-03-17 Thread Ian Lepore
On Fri, 2017-03-17 at 22:57 +, Marius Strobl wrote: > Author: marius > Date: Fri Mar 17 22:57:37 2017 > New Revision: 315466 > URL: https://svnweb.freebsd.org/changeset/base/315466 > > Log: >   Again, fixes regarding style(4), to comments, includes and unused >   parameters. > > Modified: >  

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

2017-03-18 Thread Ian Lepore
Author: ian Date: Sat Mar 18 17:50:49 2017 New Revision: 315490 URL: https://svnweb.freebsd.org/changeset/base/315490 Log: Make the imx5 clocks driver work with vendor-supplied dts (which does not supply the addresses for the DPLL register blocks) by hard-coding the addresses in the driver s

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

2017-03-18 Thread Ian Lepore
Author: ian Date: Sat Mar 18 19:54:58 2017 New Revision: 315508 URL: https://svnweb.freebsd.org/changeset/base/315508 Log: Remove hardcoded bootverbose=1; imx53 systems boot using loader(8) and users can set verbose if they want to. Modified: head/sys/arm/freescale/imx/imx53_machdep.c Modi

Re: svn commit: r315522 - in head: contrib/binutils/ld/emulparams sys/conf

2017-03-18 Thread Ian Lepore
On Sun, 2017-03-19 at 00:22 +, Ed Maste wrote: > Author: emaste > Date: Sun Mar 19 00:22:13 2017 > New Revision: 315522 > URL: https://svnweb.freebsd.org/changeset/base/315522 > > Log: >   use INT3 instead of NOP for x86 binary padding >    >   We should never end up executing the inter-functi

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

2017-03-18 Thread Ian Lepore
Author: ian Date: Sun Mar 19 04:03:39 2017 New Revision: 315530 URL: https://svnweb.freebsd.org/changeset/base/315530 Log: Remove unreferenced global function imx_gpt_get_timerfreq() and do some cleanups enabled by that: - The only thing left in imx_gptvar.h was the softc, which IMO neve

svn commit: r315572 - head/sys/arm/conf

2017-03-19 Thread Ian Lepore
Author: ian Date: Sun Mar 19 18:26:52 2017 New Revision: 315572 URL: https://svnweb.freebsd.org/changeset/base/315572 Log: Remove kernel config for IMX53-QSB (quickstart board). It was just standard IMX53 with static dtb added, and now that imx53 can use vendor- supplied dts files and ubldr

svn commit: r315573 - head/sys/arm/conf

2017-03-19 Thread Ian Lepore
Author: ian Date: Sun Mar 19 18:28:38 2017 New Revision: 315573 URL: https://svnweb.freebsd.org/changeset/base/315573 Log: Add dtb/imx5 module build to the imx53 kernel config. Modified: head/sys/arm/conf/IMX53 Modified: head/sys/arm/conf/IMX53 ===

svn commit: r315574 - in head/sys/arm: conf freescale/imx

2017-03-19 Thread Ian Lepore
Author: ian Date: Sun Mar 19 18:30:38 2017 New Revision: 315574 URL: https://svnweb.freebsd.org/changeset/base/315574 Log: Convert the imx5 interrupt controller driver to INTRNG. Modified: head/sys/arm/conf/IMX53 head/sys/arm/freescale/imx/tzic.c Modified: head/sys/arm/conf/IMX53 =

svn commit: r315575 - head/sys/arm/conf

2017-03-19 Thread Ian Lepore
Author: ian Date: Sun Mar 19 18:35:20 2017 New Revision: 315575 URL: https://svnweb.freebsd.org/changeset/base/315575 Log: Remove kernel config for DIGI-CCWMX53 devel board. It was just standard IMX53 with static dtb added, and now that imx53 can use vendor-supplied dts files and ubldr, the

svn commit: r315576 - head/sys/arm/conf

2017-03-19 Thread Ian Lepore
Author: ian Date: Sun Mar 19 18:38:08 2017 New Revision: 315576 URL: https://svnweb.freebsd.org/changeset/base/315576 Log: Add INTRNG option to EFIKA_MX config, it is an imx5-based platform. Modified: head/sys/arm/conf/EFIKA_MX Modified: head/sys/arm/conf/EFIKA_MX ===

svn commit: r315577 - head/sys/boot/fdt/dts/arm

2017-03-19 Thread Ian Lepore
Author: ian Date: Sun Mar 19 18:50:03 2017 New Revision: 315577 URL: https://svnweb.freebsd.org/changeset/base/315577 Log: Delete our local imx53-qsb.dts file; the code now runs fine using the standard vendor-supplied file in sys/gnu/dts/arm. Deleted: head/sys/boot/fdt/dts/arm/imx53-qsb.dts

svn commit: r315578 - head/sys/modules/dtb/imx5

2017-03-19 Thread Ian Lepore
Author: ian Date: Sun Mar 19 19:10:23 2017 New Revision: 315578 URL: https://svnweb.freebsd.org/changeset/base/315578 Log: Add a module to build imx5 dtb files. Added: head/sys/modules/dtb/imx5/ head/sys/modules/dtb/imx5/Makefile (contents, props changed) Added: head/sys/modules/dtb/imx5

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

2017-03-19 Thread Ian Lepore
Author: ian Date: Sun Mar 19 21:28:37 2017 New Revision: 315589 URL: https://svnweb.freebsd.org/changeset/base/315589 Log: Eliminate unnecessary read/modify/write sequences during eventtimer setup. It turns out to be surprisingly expensive to access the gpt hardware (on the order of 150ns

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

2017-03-19 Thread Ian Lepore
Author: ian Date: Sun Mar 19 21:53:12 2017 New Revision: 315591 URL: https://svnweb.freebsd.org/changeset/base/315591 Log: Replace the hard-coded way-too-small minimum event timer period with a value calculated at runtime based on how long it takes to set up an event in hardware. This fixes

Re: svn commit: r315653 - in head: lib/libstand sys/boot/common sys/boot/i386/libi386

2017-03-21 Thread Ian Lepore
On Tue, 2017-03-21 at 15:35 +0300, Slawa Olhovchenkov wrote: > On Mon, Mar 20, 2017 at 10:20:17PM +, Toomas Soome wrote: > > > > > Author: tsoome > > Date: Mon Mar 20 22:20:17 2017 > > New Revision: 315653 > > URL: https://svnweb.freebsd.org/changeset/base/315653 > > > > Log: > >   loader: v

svn commit: r315692 - head/tools/test/ppsapi

2017-03-21 Thread Ian Lepore
Author: ian Date: Tue Mar 21 22:21:29 2017 New Revision: 315692 URL: https://svnweb.freebsd.org/changeset/base/315692 Log: Eliminate a "format string is not a string literal" warning. Modified: head/tools/test/ppsapi/ppsapitest.c Modified: head/tools/test/ppsapi/ppsapitest.c

Re: svn commit: r315773 - head/sbin/devd

2017-03-23 Thread Ian Lepore
On Thu, 2017-03-23 at 19:58 +0100, Roman Divacky wrote: > On Thu, Mar 23, 2017 at 02:36:51AM +, Warner Losh wrote: > > > > Author: imp > > Date: Thu Mar 23 02:36:51 2017 > > New Revision: 315773 > > URL: https://svnweb.freebsd.org/changeset/base/315773 > > > > Log: > >   Implement quote escap

Re: svn commit: r316311 - in head: lib/libstand sys/boot/geli sys/boot/i386/gptboot sys/boot/i386/loader sys/boot/i386/zfsboot

2017-03-31 Thread Ian Lepore
On Fri, 2017-03-31 at 00:04 +, Allan Jude wrote: > >   Add explicit_bzero() to libstand, and switch GELIBoot to using it revolution > man explicit_bzero No manual entry for explicit_bzero revolution > svn log -v explicit_bzero.c ... r272673 | delphij | 2014-10-06 22:54:11

Re: svn commit: r316311 - in head: lib/libstand sys/boot/geli sys/boot/i386/gptboot sys/boot/i386/loader sys/boot/i386/zfsboot

2017-03-31 Thread Ian Lepore
 On Fri, 2017-03-31 at 16:27 +0100, Steven Hartland wrote: > On 31/03/2017 16:16, Ian Lepore wrote: > > > > On Fri, 2017-03-31 at 00:04 +, Allan Jude wrote: > > > > > >    Add explicit_bzero() to libstand, and switch GELIBoot to using > > > i

svn commit: r316374 - head/sys/boot/arm/uboot

2017-04-01 Thread Ian Lepore
Author: ian Date: Sat Apr 1 21:51:34 2017 New Revision: 316374 URL: https://svnweb.freebsd.org/changeset/base/316374 Log: Preserve the registers containing argc, argv, and return address values passed in from u-boot across the call to self_reloc and any other early-init code, and restore th

svn commit: r316377 - head/sys/boot/uboot/common

2017-04-01 Thread Ian Lepore
Author: ian Date: Sat Apr 1 22:03:00 2017 New Revision: 316377 URL: https://svnweb.freebsd.org/changeset/base/316377 Log: Correct a comment... the stack used by ubldr is the same stack u-boot was running on when it jumped to the ubldr entry point. None of the arches that use this code set

Re: svn commit: r316488 - head/share/man/man4

2017-04-04 Thread Ian Lepore
On Tue, 2017-04-04 at 13:18 +, Sevan Janiyan wrote: > Author: sevan (doc committer) > Date: Tue Apr  4 13:18:56 2017 > New Revision: 316488 > URL: https://svnweb.freebsd.org/changeset/base/316488 > > Log: >   Replace an with a >   Reword caveat on PCI 2.2 requirement. >    >   PR: 2180

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

2017-04-09 Thread Ian Lepore
Author: ian Date: Sun Apr 9 18:31:33 2017 New Revision: 316659 URL: https://svnweb.freebsd.org/changeset/base/316659 Log: Remove some old interrupt handling workaround code from the pre-INTRNG days. At this point, INTRNG is not going away (the option may go away, but the code is not), so

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

2017-04-09 Thread Ian Lepore
Author: ian Date: Sun Apr 9 20:41:00 2017 New Revision: 316661 URL: https://svnweb.freebsd.org/changeset/base/316661 Log: Update the code that compensates for the lack of a GPC interrupt controller driver for imx6. Some newer dts source puts the GIC node at the root instead of under /soc,

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

2017-04-09 Thread Ian Lepore
Author: ian Date: Sun Apr 9 20:59:12 2017 New Revision: 316664 URL: https://svnweb.freebsd.org/changeset/base/316664 Log: Add code/constants for detecting imx6ul (ultralite) chips, a species of imx6 based on a single cortex-a7 core. Other changes to imx6 drivers and support code are needed

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

2017-04-09 Thread Ian Lepore
Author: ian Date: Mon Apr 10 02:46:39 2017 New Revision: 316670 URL: https://svnweb.freebsd.org/changeset/base/316670 Log: Add support for imx6ul soc. Modified: head/sys/arm/freescale/imx/imx_iomux.c Modified: head/sys/arm/freescale/imx/imx_iomux.c ===

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