Re: Fan management support for macppc smu(4)

2016-05-19 Thread Marcus Glocker
On Thu, May 19, 2016 at 09:43:21PM +0200, Marcus Glocker wrote: > This diff adds fan management support for the macppc smu(4), ported > from FreeBSD. Some test reports would be welcome by putting load > on your system and watch the fans scale (hopefully). On my G5 it > works fine so far. > > La

LTE umsm

2016-05-19 Thread Chris Cappuccio
Here is a patch to support some newer LTE umsm devices Yes, the 313U actually has an SD card slot. And yes, it actually changes vendor ID to Airprime after the umsm_truinstall_changemode takes place. Matching ifaceno == 9 for newer USB_PRODUCT_SIERRA_TRUINSTALL devices is necessary. They don't sh

iic.9

2016-05-19 Thread Artturi Alm
hi, this was not mentioned even in the relevant headers under /sys/dev/i2c/, non-native and all, i guess someone will come up w/better diff if it is seen improving anything. -Artturi diff --git a/share/man/man9/iic.9 b/share/man/man9/iic.9 index 7fd3855..e37b160 100644 --- a/share/man/man9/iic.

UTF-8 support for fold(1)

2016-05-19 Thread Ingo Schwarze
Hi, here is a UTF-8 capable version of the POSIX-specified fold(1) utility. It was surprisingly difficult to implement a functionally perfect version, basically requiring a complete rewrite of the central function fold(). First, i'd like to stress one basic design decision that we made for all o

Fan management support for macppc smu(4)

2016-05-19 Thread Marcus Glocker
This diff adds fan management support for the macppc smu(4), ported from FreeBSD. Some test reports would be welcome by putting load on your system and watch the fans scale (hopefully). On my G5 it works fine so far. Later on more I2C temp. sensors could be added like, maxds(4) and lmtemp(4).

msg buf splhigh

2016-05-19 Thread Alexander Bluhm
Hi, As logging to dmesg with msgbuf_putchar() can happen in any interrupt handler, every access to msg buf counters should be protected by splhigh(). This is already done in some places, make it consistenly everywhere. ok? bluhm Index: kern/subr_log.c ==

libfuse: null-terminate argv (fuse_opt_insert_arg)

2016-05-19 Thread Hiltjo Posthuma
Hi peoples, This diff makes sure to NUL-terminate argv when parsing options in libfuse. The upstream/other libfuse does it this way. This fixes an issue with the sysutils/sshfs port, it uses execvp(3) on the fuse_args argv and this gave an error "bad address". Index: fuse_opt.c =

Re: Match boot/root disk based on DUID

2016-05-19 Thread Todd C. Miller
On Thu, 19 May 2016 13:58:35 +0200, Mark Kettenis wrote: > Diff below changes setroot() such that if bootduid is initialized (by > MD code) it tries to find a disk with a matching DUID. If it finds > such a disk, it will use that disk as the root device. > > Perhaps it should only do this if boo

Match boot/root disk based on DUID

2016-05-19 Thread Mark Kettenis
Diff below changes setroot() such that if bootduid is initialized (by MD code) it tries to find a disk with a matching DUID. If it finds such a disk, it will use that disk as the root device. Perhaps it should only do this if bootdv == NULL? Thoughts? ok? Index: subr_disk.c ==

Re: msg buf lmin

2016-05-19 Thread Martin Natano
On Thu, May 19, 2016 at 02:03:43AM +0200, Alexander Bluhm wrote: > Hi, > > All msg buf counters are long, so lmin(9) should be used here. > > ok? Looks good to me. > > bluhm > > Index: kern/subr_log.c > === > RCS file: /cvs/src/