Re: ntpd.conf and Google

2016-01-12 Thread Theo de Raadt
> $ fgrep constraint /etc/ntpd.conf > constraints from "https://www.google.com"; > $ > > www.google.com and other Google services are not accessible from > countries like China or Vietnam. It's easy enough for people to > change their ntpd.conf if necessary but how about using a default > value t

Simplify less(1) off_t formatting

2016-01-12 Thread Michael McConville
I'm working on bigger simplifications for less's string formatting, but this is a good start. We've removed the off_t aliases for linenums and positions, so we now have two identical sets of off_t formatting and appending functions. The below diff unifies them. As you can see, there is more cleanu

ntpd.conf and Google

2016-01-12 Thread Philippe Meunier
Hello, $ fgrep constraint /etc/ntpd.conf constraints from "https://www.google.com"; $ www.google.com and other Google services are not accessible from countries like China or Vietnam. It's easy enough for people to change their ntpd.conf if necessary but how about using a default value that is m

Re: [diff] lpbl(4): driver for TI LP8550 backlight controller (found in e.g. MacBook Air 6,2)

2016-01-12 Thread Sviatoslav Chagaev
On Tue, 12 Jan 2016 01:37:39 +0200 Sviatoslav Chagaev wrote: > On Sun, 10 Jan 2016 21:28:31 +0100 > Joerg Jung wrote: > > On Sun, Jan 10, 2016 at 04:59:22AM +0200, Sviatoslav Chagaev wrote: > > > > > An Intel developer claims [2] that it's not a bug in Intel KMS driver and > > > people > > > c

Re: fix iwn firmware error during init

2016-01-12 Thread Mike Belopuhov
On Tue, Jan 12, 2016 at 11:59 +0100, Stefan Sperling wrote: > On Sat, Jan 09, 2016 at 10:25:45PM +0100, Stefan Sperling wrote: > > I've run into an issue where iwn(4) fails to init the hardware. > > > > Running 'ifconfig iwn0 scan' resulted in: > > > > setting configuration > > iwn0: fatal firmwa

Re: fix iwn firmware error during init

2016-01-12 Thread Reyk Floeter
On Tue, Jan 12, 2016 at 11:59:08AM +0100, Stefan Sperling wrote: > On Sat, Jan 09, 2016 at 10:25:45PM +0100, Stefan Sperling wrote: > > I've run into an issue where iwn(4) fails to init the hardware. > > > > Running 'ifconfig iwn0 scan' resulted in: > > > > setting configuration > > iwn0: fatal f

Re: Problem with svlan(4) and bge(4)

2016-01-12 Thread Denis Fondras
Hi David, > naddy is right, the extre header confuses things. i just rewrote > vlan(4) and thought this could happen. > > this is a minimal diff that should work. > > can you try this and see? > It works like a charm on both bge(4) and em(4) in my test setup. Thank you, Denis

octeon usb devs

2016-01-12 Thread Artturi Alm
Likely some other configs have more exhaustive list of devices supported, but even these would be great to have, especially uhub* at uhub?, as ERL physically has only one port limiting it's use to a single umass. -Artturi Index: sys/arch/octeon/conf/GENERIC ==

Fix aml_find_node(9)

2016-01-12 Thread Mark Kettenis
This function is really weird. It looks for nodes with a specific name, and calls a callback function if a match is found. But it doesn't just look at the children of the passed node, it also looks atthe passed node itself and all of its children. That is really unexpected, and jcs@ fell into th

gcc typo

2016-01-12 Thread Jan Schreiber
Hi, this looks like a typo in gcc. Jan Index: gnu/gcc/gcc/config/mt/mt.c === RCS file: /cvs/src/gnu/gcc/gcc/config/mt/mt.c,v retrieving revision 1.1.1.1 diff -u -p -r1.1.1.1 mt.c --- gnu/gcc/gcc/config/mt/mt.c 15 Oct 2009 17:11:30

Re: fix iwn firmware error during init

2016-01-12 Thread Stefan Kempf
Stefan Sperling wrote: > I've run into an issue where iwn(4) fails to init the hardware. > > Running 'ifconfig iwn0 scan' resulted in: > > setting configuration > iwn0: fatal firmware error > firmware error log: > error type = "SYSASSERT" (0x0005) > program counter = 0x00022088 > s

Re: klog uiomove() conversion

2016-01-12 Thread Stefan Kempf
Martin Natano wrote: > Below the uiomove() conversion for kern/subr_log.c. msg_buf[rsx] are all > of type long, but are always positive. This diff prevents truncation of > uio_resid (and l) due to min() usage. Makes sense. ok? > Index: kern/subr_log.c > =

Re: Xen virtual network (Netfront) driver

2016-01-12 Thread Stefan Fritsch
On Thu, 7 Jan 2016, Mike Belopuhov wrote: > On 7 January 2016 at 13:17, Mark Kettenis wrote: > >> From: Mike Belopuhov > >> Date: Thu, 7 Jan 2016 12:02:23 +0100 > >> > >> On 6 January 2016 at 17:58, Stefan Fritsch wrote: > >> > On Wed, 6 Jan 2016, Mike Belopuhov wrote: > >> > > >> >> There's st

Re: ifconfig mode subcommand

2016-01-12 Thread Stefan Sperling
On Tue, Jan 12, 2016 at 01:06:42PM +0100, Stefan Sperling wrote: > Do not require users to type 'media autoselect mode ...' if all > they want is to force a particular operating mode. > > This allows 11n support to be disabled by typing short commands like: > > ifconfig iwn0 mode 11a > ifconf

ifconfig mode subcommand

2016-01-12 Thread Stefan Sperling
Do not require users to type 'media autoselect mode ...' if all they want is to force a particular operating mode. This allows 11n support to be disabled by typing short commands like: ifconfig iwn0 mode 11a ifconfig iwn0 mode 11g ifconfig iwn0 mode 11b The new -mode command restores the d

Re: fix iwn firmware error during init

2016-01-12 Thread Stefan Sperling
On Sat, Jan 09, 2016 at 10:25:45PM +0100, Stefan Sperling wrote: > I've run into an issue where iwn(4) fails to init the hardware. > > Running 'ifconfig iwn0 scan' resulted in: > > setting configuration > iwn0: fatal firmware error > firmware error log: > error type = "SYSASSERT" (0x00