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

2014-09-09 Thread Ian Lepore
Author: ian Date: Tue Sep 9 13:50:21 2014 New Revision: 271310 URL: http://svnweb.freebsd.org/changeset/base/271310 Log: Rename new to newval in inline asm code, to avoid clashes with C++ new. Also rename cmp to cmpval just to keep the asm variable names similar to the C variable names. Mo

svn commit: r271327 - in stable/10/sys/arm: arm include

2014-09-09 Thread Ian Lepore
Author: ian Date: Tue Sep 9 18:17:43 2014 New Revision: 271327 URL: http://svnweb.freebsd.org/changeset/base/271327 Log: MFC r270862, r270878: MMU fixes for kernel startup. Fix the handling of MMU type in the AP entry code. The ARM_MMU_V6/V7 symbols are always #defined to 0 or 1, so

svn commit: r271329 - stable/10/sys/arm/conf

2014-09-09 Thread Ian Lepore
Author: ian Date: Tue Sep 9 19:26:55 2014 New Revision: 271329 URL: http://svnweb.freebsd.org/changeset/base/271329 Log: MFC r270858, 270879: Remove duplicated option FDT from individual Wandboard configs, leave the one in the common IMX6 file that they all include. Approved by:

svn commit: r271330 - stable/10/sys/arm/freescale/imx

2014-09-09 Thread Ian Lepore
Author: ian Date: Tue Sep 9 19:47:35 2014 New Revision: 271330 URL: http://svnweb.freebsd.org/changeset/base/271330 Log: MFC r270065: Move the imx6 sysctl temperature info to hw.imx6 where all the other soc-wide info lives. It was under dev.imx6_anatop.0. Approved by: re(gjb)

svn commit: r271337 - in stable/10: lib/libc/arm/gen lib/libc/arm/string lib/libc/arm/sys sys/arm/include

2014-09-09 Thread Ian Lepore
Author: ian Date: Tue Sep 9 22:24:01 2014 New Revision: 271337 URL: http://svnweb.freebsd.org/changeset/base/271337 Log: MFC r270882, r270930: In ARM asm code, ensure that every ENTRY(foo) has a matching END(foo). The EABI unwind info requires a .fnend for every .fnstart, and newer

svn commit: r271339 - stable/10/sys/arm/conf

2014-09-09 Thread Ian Lepore
Author: ian Date: Tue Sep 9 23:31:30 2014 New Revision: 271339 URL: http://svnweb.freebsd.org/changeset/base/271339 Log: MFC r271050: Disable DIAGNOSTIC on low-end ARM platforms. Approved by: re(gjb) Modified: stable/10/sys/arm/conf/DB-78XXX stable/10/sys/arm/conf/DB-88F5XXX stable

svn commit: r271428 - stable/10/sys/arm/conf

2014-09-11 Thread Ian Lepore
Author: ian Date: Thu Sep 11 15:36:36 2014 New Revision: 271428 URL: http://svnweb.freebsd.org/changeset/base/271428 Log: Disable debugging-related options in all ARM kernel configs for stable-10. This is a direct commit to stable-10. The following options are disabled in all arm kernel con

svn commit: r271535 - head/sys/conf

2014-09-13 Thread Ian Lepore
Author: ian Date: Sat Sep 13 17:38:26 2014 New Revision: 271535 URL: http://svnweb.freebsd.org/changeset/base/271535 Log: Make inclusion of fdt clock support conditional on fdt_clock, not just fdt. There are plenty of platforms that use fdt without needing the overhead of the new clock suppo

svn commit: r271546 - in head/sys: conf dev/fdt

2014-09-13 Thread Ian Lepore
(r271546) @@ -0,0 +1,151 @@ +/*- + * Copyright (c) 2014 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 code must retain

svn commit: r271548 - head/sys/arm/at91

2014-09-13 Thread Ian Lepore
Author: ian Date: Sat Sep 13 19:59:16 2014 New Revision: 271548 URL: http://svnweb.freebsd.org/changeset/base/271548 Log: Convert the at91_pinctrl driver to use the new fdt_pinctrl interface. Modified: head/sys/arm/at91/at91_pinctrl.c head/sys/arm/at91/files.at91 Modified: head/sys/arm/at9

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

2014-09-13 Thread Ian Lepore
(r271550) @@ -0,0 +1,266 @@ +/*- + * Copyright (c) 2014 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 code must

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

2014-09-14 Thread Ian Lepore
Author: ian Date: Sun Sep 14 16:12:43 2014 New Revision: 271591 URL: http://svnweb.freebsd.org/changeset/base/271591 Log: Add a comment giving an overview of the driver. Remove leftover debugging. Modified: head/sys/arm/freescale/imx/imx_iomux.c Modified: head/sys/arm/freescale/imx/imx_iomu

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

2014-09-14 Thread Ian Lepore
Author: ian Date: Sun Sep 14 17:36:57 2014 New Revision: 271594 URL: http://svnweb.freebsd.org/changeset/base/271594 Log: Fix an undefined variable that was accidentally not causing an error. The code had references to both intr_offset and intr_parent variable names as referring to the pa

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

2014-09-14 Thread Ian Lepore
Author: ian Date: Sun Sep 14 17:47:04 2014 New Revision: 271595 URL: http://svnweb.freebsd.org/changeset/base/271595 Log: Add compat strings for all the flavors of GIC this driver should support. Also allow the driver to attach to ofwbus as well as simplebus, some FDT data puts the root inte

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

2014-09-14 Thread Ian Lepore
Author: ian Date: Sun Sep 14 21:21:03 2014 New Revision: 271601 URL: http://svnweb.freebsd.org/changeset/base/271601 Log: Add a common routine for parsing FDT data describing an ARM GIC interrupt. In the fdt data we've written for ourselves, the interrupt properties for GIC interrupts hav

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

2014-09-14 Thread Ian Lepore
Author: ian Date: Sun Sep 14 23:48:18 2014 New Revision: 271607 URL: http://svnweb.freebsd.org/changeset/base/271607 Log: Use gic_decode_fdt() rather than a local routine to parse fdt interrupt properties. Move fdt_pic_table and fdt_fixup_table into imx6_machdep.c, which means imx6 doesn't

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

2014-09-15 Thread Ian Lepore
Author: ian Date: Mon Sep 15 15:36:00 2014 New Revision: 271630 URL: http://svnweb.freebsd.org/changeset/base/271630 Log: The private peripheral interrupts start at offset 16, not 0. Also, use names rather than inline mystery constants for these offsets. Pointed out by: andrew Mod

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

2014-09-20 Thread Ian Lepore
Author: ian Date: Sat Sep 20 14:49:21 2014 New Revision: 271906 URL: http://svnweb.freebsd.org/changeset/base/271906 Log: Make the ARM MPCore Timer driver work with published standard FDT bindings. We've always considered the mpcore timers to be a single monolithic device and we defined o

svn commit: r271907 - head/share/man/man4/man4.arm

2014-09-20 Thread Ian Lepore
Author: ian Date: Sat Sep 20 15:45:29 2014 New Revision: 271907 URL: http://svnweb.freebsd.org/changeset/base/271907 Log: Add a man page for the cgem(4) driver. Submitted by: Thomas Skibo Reviewed by: wkoszek@, Yonghyeon PYUN Added: head/share/man/man4/man4.arm/cgem.4 (contents, p

svn commit: r272109 - in head/sys: dev/fdt dev/ofw mips/beri powerpc/ofw powerpc/pseries

2014-09-25 Thread Ian Lepore
Author: ian Date: Thu Sep 25 15:02:33 2014 New Revision: 272109 URL: http://svnweb.freebsd.org/changeset/base/272109 Log: Replace multiple nearly-identical copies of code to walk through an FDT node's interrupts=<...> property creating resource list entries with a single common implementatio

svn commit: r272181 - head/sys/powerpc/ofw

2014-09-26 Thread Ian Lepore
Author: ian Date: Fri Sep 26 15:16:53 2014 New Revision: 272181 URL: http://svnweb.freebsd.org/changeset/base/272181 Log: Fix a paste-o commited in r272109: we need to get the interrupts for the child node, not the parent node. Pointed out by: jhibbits@ Modified: head/sys/powerpc

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

2014-09-30 Thread Ian Lepore
Author: ian Date: Tue Sep 30 21:28:05 2014 New Revision: 272333 URL: http://svnweb.freebsd.org/changeset/base/272333 Log: When building the lists of available memory, actually honor the exclusion flags, like the comment says it does. Pointy hat: ian Submitted by: Svatopluk Kraus Mod

svn commit: r272334 - head/sys/dev/uart

2014-09-30 Thread Ian Lepore
Author: ian Date: Tue Sep 30 23:01:11 2014 New Revision: 272334 URL: http://svnweb.freebsd.org/changeset/base/272334 Log: Return the actual baud rate programmed in the hardware rather than 115200. This allows the "3wire" entry in /etc/ttys (with no speed specified) to work. Modified: head/s

Re: svn commit: r272467 - in head/sys: cddl/contrib/opensolaris/uts/common/fs/zfs fs/nfs fs/nfsserver

2014-10-03 Thread Ian Lepore
On Sat, 2014-10-04 at 01:17 +0800, Marcelo Araujo wrote: > Hey, > > Yes I have, you could check here: https://reviews.freebsd.org/D798 > > I should added the phabric on the commit log. My bad! > IMO, no amount of verbiage in phabricator linked to from a commit message is a substitute for a prop

svn commit: r349164 - in head: sys/dev/pwm usr.sbin/pwm

2019-06-17 Thread Ian Lepore
Author: ian Date: Tue Jun 18 00:11:00 2019 New Revision: 349164 URL: https://svnweb.freebsd.org/changeset/base/349164 Log: Remove everything related to channels from the pwmc public interface, now that there is a pwmc(4) instance per channel and the channel number is maintained as a driver i

svn commit: r349165 - head/usr.sbin/pwm

2019-06-17 Thread Ian Lepore
Author: ian Date: Tue Jun 18 00:17:10 2019 New Revision: 349165 URL: https://svnweb.freebsd.org/changeset/base/349165 Log: Explain the relationship between PWM hardware channels being controlled and pwmc(4) device filenames. Also, use uppercase PWM when the term is being used as an acronym,

svn commit: r349166 - head/usr.sbin/pwm

2019-06-17 Thread Ian Lepore
Author: ian Date: Tue Jun 18 01:15:00 2019 New Revision: 349166 URL: https://svnweb.freebsd.org/changeset/base/349166 Log: Rearrange the argument checking and processing so that enable and disable can be combined with configuring the period and duty cycle (the same ioctl sets all 3 values at

svn commit: r349167 - head/usr.sbin/pwm

2019-06-17 Thread Ian Lepore
Author: ian Date: Tue Jun 18 02:27:30 2019 New Revision: 349167 URL: https://svnweb.freebsd.org/changeset/base/349167 Log: Oops, it seems I left out the word 'cycle', fix it. Reported by: rpokala@ Modified: head/usr.sbin/pwm/pwm.8 Modified: head/usr.sbin/pwm/pwm.8 =

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

2019-06-17 Thread Ian Lepore
) +++ head/share/man/man4/pwmc.4 Tue Jun 18 04:32:19 2019(r349168) @@ -0,0 +1,212 @@ +.\" +.\" Copyright (c) 2019 Ian Lepore +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the followin

svn commit: r349174 - head/sys/dev/pwm

2019-06-18 Thread Ian Lepore
Author: ian Date: Tue Jun 18 17:05:05 2019 New Revision: 349174 URL: https://svnweb.freebsd.org/changeset/base/349174 Log: Handle labels specified with hints even on FDT systems. Hints are the easiest thing for a user to control (via loader.conf or kenv+kldload), so handle them in addition

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

2019-06-20 Thread Ian Lepore
On Thu, 2019-06-20 at 14:35 +, Alan Somers wrote: > Author: asomers > Date: Thu Jun 20 14:35:28 2019 > New Revision: 349233 > URL: https://svnweb.freebsd.org/changeset/base/349233 > > Log: > #include from sys/filio.h > > This fixes world build after r349231 > > Reported by:

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

2019-06-20 Thread Ian Lepore
On Thu, 2019-06-20 at 09:29 -0600, Alan Somers wrote: > On Thu, Jun 20, 2019 at 9:14 AM Ian Lepore wrote: > > > > On Thu, 2019-06-20 at 14:35 +, Alan Somers wrote: > > > Author: asomers > > > Date: Thu Jun 20 14:35:28 2019 > > > New Revision: 34

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

2019-06-21 Thread Ian Lepore
Author: ian Date: Fri Jun 21 14:01:02 2019 New Revision: 349269 URL: https://svnweb.freebsd.org/changeset/base/349269 Log: Some mundane tweaks and cleanups to help de-clutter the diffs of some upcoming functional changes. Add an ofw_compat_data table for probing compat strings, and use it

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

2019-06-21 Thread Ian Lepore
Author: ian Date: Fri Jun 21 14:24:33 2019 New Revision: 349270 URL: https://svnweb.freebsd.org/changeset/base/349270 Log: Add support for the PWM(9) API. This allows configuring the pwm output using pwm(9), but also maintains the historical sysctl config interface for compatiblity with exi

svn commit: r349271 - head/share/man/man9

2019-06-21 Thread Ian Lepore
Author: ian Date: Fri Jun 21 14:46:43 2019 New Revision: 349271 URL: https://svnweb.freebsd.org/changeset/base/349271 Log: Catch up with recent changes in pwmbus(9). The pwm(9) and pwmbus(9) interfaces were unified into pwmbus(9), and the PWMBUS_CHANNEL_MAX method was renamed PWMBUS_CHANNEL

svn commit: r349272 - head/share/man/man9

2019-06-21 Thread Ian Lepore
Author: ian Date: Fri Jun 21 15:12:17 2019 New Revision: 349272 URL: https://svnweb.freebsd.org/changeset/base/349272 Log: Do some general cleanup and light wordsmithing. Sort methods alphabetically. Wrap long lines. Start sentences on a new line. Remove contractions (not because it's

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

2019-06-21 Thread Ian Lepore
Author: ian Date: Fri Jun 21 15:44:58 2019 New Revision: 349273 URL: https://svnweb.freebsd.org/changeset/base/349273 Log: Add pwm to the armv7 GENERIC kernel, it's now used by TI and Allwinner. Modified: head/sys/arm/conf/GENERIC Modified: head/sys/arm/conf/GENERIC =

svn commit: r349310 - stable/12/usr.sbin/i2c

2019-06-23 Thread Ian Lepore
Author: ian Date: Sun Jun 23 15:55:41 2019 New Revision: 349310 URL: https://svnweb.freebsd.org/changeset/base/349310 Log: MFC r348120: 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,

svn commit: r349311 - in stable/12/sys: arm/freescale/imx dev/iicbus

2019-06-23 Thread Ian Lepore
Author: ian Date: Sun Jun 23 15:58:46 2019 New Revision: 349311 URL: https://svnweb.freebsd.org/changeset/base/349311 Log: MFC r348123, r348164, r348166 r348123: Add pnp info to the imx_i2c driver. r348164: Mark i2c slave devices busy while they own the bus. Many i2c slave dri

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

2019-06-23 Thread Ian Lepore
Author: ian Date: Sun Jun 23 16:00:29 2019 New Revision: 349312 URL: https://svnweb.freebsd.org/changeset/base/349312 Log: MFC r348141, r348143 r348141: Handle the driftfile option correctly when ntpd_flags is empty. The logic I originally wrote to detect whether a driftfile option w

svn commit: r349313 - in stable/12/sys: arm64/conf conf dev/iicbus

2019-06-23 Thread Ian Lepore
Author: ian Date: Sun Jun 23 16:05:53 2019 New Revision: 349313 URL: https://svnweb.freebsd.org/changeset/base/349313 Log: MFC r341386 (by manu): Add Silergy SYR827 PMIC driver SYR827 is a PMIC that can output a voltage from 0.7125V to 1.5V in 12.5mV steps It's controlled via I2C.

svn commit: r349314 - in stable/12/sys/dev: flash iicbus iicbus/twsi ofw spibus

2019-06-23 Thread Ian Lepore
Author: ian Date: Sun Jun 23 16:16:55 2019 New Revision: 349314 URL: https://svnweb.freebsd.org/changeset/base/349314 Log: MFC r348169-r348170, r348172-r348173, r348183-r348184 r348169: Define macros making it easier to define bus-specific pnpinfo for FDT systems. Pnpinfo is bus-spec

svn commit: r349315 - in stable/12/sys: dev/hwpmc modules/hwpmc

2019-06-23 Thread Ian Lepore
Author: ian Date: Sun Jun 23 16:59:06 2019 New Revision: 349315 URL: https://svnweb.freebsd.org/changeset/base/349315 Log: MFC r348740-r348741, r348995 r348740: Don't refer to the cpu variable in a KASSERT before initializing it. r348741: For armv6 and armv7, build hwpmc_armv7.c as

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

2019-06-23 Thread Ian Lepore
Author: ian Date: Sun Jun 23 17:20:39 2019 New Revision: 349316 URL: https://svnweb.freebsd.org/changeset/base/349316 Log: Remove some unused header files from the ad7418 driver. Modified: head/sys/dev/iicbus/ad7418.c Modified: head/sys/dev/iicbus/ad7418.c ===

svn commit: r349317 - in head/sys: arm/allwinner conf

2019-06-23 Thread Ian Lepore
Author: ian Date: Sun Jun 23 17:23:56 2019 New Revision: 349317 URL: https://svnweb.freebsd.org/changeset/base/349317 Log: Add the rtc8583 driver to conf/files. Also, move sy8106a from file.allwinner to conf/files... it's not allwinner-specific, some day other platforms could use the same r

svn commit: r349318 - head/sys/conf

2019-06-23 Thread Ian Lepore
Author: ian Date: Sun Jun 23 17:38:30 2019 New Revision: 349318 URL: https://svnweb.freebsd.org/changeset/base/349318 Log: The sy8106a and syr827 drviers require FDT and the ext_resources subsystem. Modified: head/sys/conf/files Modified: head/sys/conf/files =

svn commit: r349319 - head/sys/conf

2019-06-23 Thread Ian Lepore
Author: ian Date: Sun Jun 23 17:39:13 2019 New Revision: 349319 URL: https://svnweb.freebsd.org/changeset/base/349319 Log: Add some i2c slave-device drivers that were missing from NOTES. Modified: head/sys/conf/NOTES Modified: head/sys/conf/NOTES =

svn commit: r349325 - head/sys/conf

2019-06-23 Thread Ian Lepore
Author: ian Date: Sun Jun 23 21:17:41 2019 New Revision: 349325 URL: https://svnweb.freebsd.org/changeset/base/349325 Log: Allow compiling ukbdmap.h on arm, since it appears to work fine. Modified: head/sys/conf/files.arm Modified: head/sys/conf/files.arm

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

2019-06-23 Thread Ian Lepore
Author: ian Date: Mon Jun 24 01:42:09 2019 New Revision: 349327 URL: https://svnweb.freebsd.org/changeset/base/349327 Log: Build an armv7 LINT kernel in addition to armv5 LINT. You might think this had been done years ago. I did. All this time we've only compiled a LINT kernel for TARGET_

svn commit: r349328 - head/sys/conf

2019-06-23 Thread Ian Lepore
Author: ian Date: Mon Jun 24 02:27:17 2019 New Revision: 349328 URL: https://svnweb.freebsd.org/changeset/base/349328 Log: The gpiopps(4) driver currently has probe and attach code only for FDT based systems, so conditionalize it accordingly in conf/files. Modified: head/sys/conf/files Mod

svn commit: r349329 - head/sys/conf

2019-06-23 Thread Ian Lepore
Author: ian Date: Mon Jun 24 02:30:05 2019 New Revision: 349329 URL: https://svnweb.freebsd.org/changeset/base/349329 Log: Add gpio(4) and related drivers to NOTES. Modified: head/sys/conf/NOTES Modified: head/sys/conf/NOTES ===

svn commit: r349330 - head/sys/conf

2019-06-23 Thread Ian Lepore
Author: ian Date: Mon Jun 24 02:39:56 2019 New Revision: 349330 URL: https://svnweb.freebsd.org/changeset/base/349330 Log: Add pwm devices to NOTES. Modified: head/sys/conf/NOTES Modified: head/sys/conf/NOTES == ---

svn commit: r349415 - in stable/12: share/man/man9 sys/arm/allwinner sys/arm64/conf sys/conf sys/dev/pwm sys/dts/arm64/overlays sys/modules/dtb/allwinner sys/sys usr.sbin usr.sbin/pwm

2019-06-26 Thread Ian Lepore
Author: ian Date: Wed Jun 26 15:34:35 2019 New Revision: 349415 URL: https://svnweb.freebsd.org/changeset/base/349415 Log: MFC r341268, r342003-r342007, r342087-r342088, r342091 r341268 by manu: arm64: allwinner: Add a dtbo to have cpu operating points This enables cpufreq on A64 boa

svn commit: r349425 - stable/12/lib/libcapsicum

2019-06-26 Thread Ian Lepore
Author: ian Date: Wed Jun 26 16:38:46 2019 New Revision: 349425 URL: https://svnweb.freebsd.org/changeset/base/349425 Log: MFC r340130, r340134: r340130: (by oshogbo) libcapsicum: Introduce caph_{rights,ioctls,fcntls}_limit The idea behind those functions is not to force consumers

svn commit: r349430 - in stable/12: etc/mtree include share/man/man4 share/man/man9 sys/arm/allwinner sys/arm/conf sys/arm/ti/am335x sys/conf sys/dev/pwm sys/modules sys/modules/allwinner sys/modul...

2019-06-26 Thread Ian Lepore
table/12/share/man/man4/pwmc.4 Wed Jun 26 17:28:55 2019 (r349430, copy of r349168, head/share/man/man4/pwmc.4) @@ -0,0 +1,212 @@ +.\" +.\" Copyright (c) 2019 Ian Lepore +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" m

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

2019-06-26 Thread Ian Lepore
On Wed, 2019-06-26 at 17:17 +, Andriy Gapon wrote: > +MODULE_DEPEND(owc_gpiobust, ow, 1, 1, 1); Looks like a typo there. -- Ian ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any

svn commit: r349807 - head/usr.sbin/periodic/etc/daily

2019-07-07 Thread Ian Lepore
Author: ian Date: Sun Jul 7 17:15:45 2019 New Revision: 349807 URL: https://svnweb.freebsd.org/changeset/base/349807 Log: Eliminate spurious periodic.daily error message for rotating accounting log. In 2011, r218961 removed local code for rotating logs in favor of using the rotate_log co

svn commit: r349836 - stable/11/usr.sbin/i2c

2019-07-08 Thread Ian Lepore
Author: ian Date: Mon Jul 8 14:34:00 2019 New Revision: 349836 URL: https://svnweb.freebsd.org/changeset/base/349836 Log: MFC r348120: 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,

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

2019-07-08 Thread Ian Lepore
Author: ian Date: Mon Jul 8 18:29:37 2019 New Revision: 349839 URL: https://svnweb.freebsd.org/changeset/base/349839 Log: Call device_unbusy() on the error exit path, because if iicbus_request_bus() returns an error, iicbus_release_bus() is not going to be called. Modified: head/sys/dev/ii

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

2019-07-08 Thread Ian Lepore
Author: ian Date: Mon Jul 8 20:26:56 2019 New Revision: 349850 URL: https://svnweb.freebsd.org/changeset/base/349850 Log: Restore the ability for i2c slave devices to do IO from their probe method. r348164 added code to iicbus_request_bus/iicbus_release_bus to automatically call device_b

svn commit: r349873 - head

2019-07-09 Thread Ian Lepore
Author: ian Date: Wed Jul 10 03:45:23 2019 New Revision: 349873 URL: https://svnweb.freebsd.org/changeset/base/349873 Log: Add pwm.9, it was also deleted during the big round of pwm changes. Modified: head/ObsoleteFiles.inc Modified: head/ObsoleteFiles.inc ===

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

2019-07-10 Thread Ian Lepore
Author: ian Date: Wed Jul 10 14:34:52 2019 New Revision: 349887 URL: https://svnweb.freebsd.org/changeset/base/349887 Log: De-pollute arm's sysarch.h. Instead of including stdint.h for uintptr_t, include sys/_types.h and use __types for everything that isn't a native C keyword type.

svn commit: r349891 - head/lib/libc/arm/gen

2019-07-10 Thread Ian Lepore
Author: ian Date: Wed Jul 10 19:32:50 2019 New Revision: 349891 URL: https://svnweb.freebsd.org/changeset/base/349891 Log: Reorganize the SRCS lists as one file per line, and then alphabetize them. No functional changes. Modified: head/lib/libc/arm/gen/Makefile.inc Modified: head/lib/libc/

svn commit: r349972 - in head: lib/libc/arm lib/libc/arm/gen sys/sys

2019-07-13 Thread Ian Lepore
l 13 15:34:29 2019 (r349972) @@ -0,0 +1,77 @@ +.\" 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. Redi

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

2019-07-13 Thread Ian Lepore
Author: ian Date: Sat Jul 13 16:07:38 2019 New Revision: 349974 URL: https://svnweb.freebsd.org/changeset/base/349974 Log: Limit access to system accounting files. In 2013 the security chapter of the Handbook was updated in r42501 to suggest limiting access to the system accounting file [

svn commit: r349976 - head

2019-07-13 Thread Ian Lepore
Author: ian Date: Sat Jul 13 16:48:27 2019 New Revision: 349976 URL: https://svnweb.freebsd.org/changeset/base/349976 Log: Add an entry mentioning the permission/mode change to daily accounting files. Modified: head/UPDATING Modified: head/UPDATING ===

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

2019-07-15 Thread Ian Lepore
Author: ian Date: Mon Jul 15 21:40:58 2019 New Revision: 350015 URL: https://svnweb.freebsd.org/changeset/base/350015 Log: Fix nxprtc(4) on systems that support i2c repeat-start correctly. An obscure footnote in the datasheets for the PCx2127, PCx2129, and PCF8523 rtc chips states that th

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

2019-07-15 Thread Ian Lepore
Author: ian Date: Mon Jul 15 21:47:40 2019 New Revision: 350016 URL: https://svnweb.freebsd.org/changeset/base/350016 Log: In nxprtc(4), use the countdown timer for better timekeeping resolution on PCx2129 chips too. The datasheet for the PCx2129 chips says that there is only a watchdog

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

2019-07-17 Thread Ian Lepore
Author: ian Date: Thu Jul 18 01:30:56 2019 New Revision: 350104 URL: https://svnweb.freebsd.org/changeset/base/350104 Log: Handle the PCF2127 RTC chip the same as PCF2129 when init'ing the chip. This affects the detection of 24-hour vs AM/PM mode... the ampm bit is in a different location

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

2019-07-17 Thread Ian Lepore
Author: ian Date: Thu Jul 18 01:37:00 2019 New Revision: 350106 URL: https://svnweb.freebsd.org/changeset/base/350106 Log: Fix a paste-o, set is212x = false for other chip types. Doh! Modified: head/sys/dev/iicbus/nxprtc.c Modified: head/sys/dev/iicbus/nxprtc.c =

Re: svn commit: r350116 - head/lib/libc/gen

2019-07-18 Thread Ian Lepore
On Thu, 2019-07-18 at 21:41 +, Brooks Davis wrote: > On Thu, Jul 18, 2019 at 09:33:56PM +, Brooks Davis wrote: > > Author: brooks > > Date: Thu Jul 18 21:33:55 2019 > > New Revision: 350116 > > URL: https://svnweb.freebsd.org/changeset/base/350116 > > > > Log: > > Document that setmode(3

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

2019-07-20 Thread Ian Lepore
Author: ian Date: Sat Jul 20 21:10:27 2019 New Revision: 350185 URL: https://svnweb.freebsd.org/changeset/base/350185 Log: Rewrite the nxprtc chip init to extend battery life by using power-saving features offered by the chips. For 2127 and 2129 chips, fix the detection of when chip-init

Re: svn commit: r350184 - in head: libexec/rc/rc.d release/picobsd/tinyware/login share/man/man5 usr.bin/login

2019-07-21 Thread Ian Lepore
On Sat, 2019-07-20 at 20:56 +, Conrad Meyer wrote: > Author: cem > Date: Sat Jul 20 20:56:31 2019 > New Revision: 350184 > URL: https://svnweb.freebsd.org/changeset/base/350184 > > Log: > motd: Generate from template to /var/run > > Update login(1), its manual pages, similar utilities,

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

2019-07-21 Thread Ian Lepore
Author: ian Date: Sun Jul 21 17:14:39 2019 New Revision: 350203 URL: https://svnweb.freebsd.org/changeset/base/350203 Log: Add support for setting the aging/frequency-offset register via sysctl. The 2127 and 2129 chips support a frequency tuning value in the range of -7 through +8 PPM; ad

svn commit: r350231 - head/sys/dev/mmc

2019-07-22 Thread Ian Lepore
Author: ian Date: Mon Jul 22 22:41:44 2019 New Revision: 350231 URL: https://svnweb.freebsd.org/changeset/base/350231 Log: Correct spelling, partion -> partition. Modified: head/sys/dev/mmc/mmcsd.c Modified: head/sys/dev/mmc/mmcsd.c ===

svn commit: r350324 - head

2019-07-25 Thread Ian Lepore
Author: ian Date: Thu Jul 25 15:31:15 2019 New Revision: 350324 URL: https://svnweb.freebsd.org/changeset/base/350324 Log: Fix indentation (spaces->tab). Reported by: garga@ Modified: head/UPDATING Modified: head/UPDATING

Re: svn commit: r349976 - head

2019-07-25 Thread Ian Lepore
On Thu, 2019-07-25 at 10:27 -0300, Renato Botelho wrote: > On 13/07/19 13:48, Ian Lepore wrote: > > Author: ian > > Date: Sat Jul 13 16:48:27 2019 > > New Revision: 349976 > > URL: https://svnweb.freebsd.org/changeset/base/349976 > > > > Log: > >

svn commit: r350361 - head

2019-07-26 Thread Ian Lepore
Author: ian Date: Fri Jul 26 17:58:46 2019 New Revision: 350361 URL: https://svnweb.freebsd.org/changeset/base/350361 Log: Re-wrap the text at 80 columns after fixing the indent in the prior commit. Modified: head/UPDATING Modified: head/UPDATING =

svn commit: r350445 - head/etc/mtree

2019-07-30 Thread Ian Lepore
Author: ian Date: Tue Jul 30 15:51:28 2019 New Revision: 350445 URL: https://svnweb.freebsd.org/changeset/base/350445 Log: Create the /var/account dir with mode 0750; this is a followup to r349974. The rc.d/account script contains code to create the /var/account dir, so it hadn't occurred

Re: svn commit: r350505 - in head: contrib/binutils/binutils/doc gnu/usr.bin/binutils/objdump

2019-08-01 Thread Ian Lepore
On Thu, 2019-08-01 at 14:42 +, Ed Maste wrote: > Author: emaste > Date: Thu Aug 1 14:42:41 2019 > New Revision: 350505 > URL: https://svnweb.freebsd.org/changeset/base/350505 > > Log: > objdump: be explicit that GNU objdump that will be removed > > We may install llvm-objdump as objdum

Re: svn commit: r350505 - in head: contrib/binutils/binutils/doc gnu/usr.bin/binutils/objdump

2019-08-01 Thread Ian Lepore
On Thu, 2019-08-01 at 10:39 -0700, John Baldwin wrote: > On 7/31/19 8:13 PM, Ed Maste wrote: > > On Thu, 1 Aug 2019 at 12:51, Rodney W. Grimes < > > free...@gndrsh.dnsmgr.net> wrote: > > > > > > That would be fine, the important thing is that the > > > r350505 gets listed in the file, > > > > I d

svn commit: r350591 - in head: share/man/man4 sys/conf sys/dev/iicbus sys/modules/i2c sys/modules/i2c/ads111x

2019-08-05 Thread Ian Lepore
/man4/ads111x.4 Mon Aug 5 15:56:44 2019 (r350591) @@ -0,0 +1,240 @@ +.\" +.\" Copyright (c) 2019 Ian Lepore +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions

Re: svn commit: r350702 - head/share/man/man8

2019-08-07 Thread Ian Lepore
On Wed, 2019-08-07 at 21:20 +, Andriy Gapon wrote: > Author: avg > Date: Wed Aug 7 21:20:25 2019 > New Revision: 350702 > URL: https://svnweb.freebsd.org/changeset/base/350702 > > Log: > rc.8: fix a typo in r350701 > > I wronlgy expected that igor(1) checks spelling of all words. >

Re: svn commit: r350737 - head/usr.sbin/autofs

2019-08-08 Thread Ian Lepore
On Thu, 2019-08-08 at 03:16 +, Justin Hibbits wrote: > Author: jhibbits > Date: Thu Aug 8 03:16:32 2019 > New Revision: 350737 > URL: https://svnweb.freebsd.org/changeset/base/350737 > > Log: > Change autounmountd(8) to use time_t for duration instead of double > > Summary: > autounm

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

2019-08-10 Thread Ian Lepore
Author: ian Date: Sat Aug 10 17:14:35 2019 New Revision: 350838 URL: https://svnweb.freebsd.org/changeset/base/350838 Log: Switch the am335x_pmic driver to using iicdev_readfrom/writeto. PR: 239697 Submitted by: Chuhong Yuan Modified: head/sys/arm/ti/am335x/am335x_pmic.c Mod

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

2019-08-10 Thread Ian Lepore
Author: ian Date: Sat Aug 10 17:28:14 2019 New Revision: 350840 URL: https://svnweb.freebsd.org/changeset/base/350840 Log: Garbage collect the no-longer-necessary MAX_IIC_DATA_SIZE (there is not a buffer allocated at that fixed size anymore). Modified: head/sys/arm/ti/am335x/am335x_pmic.c

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

2019-08-10 Thread Ian Lepore
Author: ian Date: Sat Aug 10 17:48:11 2019 New Revision: 350841 URL: https://svnweb.freebsd.org/changeset/base/350841 Log: When responding to an interrupt in the am335x_pmic driver, use a taskqueue thread to do the work that involves i2c IO, which sleeps while the IO is in progress. Modifie

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

2019-08-10 Thread Ian Lepore
Author: ian Date: Sat Aug 10 20:03:14 2019 New Revision: 350847 URL: https://svnweb.freebsd.org/changeset/base/350847 Log: Allow the sdhci timeout sysctl var to be set as a tunable. Also, add a missing newline in a warning printf. Modified: head/sys/dev/sdhci/sdhci.c Modified: head/sys/de

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

2019-08-10 Thread Ian Lepore
Author: ian Date: Sat Aug 10 20:05:15 2019 New Revision: 350848 URL: https://svnweb.freebsd.org/changeset/base/350848 Log: The am335x_ehrpwm driver now requires the pwmbus_if interface, add it. Modified: head/sys/arm/ti/am335x/files.am335x Modified: head/sys/arm/ti/am335x/files.am335x ==

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

2019-08-10 Thread Ian Lepore
Author: ian Date: Sat Aug 10 20:08:37 2019 New Revision: 350849 URL: https://svnweb.freebsd.org/changeset/base/350849 Log: Remove use of intr_config_hook from the am335x_pmic and tda19988 drivers. Long ago this was needed, but now low-level i2c controller drivers cleverly defer attachment of

svn commit: r350866 - stable/12/sys/dev/iicbus/twsi

2019-08-11 Thread Ian Lepore
Author: ian Date: Sun Aug 11 20:47:01 2019 New Revision: 350866 URL: https://svnweb.freebsd.org/changeset/base/350866 Log: MFC r342102 (by gonzo): [twsi] Make extres/clk part conditional based on the EXT_RESOURCES option value This should fix kernel build for ARMADA38X and possibly so

svn commit: r350867 - in stable/12/sys: arm/conf conf

2019-08-11 Thread Ian Lepore
Author: ian Date: Sun Aug 11 20:50:41 2019 New Revision: 350867 URL: https://svnweb.freebsd.org/changeset/base/350867 Log: MFC r349325, r349327 r349325: Allow compiling ukbdmap.h on arm, since it appears to work fine. r349327: Build an armv7 LINT kernel in addition to armv5 LINT.

svn commit: r350868 - in stable/12: . sys/arm/allwinner sys/conf sys/dev/iicbus

2019-08-11 Thread Ian Lepore
Author: ian Date: Sun Aug 11 21:12:29 2019 New Revision: 350868 URL: https://svnweb.freebsd.org/changeset/base/350868 Log: MFC r349072, r349316-r349318 r349072: Remove pcf8563reg.h, the driver it was associated with was replaced in 2017 with the nxprtc multi-chip driver. r349316:

svn commit: r350869 - stable/12/sys/conf

2019-08-11 Thread Ian Lepore
Author: ian Date: Sun Aug 11 21:15:30 2019 New Revision: 350869 URL: https://svnweb.freebsd.org/changeset/base/350869 Log: MFC r349319, r349328-r349330 r349319: Add some i2c slave-device drivers that were missing from NOTES. r349328: The gpiopps(4) driver currently has probe and at

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

2019-08-11 Thread Ian Lepore
Author: ian Date: Sun Aug 11 21:21:32 2019 New Revision: 350870 URL: https://svnweb.freebsd.org/changeset/base/350870 Log: MFC r349839, r349850 r349839: Call device_unbusy() on the error exit path, because if iicbus_request_bus() returns an error, iicbus_release_bus() is not going to be

svn commit: r350871 - stable/12/sys/arm/ti

2019-08-11 Thread Ian Lepore
Author: ian Date: Sun Aug 11 21:24:44 2019 New Revision: 350871 URL: https://svnweb.freebsd.org/changeset/base/350871 Log: MFC r349116: In detach(), call bus_generic_detach() before deleting the iicbus child. This gives the bus and its children the chance to return EBUSY to abort the de

svn commit: r350872 - stable/12

2019-08-11 Thread Ian Lepore
Author: ian Date: Sun Aug 11 21:40:18 2019 New Revision: 350872 URL: https://svnweb.freebsd.org/changeset/base/350872 Log: MFC r349873: Add pwm.9, it was also deleted during the big round of pwm changes. Modified: stable/12/ObsoleteFiles.inc Directory Properties: stable/12/ (props ch

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

2019-08-11 Thread Ian Lepore
Author: ian Date: Sun Aug 11 22:11:59 2019 New Revision: 350873 URL: https://svnweb.freebsd.org/changeset/base/350873 Log: MFC r349887: De-pollute arm's sysarch.h. Instead of including stdint.h for uintptr_t, include sys/_types.h and use __types for everything that isn't a native C k

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

2019-08-11 Thread Ian Lepore
Author: ian Date: Sun Aug 11 22:19:54 2019 New Revision: 350874 URL: https://svnweb.freebsd.org/changeset/base/350874 Log: MFC r350015-r350016 r350015: Fix nxprtc(4) on systems that support i2c repeat-start correctly. An obscure footnote in the datasheets for the PCx2127, PCx2129, an

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

2019-08-11 Thread Ian Lepore
Author: ian Date: Sun Aug 11 22:31:38 2019 New Revision: 350875 URL: https://svnweb.freebsd.org/changeset/base/350875 Log: MFC r350104, r350106, r350185, r350203 r350104: Handle the PCF2127 RTC chip the same as PCF2129 when init'ing the chip. This affects the detection of 24-hour vs

<    9   10   11   12   13   14   15   16   17   18   >