svn commit: r247911 - head/sys/dev/sound/pci/hda

2013-03-07 Thread Gleb Smirnoff
Author: glebius Date: Thu Mar 7 08:00:04 2013 New Revision: 247911 URL: http://svnweb.freebsd.org/changeset/base/247911 Log: Add quirks to enable headphones redirection on number of Lenovo laptops, namely X1, X1 Carbon, T420, T520. PR: misc/176656 Submitted by: Hiren Panchasa

Re: svn commit: r246856 - head/etc

2013-03-07 Thread Gleb Smirnoff
On Thu, Mar 07, 2013 at 12:07:56PM +0400, Gleb Smirnoff wrote: T> On Wed, Mar 06, 2013 at 01:42:54PM -0500, Jung-uk Kim wrote: T> J> You know, I disagreed with the above change because this type of T> J> quirks can be easily handled by the driver. IMHO, /etc/rc.resume is T> J> the last place to pu

Re: svn commit: r246856 - head/etc

2013-03-07 Thread Gleb Smirnoff
Jung-uk, On Wed, Mar 06, 2013 at 01:42:54PM -0500, Jung-uk Kim wrote: J> You know, I disagreed with the above change because this type of J> quirks can be easily handled by the driver. IMHO, /etc/rc.resume is J> the last place to put it. When I committed r233580 to fix resuming J> psm(4) and M

svn commit: r247912 - head/lib/libstand

2013-03-07 Thread Andrew Turner
Author: andrew Date: Thu Mar 7 09:18:52 2013 New Revision: 247912 URL: http://svnweb.freebsd.org/changeset/base/247912 Log: Add __clzsi2 and ctzsi2. They are required on ARMv4 and ARMv5 to implement a number of builtin functions. Modified: head/lib/libstand/Makefile Modified: head/lib/lib

Re: svn commit: r247904 - head/crypto/openssh

2013-03-07 Thread Dimitry Andric
On 2013-03-07 03:28, Glen Barber wrote: On Wed, Mar 06, 2013 at 11:22:40PM +, Dag-Erling Smørgrav wrote: Author: des Date: Wed Mar 6 23:22:40 2013 New Revision: 247904 URL: http://svnweb.freebsd.org/changeset/base/247904 Log: Remove strnvis(), strvis(), strvisx(). Modified: head/cry

Re: svn commit: r247904 - head/crypto/openssh

2013-03-07 Thread Dag-Erling Smørgrav
Dimitry Andric writes: > Glen Barber writes: > > This commit now causes ssh(1) to dump core. > Indeed, it will be the same problem that was reported many times on > ports@; our strnvis() is not compatible with OpenBSD's strnvis(). :( Thank you, and my apologies for the string of f*ups. I am cur

Re: svn commit: r247871 - head/usr.sbin/bhyve

2013-03-07 Thread David Malone
> Any suggestions for better wording ? I submitted the comment block unchanged I think you could probably replace it with "Z(2^16)" or "mod 65536". In the code, it might be worth checking with bde@ to see what is the least amount of casting required to get the right answer. David. _

svn commit: r247913 - head/share/man/man7

2013-03-07 Thread Gavin Atkinson
Author: gavin Date: Thu Mar 7 13:24:16 2013 New Revision: 247913 URL: http://svnweb.freebsd.org/changeset/base/247913 Log: Suggest using the https: protocol not the svn: protocol to retrieve the various repositories. Modified: head/share/man/man7/development.7 Modified: head/share/man/man

svn commit: r247914 - head/sys/sparc64/pci

2013-03-07 Thread Gavin Atkinson
Author: gavin Date: Thu Mar 7 13:24:49 2013 New Revision: 247914 URL: http://svnweb.freebsd.org/changeset/base/247914 Log: Correct two spelling mistakes in a comment. Modified: head/sys/sparc64/pci/psycho.c Modified: head/sys/sparc64/pci/psycho.c

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

2013-03-07 Thread Gavin Atkinson
Author: gavin Date: Thu Mar 7 13:26:54 2013 New Revision: 247915 URL: http://svnweb.freebsd.org/changeset/base/247915 Log: The ZyXEL ZyAIR G-202 is also supported by zyd(4) MFC after:1 week Modified: head/share/man/man4/zyd.4 Modified: head/share/man/man4/zyd.4

svn commit: r247916 - head/crypto/openssh

2013-03-07 Thread Dag-Erling Smørgrav
Author: des Date: Thu Mar 7 14:38:43 2013 New Revision: 247916 URL: http://svnweb.freebsd.org/changeset/base/247916 Log: Partially revert r247892 and r247904 since our strnvis() does not behave the way OpenSSH expects. Modified: head/crypto/openssh/config.h head/crypto/openssh/ssh_namesp

Re: svn commit: r247871 - head/usr.sbin/bhyve

2013-03-07 Thread Bruce Evans
On Wed, 6 Mar 2013, Colin Percival wrote: On 03/06/13 15:16, David Malone wrote: + /* +* We're just computing (a-b) in GF(216). + ndesc = (unsigned)*hq->hq_avail_idx - (unsigned)hq->hq_cur_aidx; I think the comment here is wrong? Subtraction (and addition) in GF(2^16) i

svn commit: r247917 - head/sys/kern

2013-03-07 Thread Alexander Motin
Author: mav Date: Thu Mar 7 16:50:07 2013 New Revision: 247917 URL: http://svnweb.freebsd.org/changeset/base/247917 Log: Fix off-by-one error in nanoseconds validation. Submitted by: bde Modified: head/sys/kern/kern_event.c Modified: head/sys/kern/kern_event.c =

svn commit: r247918 - head/sys/geom/raid

2013-03-07 Thread Alexander Motin
Author: mav Date: Thu Mar 7 18:55:37 2013 New Revision: 247918 URL: http://svnweb.freebsd.org/changeset/base/247918 Log: Fix panic when Secondary_Element_Count == 1 and Secondary_Element_Seq is not set (255). Reported by: sbruno MFC after:1 week Modified: head/sys/geom/raid/md_

svn commit: r247919 - head/lib/libutil

2013-03-07 Thread Diane Bruce
Author: db (ports committer) Date: Thu Mar 7 19:00:00 2013 New Revision: 247919 URL: http://svnweb.freebsd.org/changeset/base/247919 Log: Cleanup gr_add() so it does not leak mem This is part of ongoing work on sbin/pw Mlibutil.h Mgr_util.c Approved by: theraven Modified

Re: svn commit: r246856 - head/etc

2013-03-07 Thread Jung-uk Kim
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2013-03-07 03:19:07 -0500, Gleb Smirnoff wrote: > On Thu, Mar 07, 2013 at 12:07:56PM +0400, Gleb Smirnoff wrote: T> > On Wed, Mar 06, 2013 at 01:42:54PM -0500, Jung-uk Kim wrote: T> J> > You know, I disagreed with the above change because this type

svn commit: r247940 - head/etc

2013-03-07 Thread Colin Percival
Author: cperciva Date: Thu Mar 7 20:48:36 2013 New Revision: 247940 URL: http://svnweb.freebsd.org/changeset/base/247940 Log: Now that stable/7 is EOL, stop building INDEX-7. MFC after:1 week Modified: head/etc/portsnap.conf Modified: head/etc/portsnap.conf

svn commit: r247951 - head/usr.bin/c89

2013-03-07 Thread Dimitry Andric
Author: dim Date: Thu Mar 7 21:34:16 2013 New Revision: 247951 URL: http://svnweb.freebsd.org/changeset/base/247951 Log: Make c89(1) invoke /usr/bin/cc with argv[0] also set to /usr/bin/cc, similar to what c99(1) does, to prevent "c89: illegal option -- 1" messages, when clang is /usr/bin/c

svn commit: r247953 - head/usr.bin/c99

2013-03-07 Thread Dimitry Andric
Author: dim Date: Thu Mar 7 21:37:23 2013 New Revision: 247953 URL: http://svnweb.freebsd.org/changeset/base/247953 Log: Make c99(1) invoke /usr/bin/cc with argv[0] set to "/usr/bin/cc" instead of just "cc", since there is no reason to cause additional path searches in this case. MFC a

svn commit: r247960 - head/cddl/contrib/opensolaris/tools/ctf/cvt

2013-03-07 Thread Dimitry Andric
Author: dim Date: Thu Mar 7 22:16:35 2013 New Revision: 247960 URL: http://svnweb.freebsd.org/changeset/base/247960 Log: Make ctfconvert work correctly on clang-compiled object files. Clang puts the full original source filename in the STT_FILE entry of the ELF symbol table, while gcc save

Re: svn commit: r247960 - head/cddl/contrib/opensolaris/tools/ctf/cvt

2013-03-07 Thread Andriy Gapon
on 08/03/2013 00:16 Dimitry Andric said the following: > Author: dim > Date: Thu Mar 7 22:16:35 2013 > New Revision: 247960 > URL: http://svnweb.freebsd.org/changeset/base/247960 > > Log: > Make ctfconvert work correctly on clang-compiled object files. Clang > puts the full original source f

svn commit: r247961 - in head/sys: geom/part sys

2013-03-07 Thread Gavin Atkinson
Author: gavin Date: Thu Mar 7 22:32:41 2013 New Revision: 247961 URL: http://svnweb.freebsd.org/changeset/base/247961 Log: Support the FAT16 partition type in gpart(8) PR: kern/174714 Submitted by: 4721 at hushmail dot com MFC after:1 week Modified: head/sys/geom/part/

svn commit: r247962 - head/cddl/contrib/opensolaris/tools/ctf/cvt

2013-03-07 Thread Dimitry Andric
Author: dim Date: Thu Mar 7 22:43:50 2013 New Revision: 247962 URL: http://svnweb.freebsd.org/changeset/base/247962 Log: Fix error in r247960: actually assign the basename to match.iim_file. Pointed out by: avg Pointy hat to:dim MFC after:1 week X-MFC-With: r24796

svn commit: r247963 - head/sys/dev/nvme

2013-03-07 Thread David E. O'Brien
Author: obrien Date: Thu Mar 7 22:54:28 2013 New Revision: 247963 URL: http://svnweb.freebsd.org/changeset/base/247963 Log: Fix GCC build: /usr/src/sys/modules/nvme/../../dev/nvme/nvme.c:211: warning: format '%qx' expects type 'long unsigned int', but argument 9 has type 'long long unsigned

Re: svn commit: r247960 - head/cddl/contrib/opensolaris/tools/ctf/cvt

2013-03-07 Thread Dimitry Andric
On 2013-03-07 23:29, Andriy Gapon wrote: ... I was not really kidding when I said that this change, as is, is a nop: ... + bname = strrchr(match.iim_name, '/'); + bname = bname == NULL ? match.iim_name : bname + 1; It would probably make sense to ma

svn commit: r247975 - in head/usr.bin: . truss

2013-03-07 Thread Olivier Houchard
Author: cognet Date: Thu Mar 7 23:44:35 2013 New Revision: 247975 URL: http://svnweb.freebsd.org/changeset/base/247975 Log: Add arm bits to truss. Added: head/usr.bin/truss/arm-fbsd.c (contents, props changed) Modified: head/usr.bin/Makefile.arm head/usr.bin/truss/extern.h head/usr.b

Re: svn commit: r247904 - head/crypto/openssh

2013-03-07 Thread John Nielsen
On Mar 7, 2013, at 4:54 AM, Dag-Erling Smørgrav wrote: > Dimitry Andric writes: >> Glen Barber writes: >>> This commit now causes ssh(1) to dump core. >> Indeed, it will be the same problem that was reported many times on >> ports@; our strnvis() is not compatible with OpenBSD's strnvis(). :( >

Re: svn commit: r247960 - head/cddl/contrib/opensolaris/tools/ctf/cvt

2013-03-07 Thread Eitan Adler
On 7 March 2013 18:00, Dimitry Andric wrote: > On 2013-03-07 23:29, Andriy Gapon wrote: > ... > >> I was not really kidding when I said that this change, as is, is a nop: > > ... > >>> + bname = strrchr(match.iim_name, '/'); >>> + bname = bname == NULL ?

Re: svn commit: r247910 - head/sys/dev/sound/pci/hda

2013-03-07 Thread Alexey Dokuchaev
On Thu, Mar 07, 2013 at 07:54:50AM +, Gleb Smirnoff wrote: > New Revision: 247910 > URL: http://svnweb.freebsd.org/changeset/base/247910 > > Log: > Plug a memory leak. > > Reviewed by:mav > Sponsored by: Nginx, Inc. Any MFCs planned? ./danfe ___

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

2013-03-07 Thread Tim Kientzle
Author: kientzle Date: Fri Mar 8 03:29:05 2013 New Revision: 248028 URL: http://svnweb.freebsd.org/changeset/base/248028 Log: This file is specific to arm11x6 processors, so tell the assembler it's okay to use arm11x6 instructions. Modified: head/sys/arm/arm/cpufunc_asm_arm11x6.S Modified