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. 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" th

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

2020-11-28 Thread Poul-Henning Kamp
ides +.Xr 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...@fr

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: head/sys/dev/superi

svn commit: r365952 - head/contrib/libexecinfo

2020-09-21 Thread Poul-Henning Kamp
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 patter

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

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

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
benefit of 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 t

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

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 tha

svn commit: r346369 - head/sbin/md5

2019-04-18 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
>>>> "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
en. >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(

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

2019-03-14 Thread Poul-Henning Kamp
hat if they are 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 >

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
got chip-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-ta

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

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 =

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: 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 head/s

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

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

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

2018-08-09 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: head/tools/tools/sysbuild/

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
e development (probably) falls, and 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

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

2018-06-05 Thread Poul-Henning Kamp
e 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 attribu

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

2018-05-28 Thread Poul-Henning Kamp
than 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

Re: Deorbiting i386

2018-05-25 Thread Poul-Henning Kamp
sing 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 Vladimir Putin. -- Poul-Hen

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

2018-05-19 Thread Poul-Henning Kamp
ould point out the boilerplate to the new man and tell him "That one prevents explosions." Largely because of that joke, the term "boilerplate" became synonymous with mandatory information which is present to satisfy regulations & lawyers, but doesn't serve any (other) useful

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

2018-05-19 Thread Poul-Henning Kamp
ce for UCB when USA ratified the Berne Convention 60 years ago. The final Buenos Aires signatory joined Berne a couple of decades ago, rendering the convention null and void, and therefore this boilerplate has no meaning or relevance for anybody. -- Poul-Henning Kamp | UNIX since Zilog Zeus

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 adequately

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

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 head/s

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

2018-01-30 Thread Poul-Henning Kamp
w. So 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 Z

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

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

2018-01-30 Thread Poul-Henning Kamp
oo weird to >be reference. 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

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

2018-01-29 Thread Poul-Henning Kamp
ck some shrewed guesses and finally 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 | UN

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

2018-01-29 Thread Poul-Henning Kamp
best practices and 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, hacke

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

2018-01-29 Thread Poul-Henning Kamp
t", and there are indeed hardware out there where that is required for various reason. But trival (and popular) cases "should just work". >It's a tricky ball of wax that we've neglected for too long. Indeed, and thanks for doing so. -- Poul-Henning Kamp | UNI

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

2018-01-28 Thread Poul-Henning Kamp
gt; >Yea, otherwise we could kill armv6 completely. But it is only the original RPi is armv6, right ? I think we would be OK as long as we support RPi2 and RPi3. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org | TCP/IP since RFC 956 FreeBSD committer | B

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

2018-01-28 Thread Poul-Henning Kamp
together to extend arm support toward what >you want 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.

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

2018-01-27 Thread Poul-Henning Kamp
ot on every other armv7/arm64 platform, just not there incrementally at >runtime. Some work would be needed to make that happen, but I think I have a >reasonable design that I've started to socialize... You're welcome to join in >in making it happen, if you like With the l

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

2018-01-27 Thread Poul-Henning Kamp
then, you are wasting everybodys time pointing 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 wha

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

2018-01-23 Thread Poul-Henning Kamp
In message , 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 -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.

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

2018-01-22 Thread Poul-Henning Kamp
ld avoid that boilerplate in all the drivers, if it was done one level up with a consistent device_printf() and not calling attach() at all. What I don't know is how noisy that would be in practice ? -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org | TCP/IP since RF

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

2018-01-22 Thread Poul-Henning Kamp
uded 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.20 p...@freebsd.org | TCP/IP since RFC 956 Free

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

2018-01-22 Thread Poul-Henning Kamp
In message , Warner Losh writes: >> That also removes a couple of boilerplate lines from all FDT device >> drivers. > >That would be useful, but the status bit is so much more than on/off. The boilerplate code in all the ->probe() functions don't seem to th

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

2018-01-22 Thread Poul-Henning Kamp
without calling ->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 malic

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

2018-01-22 Thread Poul-Henning Kamp
you 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&Out -- 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-22 Thread Poul-Henning Kamp
ing to reboot to load a DT-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

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

2018-01-22 Thread Poul-Henning Kamp
ilar behaviour, 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 "

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

2018-01-22 Thread Poul-Henning Kamp
on? 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-Henning Kamp

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

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 +.\" +.\" Cop

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

2018-01-21 Thread Poul-Henning Kamp
2018(r328258) @@ -1,6 +1,7 @@ /*- - * Copyright (C) 2013-2015 Daisuke Aoyama - * All rights reserved. + * SPDX-License-Identifier: BSD-2-Clause-FreeBSD + * + * Copyright (c) 2017 Poul-Henning Kamp * * Redistribution and use in source and binary forms, with or without * modification,

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

2018-01-21 Thread Poul-Henning Kamp
man, 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(r3

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 DTB->DTS->edit-

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 + * 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 the

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

2018-01-04 Thread Poul-Henning Kamp
aces 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

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

2018-01-04 Thread Poul-Henning Kamp
In message , Warner Losh writes: >Deleting lmc(4) is probably the appropriate fix. >Inc is for very old interconnect to telco... So maybe that's safe to delete. As the guy who put lmc(4) in the tree I concur. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@

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 r

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

2017-12-09 Thread Poul-Henning Kamp
nt 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 | UNIX since Zilog Zeus 3.20 p...@freebsd.org | TCP/IP since RFC

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

2017-12-09 Thread Poul-Henning Kamp
DERED 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 explained by incompetence.

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 |

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 sma

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 Modifi

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

2016-03-27 Thread Poul-Henning Kamp
;timecounter source that is emulated correctly, 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/frequen

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

2016-03-27 Thread Poul-Henning Kamp
uld even trust 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

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: head/t

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 Zil

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: 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 head/

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: 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: head/sys/amd64/conf/NOTES

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

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

  1   2   >