Re: svn commit: r368130 - in head: share/man/man4 sys/dev/ftwd sys/modules sys/modules/ftwd

2020-11-29 Thread Poul-Henning Kamp
etc, is from itwb.4. So ftwd.4 is indisputably a "derivative work" and therefore i left the copyrights from the original in. My own contribution hardly rises to the level of a protectable work, "mere recitation of facts" do not rise to the "original work" thresho

svn commit: r368130 - in head: share/man/man4 sys/dev/ftwd sys/modules sys/modules/ftwd

2020-11-28 Thread Poul-Henning Kamp
watchdog 4 +support for the watchdog timer in the Fintek F81803 chip. +.Sh SEE ALSO +.Xr superio 4 , +.Xr watchdog 4 , +.Xr device.hints 5 , +.Xr watchdog 8 , +.Xr watchdogd 8 , +.Xr watchdog 9 +.Sh AUTHORS +.An -nosplit +This manual page was written by +.An Poul-Henning Kamp Aq Mt p...@freebsd.org

svn commit: r368052 - head/sys/dev/superio

2020-11-25 Thread Poul-Henning Kamp
Author: phk Date: Thu Nov 26 07:34:20 2020 New Revision: 368052 URL: https://svnweb.freebsd.org/changeset/base/368052 Log: Add support for Fintek F81803 SuperIO chip Reviewed by: avg Modified: head/sys/dev/superio/superio.c head/sys/dev/superio/superio.h Modified:

svn commit: r365952 - head/contrib/libexecinfo

2020-09-21 Thread Poul-Henning Kamp
for the user, so return 0 instead. We could document ~0 to be an error, but that would deviate from the Linux behavior which is not desirable. Noted by Poul-Henning Kamp PR: 209842 Modified: head/contrib/libexecinfo/unwind.c Modified: head/contrib/libexecinfo/unwind.c

svn commit: r360841 - head/sbin/recoverdisk

2020-05-09 Thread Poul-Henning Kamp
Author: phk Date: Sat May 9 10:55:34 2020 New Revision: 360841 URL: https://svnweb.freebsd.org/changeset/base/360841 Log: Don't send clear screen until we are committed to run. Modified: head/sbin/recoverdisk/recoverdisk.c Modified: head/sbin/recoverdisk/recoverdisk.c

svn commit: r359563 - head/sbin/recoverdisk

2020-04-02 Thread Poul-Henning Kamp
Author: phk Date: Thu Apr 2 15:17:53 2020 New Revision: 359563 URL: https://svnweb.freebsd.org/changeset/base/359563 Log: Add two options to recoverdisk(1) inspired by a recent data-archæology project: -u pattern Fill unread parts of the output with pattern. Default

svn commit: r357465 - head/usr.bin/ministat

2020-02-03 Thread Poul-Henning Kamp
Author: phk Date: Mon Feb 3 20:46:31 2020 New Revision: 357465 URL: https://svnweb.freebsd.org/changeset/base/357465 Log: Minor cleanups to allow handing vast datasets. Submitted by: dds Modified: head/usr.bin/ministat/ministat.c Modified: head/usr.bin/ministat/ministat.c

Re: svn commit: r356185 - in head: lib/geom lib/geom/sched sys/geom sys/geom/sched sys/modules/geom sys/modules/geom/geom_sched sys/sys

2019-12-30 Thread Poul-Henning Kamp
y want to improve disk- and ssd- performance, the low-hanging fruit is to write a log-structured storage engine under UFS, to make life easier for flash-adaptation layers and shingling drives. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org | TCP/IP since RFC 956 FreeBSD

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

2019-12-10 Thread Poul-Henning Kamp
consider how/if it will impact the strength of static analysis. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. ___

svn commit: r354251 - head/tools/tools/nanobsd

2019-11-02 Thread Poul-Henning Kamp
Author: phk Date: Sat Nov 2 10:15:34 2019 New Revision: 354251 URL: https://svnweb.freebsd.org/changeset/base/354251 Log: If /usr/obj is a symlink, cpio(1) needs persuation to DTRT. Modified: head/tools/tools/nanobsd/defaults.sh Modified: head/tools/tools/nanobsd/defaults.sh

svn commit: r354250 - head/tools/tools/gensnmpdef

2019-11-02 Thread Poul-Henning Kamp
Author: phk Date: Sat Nov 2 10:14:15 2019 New Revision: 354250 URL: https://svnweb.freebsd.org/changeset/base/354250 Log: Mention that ports/net-mgmt/libsmi is required Modified: head/tools/tools/gensnmpdef/Makefile Modified: head/tools/tools/gensnmpdef/Makefile

svn commit: r353718 - head/usr.bin/ministat

2019-10-18 Thread Poul-Henning Kamp
Author: phk Date: Fri Oct 18 07:55:01 2019 New Revision: 353718 URL: https://svnweb.freebsd.org/changeset/base/353718 Log: Improve the way we calculate variance to reduce the rounding errors when variance is small relative to data points. Now [0, 1, 2] shows same standard deviation as

svn commit: r346369 - head/sbin/md5

2019-09-03 Thread Poul-Henning Kamp
Author: phk Date: Fri Apr 19 06:49:46 2019 New Revision: 346369 URL: https://svnweb.freebsd.org/changeset/base/346369 Log: Close filedescriptors when done with them. Modified: head/sbin/md5/md5.c Modified: head/sbin/md5/md5.c

Re: svn commit: r350550 - head/share/mk

2019-08-06 Thread Poul-Henning Kamp
what I suspect >is likely a short list of use cases feels like a step in the wrong >direction. Seconded. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malic

Re: svn commit: r350436 - in head/sys: amd64/conf arm/arm conf i386/conf kern sys

2019-07-30 Thread Poul-Henning Kamp
In message <201907300513.x6u5dgjs004...@repo.freebsd.org>, Xin LI writes: >URL: https://svnweb.freebsd.org/changeset/base/350436 > >Log: > Remove gzip'ed a.out support. Backstory: http://phk.freebsd.dk/sagas/gzipaout/ -- Poul-Henning Kamp | UNIX since

svn commit: r349939 - head/sys/dev/usb/serial

2019-07-12 Thread Poul-Henning Kamp
Author: phk Date: Fri Jul 12 09:02:12 2019 New Revision: 349939 URL: https://svnweb.freebsd.org/changeset/base/349939 Log: Support multiple serial ports per device. Enable this for the NovAtel OEMv2 GPS receiver. Not fixed: The receiver shows up as "" in the device tree, because

svn commit: r346369 - head/sbin/md5

2019-04-19 Thread Poul-Henning Kamp
Author: phk Date: Fri Apr 19 06:49:46 2019 New Revision: 346369 URL: https://svnweb.freebsd.org/changeset/base/346369 Log: Close filedescriptors when done with them. Modified: head/sbin/md5/md5.c Modified: head/sbin/md5/md5.c

Re: svn commit: r345138 - head/share/man/man9

2019-03-15 Thread Poul-Henning Kamp
ow >>>> "changed byte at offset 0x432 from 0xef to 0xfe" >> >> How do we represent Copyright and License in such objects? >> This is an issue that is totally left out of even .uu version. I am pretty sure that some of the .uu files had copyrights in them a

Re: svn commit: r345138 - head/share/man/man9

2019-03-15 Thread Poul-Henning Kamp
>patch has always been in the tree. >https://github.com/sergev/4.4BSD-Lite2/tree/master/usr/src/usr.bin/patch Yes, in *that* tree, but it was not always in *our* tree, particularly not in the strange time between 1.1.5.1 and 2.0. Trust me: if it had been, I would not have used diff-e+ed(1)

Re: svn commit: r345138 - head/share/man/man9

2019-03-14 Thread Poul-Henning Kamp
already in uuencode state >> to leave them in uuencode state, or do we intened to convert >> them on next commit, or ??? > >Good point, converting existing .uu files to binary is just >unnecessary churn and is not recommended. If someone is going to make >a change it can

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

2019-02-18 Thread Poul-Henning Kamp
ns which may have been left behind, for instance after a panic. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by

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

2019-02-12 Thread Poul-Henning Kamp
Author: phk Date: Tue Feb 12 21:06:07 2019 New Revision: 344059 URL: https://svnweb.freebsd.org/changeset/base/344059 Log: Point people to SMP(4) for CPU<->domain mapping. Modified: head/share/man/man4/numa.4 Modified: head/share/man/man4/numa.4

svn commit: r342152 - head/sbin/mdconfig

2018-12-16 Thread Poul-Henning Kamp
Author: phk Date: Sun Dec 16 18:10:55 2018 New Revision: 342152 URL: https://svnweb.freebsd.org/changeset/base/342152 Log: Make (no)ro an alias for (no)readonly Modified: head/sbin/mdconfig/mdconfig.c Modified: head/sbin/mdconfig/mdconfig.c

Re: svn commit: r341803 - head/libexec/rc

2018-12-11 Thread Poul-Henning Kamp
built in 2018: 540k/sec (SMP kernel) >FreeBSD-13kernel built in 2018: 170k/sec (SMP kernel) It is not just software bloat, it is also caused by the deeper and deeper pile of kludges between what goes for a "CPU" these days and what counts as "RAM". -- Poul-Henning Kamp

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

2018-12-11 Thread Poul-Henning Kamp
hip-ified. A few prototypes were built, but nothing ever reached production, least of all HP's 1000xi486 chip "mainfram" project. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Ne

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

2018-11-07 Thread Poul-Henning Kamp
n't remember the exact semantics of the two "magic" flush operations (off=0,len=0) and (off=end,len=0) but they were different from each other in some important aspect (Pawel?) -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org | TCP/IP since RFC 956 Free

svn commit: r339529 - head/sys/teken

2018-10-21 Thread Poul-Henning Kamp
Author: phk Date: Sun Oct 21 08:29:36 2018 New Revision: 339529 URL: https://svnweb.freebsd.org/changeset/base/339529 Log: Implement ECMA-48 "REP", some Linuxen have started emitting them recently. Approved by: ed Modified: head/sys/teken/gensequences head/sys/teken/sequences

svn commit: r339527 - head/sys/dev/usb

2018-10-21 Thread Poul-Henning Kamp
Author: phk Date: Sun Oct 21 07:32:35 2018 New Revision: 339527 URL: https://svnweb.freebsd.org/changeset/base/339527 Log: Add Lenovo USB-C and TB3 docks Modified: head/sys/dev/usb/usbdevs Modified: head/sys/dev/usb/usbdevs

svn commit: r339526 - head/lib/libc/sys

2018-10-21 Thread Poul-Henning Kamp
Author: phk Date: Sun Oct 21 07:30:26 2018 New Revision: 339526 URL: https://svnweb.freebsd.org/changeset/base/339526 Log: Update example to something people less than 40 years old have heard about. Modified: head/lib/libc/sys/recv.2 Modified: head/lib/libc/sys/recv.2

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

2018-10-21 Thread Poul-Henning Kamp
Author: phk Date: Sun Oct 21 09:36:12 2018 New Revision: 339530 URL: https://svnweb.freebsd.org/changeset/base/339530 Log: Recognize LAN in Lenovo USB-C and TB3 docks Modified: head/sys/dev/usb/net/if_ure.c Modified: head/sys/dev/usb/net/if_ure.c

Re: svn commit: r264378 - head/sys/geom/part

2018-10-08 Thread Poul-Henning Kamp
d of default >preference shouldn't belong in the userspace gpart tool rather than the >kernel and the kernel should create any compliant layout as requested by >userland instead. Seconded. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org | TCP/IP since RFC

svn commit: r337566 - head/tools/tools/sysbuild

2018-08-10 Thread Poul-Henning Kamp
Author: phk Date: Fri Aug 10 06:28:25 2018 New Revision: 337566 URL: https://svnweb.freebsd.org/changeset/base/337566 Log: Make distribution now happens from top of source tree. Silence debugging output Modified: head/tools/tools/sysbuild/sysbuild.sh Modified:

Re: svn commit: r336113 - head/usr.bin/gzip

2018-07-08 Thread Poul-Henning Kamp
d int)buf[7] << 24; Why not use the functions in endian.h ? -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.

Re: svn commit: r335091 - head/sbin/nvmecontrol

2018-06-14 Thread Poul-Henning Kamp
when you start talking about changing maintainers, your friendly copyright lawyer will get that glazed "Thank goodness the lawsuits wont start until I'm dead" look. And of course all this gets much more "interesting" if APIs can truly be copyrighted, because then we need to fin

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

2018-06-05 Thread Poul-Henning Kamp
of the MISRA C rules. In FlexeLint that specific check can be disabled, and I would imagine Coverity has a similar tweakable setting. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attr

Re: svn commit: r334275 - head/lib/libc/string

2018-05-28 Thread Poul-Henning Kamp
10 years ago. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. ___ svn-src-all

Re: Deorbiting i386

2018-05-25 Thread Poul-Henning Kamp
erately competent using FreeBSD on i386 can be trivially ported to amd64, if the new hardware supports that, or to an entirely different 32bit arch arch like arm or mips. So absolutely: Kill i386 once 12 has been branched. Poul-Henning ... Who ran Win3.11 a couple of years ago because of Vladim

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

2018-05-19 Thread Poul-Henning Kamp
In message <201805192056.w4jkumb8017...@pdx.rh.cn85.dnsmgr.net>, "Rodney W. Grimes" writes: >> >> In message >>

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

2018-05-19 Thread Poul-Henning Kamp
In message

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

2018-05-09 Thread Poul-Henning Kamp
analysis tools like lint, FlexeLint, Coverity etc expect /* FALLTHROUGH */ comments. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequate

svn commit: r333310 - head/sys/sys

2018-05-06 Thread Poul-Henning Kamp
. O'Brien. All rights reserved. - * Copyright (c) 2017 Poul-Henning Kamp. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions ___ svn-src-all

svn commit: r332297 - in head/sys/teken: . libteken

2018-04-08 Thread Poul-Henning Kamp
Author: phk Date: Sun Apr 8 19:23:50 2018 New Revision: 332297 URL: https://svnweb.freebsd.org/changeset/base/332297 Log: Pedantic polishing of code to please FlexeLint. Approved by: ed Modified: head/sys/teken/libteken/teken.3 head/sys/teken/teken.c head/sys/teken/teken.h

Re: svn commit: r328257 - in head/sys: arm/broadcom/bcm2835 dts/arm modules

2018-01-30 Thread Poul-Henning Kamp
o the essential architectural question seems to be: Can we load the pwm overlay by default, but still use the PWM-pins for something else until/if the pwm driver is kldloaded ? If not, we're right back to FreeBSD 1.x semantics again. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p

Re: svn commit: r328257 - in head/sys: arm/broadcom/bcm2835 dts/arm modules

2018-01-30 Thread Poul-Henning Kamp
In message <20180130094251.ga85...@bluezbox.com>, Oleksandr Tymoshenko writes: >Poul-Henning Kamp (p...@phk.freebsd.dk) wrote: >> But only if you add pwm.dtbo to config.txt and reboot, because >> I see nothing indicating that we will put it there in the >> r

Re: svn commit: r328257 - in head/sys: arm/broadcom/bcm2835 dts/arm modules

2018-01-30 Thread Poul-Henning Kamp
eference. TI's AM335x or iMX would be a good candidate I think >They are complex enough to illustrate all the concepts yet not super >complex. I fully agree that RPi should *not* be our reference platform. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org

Re: svn commit: r328257 - in head/sys: arm/broadcom/bcm2835 dts/arm modules

2018-01-29 Thread Poul-Henning Kamp
nally in-lab measurement of what actually transpired when I frobbed registers. But more importantly, I have no idea what servies *a* clock manager offers, through which apis and to what clients and at what level of abstraction and flexibility ? -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@

Re: svn commit: r328257 - in head/sys: arm/broadcom/bcm2835 dts/arm modules

2018-01-29 Thread Poul-Henning Kamp
nd guidelines are unwriteen, and >they're not always implemented on older platforms. And it's the >problem from which this situation has risen. With the added cherry on top that RPi is a horrible platform which nobody loves - except thousands of teachers, students, hackers and other potential FreeBSD

Re: svn commit: r328257 - in head/sys: arm/broadcom/bcm2835 dts/arm modules

2018-01-29 Thread Poul-Henning Kamp
In message

Re: svn commit: r328257 - in head/sys: arm/broadcom/bcm2835 dts/arm modules

2018-01-28 Thread Poul-Henning Kamp
In message

Re: svn commit: r328257 - in head/sys: arm/broadcom/bcm2835 dts/arm modules

2018-01-28 Thread Poul-Henning Kamp
nt to do. Empathetically NO! (But feel free to ask me again, if my driver ever in any way prevents you from committing your changes to the RPi platform.) Poul-Henning -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org | TCP/IP since RFC 956 FreeBSD committer

Re: svn commit: r328257 - in head/sys: arm/broadcom/bcm2835 dts/arm modules

2018-01-27 Thread Poul-Henning Kamp
, if you like With the limited time I have available, I will. Poul-Henning -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribut

Re: svn commit: r328257 - in head/sys: arm/broadcom/bcm2835 dts/arm modules

2018-01-27 Thread Poul-Henning Kamp
ointing accusingly into your book of unwritten rules. Poul-Henning -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incomp

Re: svn commit: r328257 - in head/sys: arm/broadcom/bcm2835 dts/arm modules

2018-01-23 Thread Poul-Henning Kamp
In message <canczdfrh0nhq7cbkq_genedzo+b3g4ttacezpgh11sr+82e...@mail.gmail.com>, Warner Losh writes: >--089e08222b4ce7f8a4056372a0d5 >I'm actually thinking the right thing is to remove the checks everywhere. > >We then create a couple of new simplebus methods: +1

Re: svn commit: r328257 - in head/sys: arm/broadcom/bcm2835 dts/arm modules

2018-01-22 Thread Poul-Henning Kamp
In message

Re: svn commit: r328257 - in head/sys: arm/broadcom/bcm2835 dts/arm modules

2018-01-22 Thread Poul-Henning Kamp
but learning "what needs to be done" have so far eluded me, apart from some people pointing out that "somebody should write XYZ" for severely underdocumented values of XYZ. And now I *really* think this thread should end... -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.2

Re: svn commit: r328257 - in head/sys: arm/broadcom/bcm2835 dts/arm modules

2018-01-22 Thread Poul-Henning Kamp
In message

Re: svn commit: r328257 - in head/sys: arm/broadcom/bcm2835 dts/arm modules

2018-01-22 Thread Poul-Henning Kamp
lling ->attach()) That way you would know you loaded the right driver, rather than have to guess. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can

Re: svn commit: r328257 - in head/sys: arm/broadcom/bcm2835 dts/arm modules

2018-01-22 Thread Poul-Henning Kamp
or the "DT guys" can say, can convince me that we should reverse that course. I don't care how it works, but enabling and using PWM on an out-of-the-box RPi should not require a reboot. Over -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org | TCP/IP since

Re: svn commit: r328257 - in head/sys: arm/broadcom/bcm2835 dts/arm modules

2018-01-22 Thread Poul-Henning Kamp
T-overlay. > > Nobody is working on that right now (that I know of). Let me know when it works, and I'll remove my hack then. In the meantime, don't load bcm283x_pwm if you don't plan on using the PWM on GPIO12 on your RPI[23]. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p.

Re: svn commit: r328257 - in head/sys: arm/broadcom/bcm2835 dts/arm modules

2018-01-22 Thread Poul-Henning Kamp
iour, ie: kldload without having to reboot to load a DT-overlay. My preference would be that DT-overlays could be compiled into kmods, but I'm fine with any reasonable commahd that can load an overlay without a reboot. Or alternatively, a command which will change the "status=disable

Re: svn commit: r328257 - in head/sys: arm/broadcom/bcm2835 dts/arm modules

2018-01-22 Thread Poul-Henning Kamp
xploration? Do you love to extrapolate and second-guess chip-designers mental process from random snippets of incompetently written code ? If so, you may find welcome relief trying to write a device driver for the "BCM283x - Documentation - Scmockumentation!" family of devices! -- Poul

svn commit: r328260 - head/sys/modules/bcm283x_clkman

2018-01-22 Thread Poul-Henning Kamp
Author: phk Date: Mon Jan 22 08:33:59 2018 New Revision: 328260 URL: https://svnweb.freebsd.org/changeset/base/328260 Log: Forgot to add the skeleton BCM283x Clock Manager Reminded by: lwhsu Added: head/sys/modules/bcm283x_clkman/ head/sys/modules/bcm283x_clkman/Makefile (contents,

Re: svn commit: r328259 - in head: share/man/man4 sys/arm/broadcom/bcm2835

2018-01-21 Thread Poul-Henning Kamp
ins a number of style bugs, you might >want to do a quick sweep on fixing them. There will probably be other revisions to this code and I'll fold them in as I find them. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org | TCP/IP since RFC 956 FreeBSD committer

svn commit: r328259 - in head: share/man/man4 sys/arm/broadcom/bcm2835

2018-01-21 Thread Poul-Henning Kamp
d/share/man/man4/bcm283x_pwm.4 == --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/share/man/man4/bcm283x_pwm.4 Mon Jan 22 07:43:54 2018 (r328259) @@ -0,0 +1,97 @@ +.\" +.\" SPDX-License-Identifier: BSD-2-Clause-FreeBSD +.\" +.\" Copy

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

2018-01-21 Thread Poul-Henning Kamp
(r328258) @@ -1,6 +1,7 @@ /*- - * Copyright (C) 2013-2015 Daisuke Aoyama <aoy...@peach.ne.jp> - * All rights reserved. + * SPDX-License-Identifier: BSD-2-Clause-FreeBSD + * + * Copyright (c) 2017 Poul-Henning Kamp <p...@freebsd.org> * * Redistribution and use in source and

svn commit: r328257 - in head/sys: arm/broadcom/bcm2835 dts/arm modules

2018-01-21 Thread Poul-Henning Kamp
an, 1); Added: head/sys/arm/broadcom/bcm2835/bcm2835_clkman.h == --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sys/arm/broadcom/bcm2835/bcm2835_clkman.h Mon Jan 22 07:10:30 2018

svn commit: r328223 - in head/sys: arm/broadcom/bcm2835 modules modules/bcm283x_pwm modules/rpi_pwm

2018-01-21 Thread Poul-Henning Kamp
Author: phk Date: Sun Jan 21 21:27:41 2018 New Revision: 328223 URL: https://svnweb.freebsd.org/changeset/base/328223 Log: Rename rpi_pwm to bcm283x_pwm, and build it on armv[67] and arm64. Truncate ratio if period is lowered. Tested on Rpi2 and Rpi3. Rpi3 requires

svn commit: r327976 - in head/sys: arm/broadcom/bcm2835 dts/arm modules/rpi_pwm

2018-01-14 Thread Poul-Henning Kamp
-Clause-FreeBSD + * + * Copyright (c) 2017 Poul-Henning Kamp <p...@freebsd.org> + * 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 sourc

Re: svn commit: r327086 - head/sys/dev/lmc

2018-01-04 Thread Poul-Henning Kamp
al places in US. I don't think they could do SS7 or ISDN like the MUSYCC chip could. But nobody uses T1/E1/T3/E3 lines any more for anything... -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Nev

Re: svn commit: r327086 - head/sys/dev/lmc

2018-01-04 Thread Poul-Henning Kamp
ree I concur. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. ___ svn-src-all

svn commit: r327515 - head/sys/sys

2018-01-03 Thread Poul-Henning Kamp
Author: phk Date: Wed Jan 3 09:33:59 2018 New Revision: 327515 URL: https://svnweb.freebsd.org/changeset/base/327515 Log: Eliminate a paranthesis which is both unneeded and causing trouble. Modified: head/sys/sys/_stdarg.h Modified: head/sys/sys/_stdarg.h

svn commit: r327345 - head/tools/tools/sysbuild

2017-12-29 Thread Poul-Henning Kamp
Author: phk Date: Fri Dec 29 15:38:43 2017 New Revision: 327345 URL: https://svnweb.freebsd.org/changeset/base/327345 Log: Add a crude workaround for ports with flavors Modified: head/tools/tools/sysbuild/sysbuild.sh Modified: head/tools/tools/sysbuild/sysbuild.sh

svn commit: r327182 - in head/sys: arm/include arm64/include sys x86/include

2017-12-25 Thread Poul-Henning Kamp
-License-Identifier: BSD-3-Clause + * SPDX-License-Identifier: BSD-2-Clause * - * Copyright (c) 2002 David E. O'Brien. All rights reserved. - * Copyright (c) 1991, 1993 - * The Regents of the University of California. All rights reserved. + * Copyright (c) 2017 Poul-Henning Kamp. All rights

Re: svn commit: r326731 - head/sys/ufs/ffs

2017-12-09 Thread Poul-Henning Kamp
gned to be free of bottlenecks... Don't take my comment as an endorsement of BIO_ORDERED... I think ordering is strictly a consumer responsibility for exactly (and then some) of the reasons you mention. "End to end principle in systems design" and all that... -- Poul-Henning Kamp | UNI

Re: svn commit: r326731 - head/sys/ufs/ffs

2017-12-09 Thread Poul-Henning Kamp
e cam iosched ignores it too. That would be strange given that BIO_ORDERED is @gibbs baby ? -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be expl

svn commit: r326246 - head/lib/libc/stdio

2017-11-27 Thread Poul-Henning Kamp
Author: phk Date: Mon Nov 27 09:57:37 2017 New Revision: 326246 URL: https://svnweb.freebsd.org/changeset/base/326246 Log: Truncate negative lengths to zero Modified: head/lib/libc/stdio/xprintf_hexdump.c Modified: head/lib/libc/stdio/xprintf_hexdump.c

svn commit: r318903 - head/tools/tools/sysbuild

2017-05-25 Thread Poul-Henning Kamp
Author: phk Date: Thu May 25 21:59:19 2017 New Revision: 318903 URL: https://svnweb.freebsd.org/changeset/base/318903 Log: Try to keep up with the ports system Makefiles. Modified: head/tools/tools/sysbuild/sysbuild.sh Modified: head/tools/tools/sysbuild/sysbuild.sh

svn commit: r317771 - head/usr.sbin/pkg

2017-05-03 Thread Poul-Henning Kamp
Author: phk Date: Wed May 3 20:41:26 2017 New Revision: 317771 URL: https://svnweb.freebsd.org/changeset/base/317771 Log: Flush stdout before yes/no confirmations, to force question through pipes/tee(1)/whatever Modified: head/usr.sbin/pkg/pkg.c Modified: head/usr.sbin/pkg/pkg.c

Re: svn commit: r316132 - head/sys/boot/i386/boot2

2017-03-29 Thread Poul-Henning Kamp
: 2 months >> Sponsored by: Dell EMC Isilon > >This can't be changed. It's baked into the BSD disklabel format. No it is not, it is baked into FFS, and for UFS2 0, 8, 64 and 256K works. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org | TCP/IP si

Re: svn commit: r316064 - head/sys/boot/i386/boot2

2017-03-28 Thread Poul-Henning Kamp
We tried to be future compatible, and UFS2 will look four different places for the superblock: +64k, +8k, +0k and +256k, (the latter named SBLOCK_PIGGY because somebody senior thought even 64k was an outrageous waste of space :-) -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org

svn commit: r309790 - head/sys/dev/usb

2016-12-10 Thread Poul-Henning Kamp
Author: phk Date: Sat Dec 10 09:10:48 2016 New Revision: 309790 URL: https://svnweb.freebsd.org/changeset/base/309790 Log: Add Genesys Logic USB hub. Make two other USB hub descriptions more precise. Modified: head/sys/dev/usb/usbdevs Modified: head/sys/dev/usb/usbdevs

svn commit: r309025 - head/usr.sbin/fifolog/lib

2016-11-22 Thread Poul-Henning Kamp
Author: phk Date: Tue Nov 22 22:10:58 2016 New Revision: 309025 URL: https://svnweb.freebsd.org/changeset/base/309025 Log: Pass the correct size argument to ioctl(DIOCGSECTORSIZE) Modified: head/usr.sbin/fifolog/lib/fifolog_create.c Modified: head/usr.sbin/fifolog/lib/fifolog_create.c

svn commit: r308877 - head/tools/tools/sysbuild

2016-11-20 Thread Poul-Henning Kamp
Author: phk Date: Sun Nov 20 10:01:21 2016 New Revision: 308877 URL: https://svnweb.freebsd.org/changeset/base/308877 Log: Attempt package build even if dependencies seems to be missing Modified: head/tools/tools/sysbuild/sysbuild.sh Modified: head/tools/tools/sysbuild/sysbuild.sh

svn commit: r302452 - head/tools/tools/sysbuild

2016-07-08 Thread Poul-Henning Kamp
Author: phk Date: Fri Jul 8 20:33:20 2016 New Revision: 302452 URL: https://svnweb.freebsd.org/changeset/base/302452 Log: Add missing PORTS_OPTS to two make commands Modified: head/tools/tools/sysbuild/sysbuild.sh Modified: head/tools/tools/sysbuild/sysbuild.sh

svn commit: r302256 - head/sbin/natd

2016-06-28 Thread Poul-Henning Kamp
Author: phk Date: Tue Jun 28 20:10:30 2016 New Revision: 302256 URL: https://svnweb.freebsd.org/changeset/base/302256 Log: Do not coredump if the packet is too long in the global (non-interface associated) instance. The result is that the packet is dropped without an indication that

svn commit: r297737 - head/tools/tools/nanobsd

2016-04-09 Thread Poul-Henning Kamp
Author: phk Date: Sat Apr 9 10:53:21 2016 New Revision: 297737 URL: https://svnweb.freebsd.org/changeset/base/297737 Log: Create /usr/local/etc before filling things into it. Only run mtree if the NANO_CUST_FILES_MTREE is nonempty Also umount the packages on non-signal failure

Re: svn commit: r297039 - head/sys/x86/x86

2016-03-27 Thread Poul-Henning Kamp
rectly, but you don't know which >it is. There might be none. Indeed: One clock or three, never two. John R. Vig's famous tutorial is the ultimate collection of wisdom about care and feeding of quartz: http://www.ieee-uffc.org/frequency-control/learning-vig-tut.asp Highly recommende

Re: svn commit: r297039 - head/sys/x86/x86

2016-03-27 Thread Poul-Henning Kamp
CPU report about its frequency as the last resort. Usually the errors will be magnificient, so a trivial sanity-check will catch them. Don't leave home without it. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org | TCP/IP since RFC 956 FreeBSD committer |

svn commit: r297146 - head/tools/tools/nanobsd

2016-03-21 Thread Poul-Henning Kamp
Author: phk Date: Mon Mar 21 08:30:58 2016 New Revision: 297146 URL: https://svnweb.freebsd.org/changeset/base/297146 Log: Unquote NANO_PACKAGE_LIST so that it actually can be a list and so that the default value of "*" works. Modified: head/tools/tools/nanobsd/defaults.sh Modified:

Re: svn commit: r292058 - head/sbin/geom/class/part

2015-12-12 Thread Poul-Henning Kamp
In message <20151212121209.ga60...@freebsd.org>, Alexey Dokuchaev writes: >+1, I'm also used to "dd'ing zeros" trick. The modern way to do that is to reinitialize the on-drive encryption to a new key. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.

svn commit: r289627 - head/etc/rc.d

2015-10-20 Thread Poul-Henning Kamp
Author: phk Date: Tue Oct 20 12:49:38 2015 New Revision: 289627 URL: https://svnweb.freebsd.org/changeset/base/289627 Log: Allow osreldate and osrelease to be set per jail Modified: head/etc/rc.d/jail Modified: head/etc/rc.d/jail

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

2015-10-10 Thread Poul-Henning Kamp
Author: phk Date: Sat Oct 10 17:32:06 2015 New Revision: 289116 URL: https://svnweb.freebsd.org/changeset/base/289116 Log: Remove a double "as well as" Modified: head/share/man/man4/vtnet.4 Modified: head/share/man/man4/vtnet.4

svn commit: r288484 - head/sys/kern

2015-10-02 Thread Poul-Henning Kamp
Author: phk Date: Fri Oct 2 09:23:14 2015 New Revision: 288484 URL: https://svnweb.freebsd.org/changeset/base/288484 Log: Fail the sbuf if vsnprintf(3) fails. Modified: head/sys/kern/subr_sbuf.c Modified: head/sys/kern/subr_sbuf.c

svn commit: r288212 - head/sbin/natd

2015-09-25 Thread Poul-Henning Kamp
Author: phk Date: Fri Sep 25 07:37:00 2015 New Revision: 288212 URL: https://svnweb.freebsd.org/changeset/base/288212 Log: Fix two cases where "const" were washed off pointers with strchr(3) Modified: head/sbin/natd/natd.c Modified: head/sbin/natd/natd.c

svn commit: r286904 - head/tools/tools/sysbuild

2015-08-18 Thread Poul-Henning Kamp
Author: phk Date: Tue Aug 18 20:19:48 2015 New Revision: 286904 URL: https://svnweb.freebsd.org/changeset/base/286904 Log: Update sysbuild to new ports infrastructure. Modified: head/tools/tools/sysbuild/sysbuild.sh Modified: head/tools/tools/sysbuild/sysbuild.sh

svn commit: r276208 - in head/sys: amd64/conf conf

2014-12-25 Thread Poul-Henning Kamp
Author: phk Date: Thu Dec 25 17:50:04 2014 New Revision: 276208 URL: https://svnweb.freebsd.org/changeset/base/276208 Log: Use compiled in default keymaps which are available both in syscons and vt. Modified: head/sys/amd64/conf/NOTES head/sys/conf/NOTES Modified:

svn commit: r276210 - head/tools/tools/sysbuild

2014-12-25 Thread Poul-Henning Kamp
Author: phk Date: Thu Dec 25 17:54:22 2014 New Revision: 276210 URL: https://svnweb.freebsd.org/changeset/base/276210 Log: Create the PKG_DIR if it is missing Modified: head/tools/tools/sysbuild/sysbuild.sh Modified: head/tools/tools/sysbuild/sysbuild.sh

svn commit: r276214 - in head: . include lib share/man/man4 share/mk sys/conf sys/dev/ieee488 tools/build/mk tools/build/options

2014-12-25 Thread Poul-Henning Kamp
Author: phk Date: Thu Dec 25 20:15:13 2014 New Revision: 276214 URL: https://svnweb.freebsd.org/changeset/base/276214 Log: Deorbit the IEEE-488/GPIB support. Deleted: head/share/man/man4/gpib.4 head/share/man/man4/pcii.4 head/share/man/man4/tnt4882.4 head/sys/dev/ieee488/ibfoo.c

svn commit: r275355 - head/tools/tools/sysbuild

2014-12-01 Thread Poul-Henning Kamp
Author: phk Date: Mon Dec 1 10:17:23 2014 New Revision: 275355 URL: https://svnweb.freebsd.org/changeset/base/275355 Log: Face the fact that we have no idea where the ports tree really lives. Modified: head/tools/tools/sysbuild/sysbuild.sh Modified: head/tools/tools/sysbuild/sysbuild.sh

svn commit: r275384 - head/tools/tools/nanobsd

2014-12-01 Thread Poul-Henning Kamp
Author: phk Date: Mon Dec 1 22:39:35 2014 New Revision: 275384 URL: https://svnweb.freebsd.org/changeset/base/275384 Log: Make this work with pkgng, and allow PORTS_OPTS to be passed in Modified: head/tools/tools/nanobsd/fill_pkg.sh Modified: head/tools/tools/nanobsd/fill_pkg.sh

  1   2   3   >