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

2017-07-31 Thread Ian Lepore
Author: ian Date: Mon Jul 31 14:58:01 2017 New Revision: 321792 URL: https://svnweb.freebsd.org/changeset/base/321792 Log: Add a detach() method. Modified: head/sys/dev/iicbus/ds1307.c Modified: head/sys/dev/iicbus/ds1307.c

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

2017-07-31 Thread Ian Lepore
Author: ian Date: Mon Jul 31 15:24:40 2017 New Revision: 321795 URL: https://svnweb.freebsd.org/changeset/base/321795 Log: Check the clock-halted flag every time the clock is read, not just once at startup. The flag stays set until the clock is loaded with good time, so we need to keep sayi

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

2017-07-31 Thread Ian Lepore
Author: ian Date: Mon Jul 31 16:46:16 2017 New Revision: 321798 URL: https://svnweb.freebsd.org/changeset/base/321798 Log: Restore a few rather important lines of code that got fumbled in r321746. Modified: head/sys/dev/iicbus/ds1307.c Modified: head/sys/dev/iicbus/ds1307.c =

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

2017-07-31 Thread Ian Lepore
Author: ian Date: Mon Jul 31 21:53:00 2017 New Revision: 321821 URL: https://svnweb.freebsd.org/changeset/base/321821 Log: No need to call getnanotime() now that the waiting is done by the central subr_rtc code, switch from CLOCKF_SETTIME_NO_TS to CLOCKF_SETTIME_NO_ADJ so that we get fed a t

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

2017-07-31 Thread Ian Lepore
Author: ian Date: Mon Jul 31 22:00:00 2017 New Revision: 321823 URL: https://svnweb.freebsd.org/changeset/base/321823 Log: Bugfixes and enhancements... Don't enable the oscillator when it is found to be stopped at init time, just let the first setting of valid time start it. But still re

svn commit: r321826 - head/sys/modules/i2c

2017-07-31 Thread Ian Lepore
Author: ian Date: Mon Jul 31 22:26:30 2017 New Revision: 321826 URL: https://svnweb.freebsd.org/changeset/base/321826 Log: Restructure the SUBDIR list as 1-per-line and alphabetize, so it will be easier to add new things (and see what changed) in the future. Modified: head/sys/modules/i2c/M

svn commit: r321828 - in head/sys/modules/i2c: . ds1307 ds3231 nxprtc

2017-07-31 Thread Ian Lepore
Author: ian Date: Mon Jul 31 22:32:11 2017 New Revision: 321828 URL: https://svnweb.freebsd.org/changeset/base/321828 Log: Build iicbus/{ds1307,ds3231,nxprtc} as modules. Added: head/sys/modules/i2c/ds1307/ head/sys/modules/i2c/ds1307/Makefile (contents, props changed) head/sys/modules/

svn commit: r321841 - in head/sys: conf dev/iicbus modules/i2c modules/i2c/isl12xx

2017-07-31 Thread Ian Lepore
16:52 2017 (r321841) @@ -0,0 +1,354 @@ +/*- + * Copyright (c) 2017 Ian Lepore. All rights reserved. + * + * 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

svn commit: r321876 - head

2017-08-01 Thread Ian Lepore
Author: ian Date: Tue Aug 1 14:54:25 2017 New Revision: 321876 URL: https://svnweb.freebsd.org/changeset/base/321876 Log: In xdev-links, when installing symlinks to the cross-compiler pieces that includes the OS version (armv6-freebsd12.0-cc, etc), use the OS version of the compiler/world s

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

2017-08-02 Thread Ian Lepore
Author: ian Date: Wed Aug 2 15:15:18 2017 New Revision: 321933 URL: https://svnweb.freebsd.org/changeset/base/321933 Log: The imx6_snvs driver is not strictly required for the system to run, so change it from standard to optional and add a device statement for it so that it's included unles

svn commit: r321934 - in head/sys/modules/i2c: ds1307 ds3231 isl12xx

2017-08-02 Thread Ian Lepore
Author: ian Date: Wed Aug 2 15:16:40 2017 New Revision: 321934 URL: https://svnweb.freebsd.org/changeset/base/321934 Log: Add missing ofw_bus_if.h src file. Modified: head/sys/modules/i2c/ds1307/Makefile head/sys/modules/i2c/ds3231/Makefile head/sys/modules/i2c/isl12xx/Makefile Modified

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

2017-08-02 Thread Ian Lepore
Author: ian Date: Wed Aug 2 18:28:06 2017 New Revision: 321938 URL: https://svnweb.freebsd.org/changeset/base/321938 Log: Fix the interface to imx_iomux_gpr_get/set(). The functions were defined as taking a register number, and that would get multiplied by 4 to make a register address. Bu

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

2017-08-03 Thread Ian Lepore
Author: ian Date: Thu Aug 3 14:43:41 2017 New Revision: 322015 URL: https://svnweb.freebsd.org/changeset/base/322015 Log: Add an ahci driver for imx6. This was submitted by Rogiel Sulzbach (thank you!) but has a few last-minute changes by me, mostly where the code interfaces to my still-

svn commit: r322025 - head/sys/arm/allwinner

2017-08-03 Thread Ian Lepore
Author: ian Date: Thu Aug 3 18:43:54 2017 New Revision: 322025 URL: https://svnweb.freebsd.org/changeset/base/322025 Log: Switch to iicdev_readfrom/writeto() to do xfers with proper bus ownership. Tested by:manu@ Modified: head/sys/arm/allwinner/axp209.c Modified: head/sys/arm/allw

svn commit: r322026 - head/sys/modules/i2c/nxprtc

2017-08-03 Thread Ian Lepore
Author: ian Date: Thu Aug 3 18:49:15 2017 New Revision: 322026 URL: https://svnweb.freebsd.org/changeset/base/322026 Log: Add missing header file to SRCS. Reported by: manu@ Modified: head/sys/modules/i2c/nxprtc/Makefile Modified: head/sys/modules/i2c/nxprtc/Makefile =

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

2017-08-08 Thread Ian Lepore
Author: ian Date: Tue Aug 8 22:58:34 2017 New Revision: 322282 URL: https://svnweb.freebsd.org/changeset/base/322282 Log: Remove the ds133x and s35390a i2c RTC drivers for now. They both do i2c transfers in their probe() or attach() routines, and that doesn't work when the low-level contro

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

2017-08-10 Thread Ian Lepore
Author: ian Date: Thu Aug 10 19:42:30 2017 New Revision: 322373 URL: https://svnweb.freebsd.org/changeset/base/322373 Log: Ensure the clocks driver is attached before any drivers that need to enable clocks in their attach(). Modified: head/sys/arm/ti/am335x/am335x_prcm.c Modified: head/sys

svn commit: r322411 - in head/sys: dev/xen/timer isa x86/isa

2017-08-11 Thread Ian Lepore
Author: ian Date: Fri Aug 11 19:02:11 2017 New Revision: 322411 URL: https://svnweb.freebsd.org/changeset/base/322411 Log: Stop calling atrtc_set() from the xen timer clock_settime() method. That removes the only reference to atrtc_set() from outside of atrtc.c, so make it static. The

Re: svn commit: r322418 - head/lib/msun/src

2017-08-12 Thread Ian Lepore
On Fri, 2017-08-11 at 22:41 +, Ryan Libby wrote: > Author: rlibby > Date: Fri Aug 11 22:41:24 2017 > New Revision: 322418 > URL: https://svnweb.freebsd.org/changeset/base/322418 > > Log: >   lib/msun: avoid referring to broken LDBL_MAX >    >   LDBL_MAX is broken on i386: >   https://lists.fre

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

2017-08-12 Thread Ian Lepore
Author: ian Date: Sat Aug 12 17:39:32 2017 New Revision: 322431 URL: https://svnweb.freebsd.org/changeset/base/322431 Log: Bid for the device with BUS_PROBE_GENERIC, because this is very much a generic driver with minimal feature support for a large number of chips. More featureful per-chip

svn commit: r322465 - in head: share/man/man9 sys/kern sys/sys

2017-08-13 Thread Ian Lepore
Author: ian Date: Sun Aug 13 18:10:24 2017 New Revision: 322465 URL: https://svnweb.freebsd.org/changeset/base/322465 Log: Add config_intrhook_oneshot(): schedule an intrhook function and unregister it automatically after it runs. The config_intrhook mechanism allows a driver to stall the

Re: svn commit: r322465 - in head: share/man/man9 sys/kern sys/sys

2017-08-13 Thread Ian Lepore
On Sun, 2017-08-13 at 11:41 -0700, Conrad Meyer wrote: > On Sun, Aug 13, 2017 at 11:10 AM, Ian Lepore wrote: > > > > Author: ian > > Date: Sun Aug 13 18:10:24 2017 > > New Revision: 322465 > > URL: https://svnweb.freebsd.org/changeset/base/322465 > > >

svn commit: r322473 - in head/sys: conf dev/iicbus modules/i2c modules/i2c/ds13rtc

2017-08-13 Thread Ian Lepore
--- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sys/dev/iicbus/ds13rtc.c Sun Aug 13 21:02:40 2017 (r322473) @@ -0,0 +1,629 @@ +/*- + * Copyright (c) 2017 Ian Lepore + * All rights reserved. + * + * Redistribution and use in source and

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

2017-08-13 Thread Ian Lepore
Author: ian Date: Sun Aug 13 21:45:46 2017 New Revision: 322475 URL: https://svnweb.freebsd.org/changeset/base/322475 Log: Change "chiptype" to "compatible". Making the hint name the same as the FDT property name should make it easier to document the list of names accepted by both configura

svn commit: r322476 - in head/sys: conf dev/iicbus mips/conf mips/rmi

2017-08-13 Thread Ian Lepore
Author: ian Date: Sun Aug 13 22:07:42 2017 New Revision: 322476 URL: https://svnweb.freebsd.org/changeset/base/322476 Log: Remove the old ds1374 driver and use the ds13rtc driver instead. Adjust several mips config files accordingly. Deleted: head/sys/dev/iicbus/ds1374.c Modified: head/s

svn commit: r322477 - in head/sys: dev/iicbus modules/i2c modules/i2c/s35390a

2017-08-13 Thread Ian Lepore
Author: ian Date: Mon Aug 14 00:00:24 2017 New Revision: 322477 URL: https://svnweb.freebsd.org/changeset/base/322477 Log: Minor fixes and enhancements for the s35390a i2c RTC driver... - Add FDT probe code. - Do i2c transfers with exclusive bus ownership. - Use config_intrhook_oneshot(

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

2017-08-13 Thread Ian Lepore
Author: ian Date: Mon Aug 14 00:12:14 2017 New Revision: 322478 URL: https://svnweb.freebsd.org/changeset/base/322478 Log: Add back the drivers for Dallas/Maxim ds13xx and Seiko S35390x now that they've been rewritten/fixed to not cause panics by doing i2c transfers before interrupts are ava

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

2017-08-13 Thread Ian Lepore
Author: ian Date: Mon Aug 14 02:23:10 2017 New Revision: 322479 URL: https://svnweb.freebsd.org/changeset/base/322479 Log: Add hinted attachment for non-FDT systems. Also, print a message if setting up the timer fails, because on some types of chips that's the first attempt to access the de

svn commit: r322580 - head/sys/kern

2017-08-16 Thread Ian Lepore
Author: ian Date: Wed Aug 16 16:51:55 2017 New Revision: 322580 URL: https://svnweb.freebsd.org/changeset/base/322580 Log: Fix compile error with option DEBUG. This is fallout from some long-ago INTRNG refactoring that didn't get caught at the time because code in a debugf() statement isn't

Re: svn commit: r322893 - head/bin/dd

2017-08-25 Thread Ian Lepore
On Fri, 2017-08-25 at 12:09 -0600, Warner Losh wrote: > On Fri, Aug 25, 2017 at 12:02 PM, Matt Joras > wrote: > > > > > On 08/25/2017 10:17, Conrad Meyer wrote: > > > > > > This change seems to break buildworld on MIPS: > > > > > > /home/cem/head.svn/bin/dd/args.c: In function 'f_bs': > > > /h

Re: svn commit: r322969 - in head: sbin/mdconfig sys/dev/md sys/sys

2017-08-29 Thread Ian Lepore
On Mon, 2017-08-28 at 16:40 -0700, Maxim Sobolev wrote: > John, well, this depends on how you look at it. The padding element size is > "int", which when you account for the alignment has the nice property on > both 32 and 64-bit arches that no matter what kind of element you add > (char, short, in

Re: svn commit: r322969 - in head: sbin/mdconfig sys/dev/md sys/sys

2017-08-31 Thread Ian Lepore
t would be really nice to add extra mode flag into mdconfig so that > it > goes via those ioctl() rather than geom to fetch the device data > data. If > nothing else it would provide a basis to create an unit test for > those > ioctls. > > -Max > > On Tue, Aug 29,

Re: svn commit: r323087 - in head/sys: amd64/conf arm64/conf i386/conf powerpc/conf riscv/conf sparc64/conf

2017-09-01 Thread Ian Lepore
On Fri, 2017-09-01 at 09:06 -0700, Conrad Meyer wrote: > Wait, why?  The PR doesn't explain it any better than this commit > message. > > On Fri, Sep 1, 2017 at 8:54 AM, Josh Paetzel > wrote: > > > > Author: jpaetzel > > Date: Fri Sep  1 15:54:53 2017 > > New Revision: 323087 > > URL: https://sv

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

2017-09-02 Thread Ian Lepore
Author: ian Date: Sat Sep 2 19:20:11 2017 New Revision: 323132 URL: https://svnweb.freebsd.org/changeset/base/323132 Log: The latest RPi firmware leaves secondary cores in a wait-for-event (WFE) state to save power, so after writing the entry point address for a core to the mailbox, use a d

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

2017-09-02 Thread Ian Lepore
Author: ian Date: Sat Sep 2 19:22:16 2017 New Revision: 323133 URL: https://svnweb.freebsd.org/changeset/base/323133 Log: Change leading spaces to tabs, no functional change. Modified: head/sys/arm/broadcom/bcm2835/bcm2836_mp.c Modified: head/sys/arm/broadcom/bcm2835/bcm2836_mp.c ==

Re: svn commit: r323254 - head/sys/compat/freebsd32

2017-09-08 Thread Ian Lepore
On Fri, 2017-09-08 at 08:14 -0400, John Baldwin wrote: > On 9/7/17 12:29 AM, Maxim Sobolev wrote: > > > > Author: sobomax > > Date: Thu Sep  7 04:29:57 2017 > > New Revision: 323254 > > URL: https://svnweb.freebsd.org/changeset/base/323254 > > > > Log: > >   In the recvmsg32() system call iterate

svn commit: r323341 - head/share/man/man5

2017-09-08 Thread Ian Lepore
Author: ian Date: Sat Sep 9 02:28:21 2017 New Revision: 323341 URL: https://svnweb.freebsd.org/changeset/base/323341 Log: Clarify that the size option is in bytes by default, but also accepts the usual SI suffixes. Modified: head/share/man/man5/tmpfs.5 Modified: head/share/man/man5/tmpfs.

Re: svn commit: r323359 - in head/sys: conf dev/uart modules/uart

2017-09-09 Thread Ian Lepore
On Sat, 2017-09-09 at 12:09 -0600, Sean Bruno wrote: > > On 09/09/17 05:42, Marcin Wojtas wrote: > > > > Author: mw > > Date: Sat Sep  9 11:42:32 2017 > > New Revision: 323359 > > URL: https://svnweb.freebsd.org/changeset/base/323359 > > > > Log: > >   Introduce UART driver module for Armada 370

Re: svn commit: r323359 - in head/sys: conf dev/uart modules/uart

2017-09-09 Thread Ian Lepore
On Sat, 2017-09-09 at 12:45 -0600, Sean Bruno wrote: > > On 09/09/17 12:20, Ian Lepore wrote: > > > > On Sat, 2017-09-09 at 12:09 -0600, Sean Bruno wrote: > > > > > > > > > On 09/09/17 05:42, Marcin Wojtas wrote: > > > > > >

svn commit: r323392 - in head/sys: arm/allwinner arm/freescale/imx dev/gpio sys

2017-09-10 Thread Ian Lepore
Author: ian Date: Sun Sep 10 18:08:25 2017 New Revision: 323392 URL: https://svnweb.freebsd.org/changeset/base/323392 Log: Add gpio methods to read/write/configure up to 32 pins simultaneously. Sometimes it is necessary to combine several gpio pins into an ad-hoc bus and manipulate the pi

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

2017-09-11 Thread Ian Lepore
Author: ian Date: Mon Sep 11 21:49:38 2017 New Revision: 323465 URL: https://svnweb.freebsd.org/changeset/base/323465 Log: Make i2c -s (device scan) work on hardware that supports only full xfers. The existing scan code is based on sending an i2c START condition and if there is no error i

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

2017-09-11 Thread Ian Lepore
Author: ian Date: Mon Sep 11 23:47:49 2017 New Revision: 323474 URL: https://svnweb.freebsd.org/changeset/base/323474 Log: Add a default implementation that returns ENODEV for start, repeat_start, stop, read, and write methods. Some controllers don't implement these individual operations an

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

2017-09-13 Thread Ian Lepore
On Wed, 2017-09-13 at 09:26 -0700, John Baldwin wrote: > On Wednesday, September 13, 2017 09:09:42 AM Sean Bruno wrote: > > > > > > On 09/13/17 08:35, John Baldwin wrote: > > > > > > On Wednesday, September 13, 2017 03:56:04 AM Sean Bruno wrote: > > > > > > > > Author: sbruno > > > > Date: Wed

svn commit: r323553 - in head/sys: arm/at91 arm/broadcom/bcm2835 arm/freescale/imx arm/ti dev/glxiic

2017-09-13 Thread Ian Lepore
Author: ian Date: Wed Sep 13 16:54:27 2017 New Revision: 323553 URL: https://svnweb.freebsd.org/changeset/base/323553 Log: Defer attaching and probing iicbus and its children until interrupts are available, in i2c controller drivers that require interrupts for transfers. This is the resul

svn commit: r323642 - in head/sys/modules/i2c: ds1307 ds13rtc ds3231 isl12xx nxprtc s35390a

2017-09-16 Thread Ian Lepore
Author: ian Date: Sat Sep 16 16:09:05 2017 New Revision: 323642 URL: https://svnweb.freebsd.org/changeset/base/323642 Log: Add a missing header file to SRCS to fix out-of-kernel builds. PR: 222354 Submitted by: eugen@ Pointy hat: ian@ Modified: head/sys/modules/i2c/ds1307

svn commit: r323691 - in head/sys: dev/iicbus modules/i2c modules/i2c/icee

2017-09-17 Thread Ian Lepore
Author: ian Date: Sun Sep 17 22:58:13 2017 New Revision: 323691 URL: https://svnweb.freebsd.org/changeset/base/323691 Log: Give icee(4) a detach() method so it can be used as a module. Add a module makefile for it. Added: head/sys/modules/i2c/icee/ head/sys/modules/i2c/icee/Makefile (c

Re: svn commit: r323715 - head/sys/contrib/ipfilter/netinet

2017-09-18 Thread Ian Lepore
On Mon, 2017-09-18 at 19:16 +, Cy Schubert wrote: > Author: cy > Date: Mon Sep 18 19:16:41 2017 > New Revision: 323715 > URL: https://svnweb.freebsd.org/changeset/base/323715 > > Log: >   Don't use an apostrophe in a possesive pronoun. >    And that really is the way to remember it for those

svn commit: r323985 - in head/sys/cddl: compat/opensolaris/sys contrib/opensolaris/uts/common/fs/zfs

2017-09-25 Thread Ian Lepore
Author: ian Date: Mon Sep 25 15:03:27 2017 New Revision: 323985 URL: https://svnweb.freebsd.org/changeset/base/323985 Log: Use nstosbt() instead of multiplying by SBT_1NS to avoid roundoff errors. Differential Revision:https://reviews.freebsd.org/D11779 Modified: head/sys/cddl/co

svn commit: r323997 - head/contrib/gcc/config/arm

2017-09-25 Thread Ian Lepore
Author: ian Date: Mon Sep 25 23:24:41 2017 New Revision: 323997 URL: https://svnweb.freebsd.org/changeset/base/323997 Log: Fix handling of uncaught exceptions in a std::terminate() handler on arm. When raising an exception, the unwinder searches for a catch handler and if none is found it

svn commit: r323998 - head/contrib/gcc/config/arm

2017-09-25 Thread Ian Lepore
Author: ian Date: Mon Sep 25 23:50:10 2017 New Revision: 323998 URL: https://svnweb.freebsd.org/changeset/base/323998 Log: Fix the return value from _Unwind_Backtrace() on arm. If unwinding stops due to hitting the end of the call chain, the return value is supposed to be _URC_END_OF_STAC

svn commit: r324107 - in head: etc etc/defaults sbin/mdmfs

2017-09-29 Thread Ian Lepore
Author: ian Date: Fri Sep 29 22:13:26 2017 New Revision: 324107 URL: https://svnweb.freebsd.org/changeset/base/324107 Log: Enhance mdmfs(8) to work with tmpfs(5). Existing scripts and associated config such as rc.initdiskless, rc.d/var, and others, use mdmfs to create memory filesystems.

svn commit: r324108 - head/etc

2017-09-29 Thread Ian Lepore
Author: ian Date: Fri Sep 29 22:21:42 2017 New Revision: 324108 URL: https://svnweb.freebsd.org/changeset/base/324108 Log: Remove spurious $flags; it's a paste-o from copying the line from rc.subr. Also, add a comment documenting the args passed to mount_md(). Modified: head/etc/rc.initdisk

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

2017-10-01 Thread Ian Lepore
cm2835/bcm2835_bsc.c Sun Oct 1 16:48:36 2017 (r324169) @@ -2,6 +2,7 @@ * Copyright (c) 2001 Tsubai Masanari. * Copyright (c) 2012 Oleksandr Tymoshenko * Copyright (c) 2013 Luiz Otavio O Souza + * Copyright (c) 2017 Ian Lepore * All rights reserved. * * Redistribution and use

Re: svn commit: r324163 - in head: cddl/contrib/opensolaris/cmd/zfs cddl/contrib/opensolaris/cmd/zpool cddl/contrib/opensolaris/lib/libzfs/common cddl/contrib/opensolaris/lib/libzfs_core/common cddl/c

2017-10-01 Thread Ian Lepore
On Sun, 2017-10-01 at 16:11 +, Andriy Gapon wrote: > Author: avg > Date: Sun Oct  1 16:11:07 2017 > New Revision: 324163 > URL: https://svnweb.freebsd.org/changeset/base/324163 > > Log: >   MFV r323530,r323533,r323534: 7431 ZFS Channel Programs, and > followups >    Powerpc and sparc builds a

Re: svn commit: r324178 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua

2017-10-01 Thread Ian Lepore
On Sun, 2017-10-01 at 22:37 +0200, O. Hartmann wrote: > Am Sun, 1 Oct 2017 20:12:30 + (UTC) > Andriy Gapon schrieb: > > > > > Author: avg > > Date: Sun Oct  1 20:12:30 2017 > > New Revision: 324178 > > URL: https://svnweb.freebsd.org/changeset/base/324178 > > > > Log: > >   unbreak kernel b

svn commit: r324184 - in head/sys: arm/broadcom/bcm2835 boot/fdt/dts/arm dev/usb/net

2017-10-01 Thread Ian Lepore
Author: ian Date: Mon Oct 2 00:49:33 2017 New Revision: 324184 URL: https://svnweb.freebsd.org/changeset/base/324184 Log: Allow Raspberry Pi platform and drivers to be configured with upstream DTBs. - Added more compatibility strings to drivers not yet converted - Added new RPI platfor

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

2017-10-01 Thread Ian Lepore
Author: ian Date: Mon Oct 2 01:03:18 2017 New Revision: 324185 URL: https://svnweb.freebsd.org/changeset/base/324185 Log: Enhance the interrupt capabilities of ti_pruss driver. The existing ti_pruss driver for the PRUSS Hardware provided by the AM335x ARM CPU has basic interrupt capabili

svn commit: r324186 - in head/sys: arm/allwinner arm/freescale/imx arm/nvidia dev/ahci

2017-10-01 Thread Ian Lepore
Author: ian Date: Mon Oct 2 02:58:28 2017 New Revision: 324186 URL: https://svnweb.freebsd.org/changeset/base/324186 Log: Define a single instance of ahci_devclass and reference it from all the attachment code for various SOCs and busses. Remove all the static and should-have-been-static a

Re: svn commit: r340187 - head/sys/geom

2018-11-07 Thread Ian Lepore
On Tue, 2018-11-06 at 16:17 -0800, Rodney W. Grimes wrote: > > > > Rodney, this was actually my original intention, however then I noticed in > > the GEOM code there is at least one case when BIO_FLUSH request is being > > generated internally with bio_offset == mediasize and bio_lenth == 0, so I

Re: svn commit: r340326 - head

2018-11-13 Thread Ian Lepore
On Mon, 2018-11-12 at 06:00 -0800, Rodney W. Grimes wrote: > > > > I absolutely approve of Ben's excellent addition to UPDATING, a > > text document. > At no point did I raise ANY objectection to the content > of his change, stop trying to make that the issue. > > > > > Your demands for addition

Re: svn commit: r340426 - head/sys/dev/amdtemp

2018-11-14 Thread Ian Lepore
On Wed, 2018-11-14 at 08:33 -0800, Rodney W. Grimes wrote: > > > > Author: cem > > Date: Wed Nov 14 04:50:29 2018 > > New Revision: 340426 > > URL: https://svnweb.freebsd.org/changeset/base/340426 > > > > Log: > >   amdtemp(4): Fix temperature reporting on AMD 2990WX > >    > >   Update the AMD f

Re: svn commit: r340617 - head/sys/netgraph

2018-11-26 Thread Ian Lepore
On Tue, 2018-11-27 at 06:29 +0700, Eugene Grosbein wrote: > 27.11.2018 4:26, John Baldwin wrote: > > > > > > > > >  /* Parse type for timeval */ > > >  static const struct ng_parse_struct_field > > > ng_source_timeval_type_fields[] = { > > > +#ifdef __LP64__ > > > + { "tv_sec", &ng_p

Re: svn commit: r340617 - head/sys/netgraph

2018-11-26 Thread Ian Lepore
On Tue, 2018-11-27 at 06:45 +0700, Eugene Grosbein wrote: > 27.11.2018 6:35, Ian Lepore wrote: > > > > > > > > > > > > > > #ifdef __LP64__ > > > > { "tv_usec",&ng_parse_int32_type }, > > > > #else &

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

2018-11-27 Thread Ian Lepore
Author: ian Date: Tue Nov 27 16:16:38 2018 New Revision: 341071 URL: https://svnweb.freebsd.org/changeset/base/341071 Log: Restore the ability to override the disk unit/partition at the boot: prompt in gptboot. When arch-independent geli support was added, a new static 'gdsk' struct was

svn commit: r341160 - in head/stand/i386: common gptboot zfsboot

2018-11-28 Thread Ian Lepore
Author: ian Date: Wed Nov 28 18:09:42 2018 New Revision: 341160 URL: https://svnweb.freebsd.org/changeset/base/341160 Log: Add comments describing the bootargs handoff between loader(8) and gptboot or zfsboot, when loader(8) is the BTX loader. No functional changes. Modified: head/stand/i3

Re: svn commit: r341344 - head/share/man/man7

2018-11-30 Thread Ian Lepore
On Fri, 2018-11-30 at 16:01 +, Edward Tomasz Napierala wrote: > Author: trasz > Date: Fri Nov 30 16:01:43 2018 > New Revision: 341344 > URL: https://svnweb.freebsd.org/changeset/base/341344 > > Log: >   Add an example of quick kernel rebuild. >    >   MFC after: 2 weeks >   Sponsored by:

svn commit: r341420 - in head/stand: i386/common i386/gptboot i386/loader i386/zfsboot libsa/zfs

2018-12-02 Thread Ian Lepore
Author: ian Date: Mon Dec 3 03:58:30 2018 New Revision: 341420 URL: https://svnweb.freebsd.org/changeset/base/341420 Log: Eliminate duplicated code and struct member definitions in the handoff of args data between gptboot/zfsboot and loader(8). Despite what seems like a lot of changes he

Re: svn commit: r341103 - head/sys/powerpc/include

2018-12-03 Thread Ian Lepore
On Tue, 2018-12-04 at 05:56 +1100, Bruce Evans wrote: > On Mon, 3 Dec 2018, Justin Hibbits wrote: > > [...] > > Please look at removing VM_KMEM_SIZE_SCALE completely.  I'm now trying to > convince kib that it is bogus for all arches, but only know exactly what > happens on x86. > > On arches wit

svn commit: r341473 - in head/stand/i386: common gptboot loader

2018-12-04 Thread Ian Lepore
Author: ian Date: Tue Dec 4 16:43:50 2018 New Revision: 341473 URL: https://svnweb.freebsd.org/changeset/base/341473 Log: Fix args cross-threading between gptboot(8) and loader(8) with zfs support. When loader(8) is built with zfs support enabled, it assumes that any extarg data present

svn commit: r341651 - head/stand/i386/loader

2018-12-06 Thread Ian Lepore
Author: ian Date: Thu Dec 6 20:28:09 2018 New Revision: 341651 URL: https://svnweb.freebsd.org/changeset/base/341651 Log: Don't reference zfs-specific variables if LOADER_ZFS_SUPPORT is undefined because the variables will be undefined too. Reported by: sjg@ Pointy hat: ian@ Modifi

Re: svn commit: r341682 - head/sys/sys

2018-12-07 Thread Ian Lepore
On Fri, 2018-12-07 at 12:05 +, Mateusz Guzik wrote: > Author: mjg > Date: Fri Dec  7 12:05:11 2018 > New Revision: 341682 > URL: https://svnweb.freebsd.org/changeset/base/341682 > > Log: >   unr64: use locked variant if not __LP64__ >    >   The current ifdefs are not sufficient to distinguish

Re: svn commit: r341759 - in head: contrib/wpa contrib/wpa/hostapd contrib/wpa/hs20/client contrib/wpa/src/ap contrib/wpa/src/common contrib/wpa/src/crypto contrib/wpa/src/drivers contrib/wpa/src/eap_

2018-12-10 Thread Ian Lepore
On Sun, 2018-12-09 at 23:47 -0700, Warner Losh wrote: > On Sun, Dec 9, 2018, 11:40 PM Cy Schubert wrote: > > > > > In message <201812100619.wba6jb0c064...@pdx.rh.cn85.dnsmgr.net>, > > "Rodney W. Gri > > mes" writes: > > > > > > > > > > > On Sun, Dec 9, 2018 at 2:03 PM Oliver Pinter < > > olive

Re: svn commit: r341682 - head/sys/sys

2018-12-10 Thread Ian Lepore
On Mon, 2018-12-10 at 14:15 -0800, John Baldwin wrote: > On 12/8/18 7:43 PM, Warner Losh wrote: > > > > > > > > On Sat, Dec 8, 2018, 8:36 PM Kevin Bowling > m wrote: > > > > On Sat, Dec 8, 2018 at 12:09 AM Mateusz Guzik > m > wro

Re: svn commit: r342283 - in head: release/amd64 release/arm64 release/i386 release/tools share/man/man8 tools/boot tools/tools/nanobsd/embedded usr.sbin/bsdinstall/partedit usr.sbin/bsdinstall/script

2018-12-20 Thread Ian Lepore
On Thu, 2018-12-20 at 14:49 -0500, Shawn Webb wrote: > On Thu, Dec 20, 2018 at 07:39:37PM +, Rebecca Cran wrote: > > > > Author: bcran > > Date: Thu Dec 20 19:39:37 2018 > > New Revision: 342283 > > URL: https://svnweb.freebsd.org/changeset/base/342283 > > > > Log: > >   Rework UEFI ESP gener

svn commit: r342639 - head/sys/dev/vt

2018-12-30 Thread Ian Lepore
Author: ian Date: Mon Dec 31 01:09:23 2018 New Revision: 342639 URL: https://svnweb.freebsd.org/changeset/base/342639 Log: When allocating a new keyboard at vt_upgrade() time, unwind any cngrabs done on the old keyboard and then do the corresponding number of grabs on the new keyboard.

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

2018-12-31 Thread Ian Lepore
Author: ian Date: Mon Dec 31 16:01:22 2018 New Revision: 342652 URL: https://svnweb.freebsd.org/changeset/base/342652 Log: Support the SPI mode and bus clock frequency parameters set by the devices requesting SPI transfers. Reported by: SAITOU Toshihide Modified: head/sys/arm/ti/ti_s

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

2019-01-07 Thread Ian Lepore
Author: ian Date: Mon Jan 7 16:36:45 2019 New Revision: 342850 URL: https://svnweb.freebsd.org/changeset/base/342850 Log: Add a missing \n to a bootverbose printf. Modified: head/sys/arm/arm/mpcore_timer.c Modified: head/sys/arm/arm/mpcore_timer.c ===

Re: svn commit: r342881 - head/share/skel

2019-01-09 Thread Ian Lepore
On Wed, 2019-01-09 at 10:08 -0800, Rodney W. Grimes wrote: > > ?r., 9 sty 2019 o 16:41 Rodney W. Grimes > > napisa?(a): > > > > > > > Author: trasz > > > > Date: Wed Jan 9 11:04:27 2019 > > > > New Revision: 342881 > > > > URL: https://svnweb.freebsd.org/changeset/base/342881 > > > > > > > > Lo

Re: svn commit: r342881 - head/share/skel

2019-01-11 Thread Ian Lepore
On Fri, 2019-01-11 at 10:35 -0800, Rodney W. Grimes wrote: > > On Wed, 2019-01-09 at 10:08 -0800, Rodney W. Grimes wrote: > > > > ?r., 9 sty 2019 o 16:41 Rodney W. Grimes > > > > napisa?(a): > > > > > > > > > > > Author: trasz > > > > > > Date: Wed Jan 9 11:04:27 2019 > > > > > > New Revision: 3

Re: svn commit: r343058 - in head/sys: compat/linuxkpi/common/src vm

2019-01-15 Thread Ian Lepore
On Tue, 2019-01-15 at 12:06 -0800, Gleb Smirnoff wrote: > On Tue, Jan 15, 2019 at 01:46:23PM -0600, Justin Hibbits wrote: > J> Why not #include counter.h in the relevant vm_machdep.c files > instead? > > This also is ugly :( Not sure more or less. Probably less, but I > urged to plug all possible

Re: svn commit: r343058 - in head/sys: compat/linuxkpi/common/src vm

2019-01-16 Thread Ian Lepore
On Tue, 2019-01-15 at 12:33 -0800, Gleb Smirnoff wrote: > On Tue, Jan 15, 2019 at 01:20:14PM -0700, Ian Lepore wrote: > I> On Tue, 2019-01-15 at 12:06 -0800, Gleb Smirnoff wrote: > I> > On Tue, Jan 15, 2019 at 01:46:23PM -0600, Justin Hibbits wrote: > I> > J> Why

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

2019-01-22 Thread Ian Lepore
On Tue, 2019-01-22 at 17:39 +, Brooks Davis wrote: > Author: brooks > Date: Tue Jan 22 17:39:26 2019 > New Revision: 343305 > URL: https://svnweb.freebsd.org/changeset/base/343305 > > Log: > Rework CASE_IOC_IFGROUPREQ() to require a case before the macro. > > This is more compatible wit

Re: svn commit: r343416 - head/bin/sh

2019-01-24 Thread Ian Lepore
On Thu, 2019-01-24 at 15:55 -0800, Rodney W. Grimes wrote: > > Author: trasz > > Date: Thu Jan 24 23:34:51 2019 > > New Revision: 343416 > > URL: https://svnweb.freebsd.org/changeset/base/343416 > > > > Log: > > Install .shrc for root, and set PS1 for the toor account. > > And a dozen other ali

Re: svn commit: r343440 - head/bin/sh

2019-01-26 Thread Ian Lepore
On Sat, 2019-01-26 at 13:18 +, Edward Napierala wrote: > On 0125T1647, Devin Teske wrote: > > > > > > > On Jan 25, 2019, at 1:13 AM, Edward Napierala > > > wrote: > > > > > > On 0125T1530, Devin Teske wrote: > > > > > > > > > > > > > On Jan 25, 2019, at 12:28 AM, Edward Napierala < > > >

Re: svn commit: r343440 - head/bin/sh

2019-01-26 Thread Ian Lepore
On Sat, 2019-01-26 at 09:17 -0800, Rodney W. Grimes wrote: > > On Sat, 2019-01-26 at 13:18 +, Edward Napierala wrote: > > > On 0125T1647, Devin Teske wrote: > > > > > On Jan 25, 2019, at 1:13 AM, Edward Napierala < > > > > > tr...@freebsd.org> > > > > > wrote: > > > > > On 0125T1530, Devin Tesk

Re: svn commit: r343440 - head/bin/sh

2019-01-26 Thread Ian Lepore
On Sat, 2019-01-26 at 11:11 -0800, Conrad Meyer wrote: > I didn't really feel the need to weigh in on this bikeshed thread > previously, but apparently some folks are calling for a revert. Why? > I don't really understand how this meets the high bar for summary > revert, even if you disagree with

Re: svn commit: r343617 - in head: . share/man/man4 sys/amd64/conf sys/arm64/conf sys/conf sys/dev/ixgbe sys/i386/conf sys/mips/conf sys/modules sys/modules/iflib sys/powerpc/conf sys/powerpc/conf/dpa

2019-01-31 Thread Ian Lepore
On Thu, 2019-01-31 at 19:05 +, Konstantin Belousov wrote: > +SRCS+= ifdi_if.c > +SRCS+= device_if.h bus_if.h pci_if.h ifdi_if.h ifdi_if.h appears twice. -- Ian ___ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn

Re: svn commit: r343617 - in head: . share/man/man4 sys/amd64/conf sys/arm64/conf sys/conf sys/dev/ixgbe sys/i386/conf sys/mips/conf sys/modules sys/modules/iflib sys/powerpc/conf sys/powerpc/conf/dpa

2019-01-31 Thread Ian Lepore
On Thu, 2019-01-31 at 13:00 -0700, Ian Lepore wrote: > On Thu, 2019-01-31 at 19:05 +, Konstantin Belousov wrote: > > +SRCS+= ifdi_if.c > > +SRCS+= device_if.h bus_if.h pci_if.h ifdi_if.h > > ifdi_if.h appears twice. > Oops, nevermind. Right after sending that, I real

Re: svn commit: r344188 - in head: lib/libc/sys sys/vm

2019-02-16 Thread Ian Lepore
On Sun, 2019-02-17 at 02:58 +1100, Bruce Evans wrote: > Slowness is relative. In FreeBSD-1, floppy disk devices were still in > use and were especially slow. Now hard disks are slow relative to fast > SSDs. But the number of buffers was unchanged. It is still essentially > unchanged except for

svn commit: r344240 - head/stand/common

2019-02-17 Thread Ian Lepore
Author: ian Date: Sun Feb 17 23:46:11 2019 New Revision: 344240 URL: https://svnweb.freebsd.org/changeset/base/344240 Log: Make lsdev -v output line up in neat columns by using a fixed width for the size field and a tab between the partition type and the size. Changes this disk dev

svn commit: r344241 - head/stand/common

2019-02-17 Thread Ian Lepore
Author: ian Date: Sun Feb 17 23:48:51 2019 New Revision: 344241 URL: https://svnweb.freebsd.org/changeset/base/344241 Log: Garbage collection no-longer-used constant. Modified: head/stand/common/disk.c Modified: head/stand/common/disk.c ===

svn commit: r344238 - head/stand/common

2019-02-17 Thread Ian Lepore
Author: ian Date: Sun Feb 17 23:32:09 2019 New Revision: 344238 URL: https://svnweb.freebsd.org/changeset/base/344238 Log: Restore loader(8)'s ability for lsdev to show partitions within a bsd slice. I'm pretty sure this used to work at one time, perhaps long ago. It has been failing rec

svn commit: r344239 - head/stand/common

2019-02-17 Thread Ian Lepore
Author: ian Date: Sun Feb 17 23:38:17 2019 New Revision: 344239 URL: https://svnweb.freebsd.org/changeset/base/344239 Log: Use a couple local variables to avoid repetitive long expressions that cause line-wrapping. Modified: head/stand/common/disk.c Modified: head/stand/common/disk.c =

Re: svn commit: r344243 - head/stand/lua

2019-02-17 Thread Ian Lepore
On Sun, 2019-02-17 at 19:41 -0800, Rodney W. Grimes wrote: > > On Sun, Feb 17, 2019 at 9:00 PM Kyle Evans > > wrote: > > > > > > Author: kevans > > > Date: Mon Feb 18 02:59:47 2019 > > > New Revision: 344243 > > > URL: https://svnweb.freebsd.org/changeset/base/344243 > > > > > > Log: > > > lua

svn commit: r344247 - in head/stand/uboot: common lib

2019-02-17 Thread Ian Lepore
Author: ian Date: Mon Feb 18 04:44:52 2019 New Revision: 344247 URL: https://svnweb.freebsd.org/changeset/base/344247 Log: Make uboot_devdesc properly alias disk_devdesc, so that parsing the u-boot loaderdev variable works correctly. The uboot_devdesc struct is variously cast back and for

Re: svn commit: r344238 - head/stand/common

2019-02-18 Thread Ian Lepore
On Mon, 2019-02-18 at 15:09 +0200, Toomas Soome wrote: > > On 18 Feb 2019, at 01:32, Ian Lepore wrote: > > > > Author: ian > > Date: Sun Feb 17 23:32:09 2019 > > New Revision: 344238 > > URL: https://svnweb.freebsd.org/changeset/base/344238 > > >

svn commit: r344254 - head/stand/uboot/common

2019-02-18 Thread Ian Lepore
Author: ian Date: Mon Feb 18 15:09:19 2019 New Revision: 344254 URL: https://svnweb.freebsd.org/changeset/base/344254 Log: Use DEV_TYP_NONE instead of -1 to indicate no device was specified. DEV_TYP_NONE has a value of zero, which makes more sense since the device type is a bunch of bits

svn commit: r344255 - head/stand/uboot/common

2019-02-18 Thread Ian Lepore
Author: ian Date: Mon Feb 18 15:28:12 2019 New Revision: 344255 URL: https://svnweb.freebsd.org/changeset/base/344255 Log: Fix more places to use DEV_TYP_NONE instead of -1 to indicate 'no device'. Modified: head/stand/uboot/common/main.c Modified: head/stand/uboot/common/main.c

svn commit: r344260 - head/stand/uboot/common

2019-02-18 Thread Ian Lepore
Author: ian Date: Mon Feb 18 17:12:30 2019 New Revision: 344260 URL: https://svnweb.freebsd.org/changeset/base/344260 Log: Allow the u-boot loaderdev env var to be formatted in the "usual" loader(8) way: device[s|p]. E.g., disk0s2a or disk3p12. The code first tries to parse the variable in

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

2019-02-18 Thread Ian Lepore
Author: ian Date: Mon Feb 18 19:50:53 2019 New Revision: 344267 URL: https://svnweb.freebsd.org/changeset/base/344267 Log: Add a compatible string to match recent changes in the upstream dts. Modified: head/sys/arm/freescale/imx/imx6_snvs.c Modified: head/sys/arm/freescale/imx/imx6_snvs.c ==

<    5   6   7   8   9   10   11   12   13   14   >