svn commit: r269178 - head/sys/arm/samsung/exynos

2014-07-27 Thread Ruslan Bukin
Author: br Date: Mon Jul 28 05:37:10 2014 New Revision: 269178 URL: http://svnweb.freebsd.org/changeset/base/269178 Log: Add the rest of combined interrupt groups. Modified: head/sys/arm/samsung/exynos/exynos5_combiner.c Modified: head/sys/arm/samsung/exynos/exynos5_combiner.c ==

svn commit: r269177 - stable/10/usr.bin/mkimg

2014-07-27 Thread Marcel Moolenaar
Author: marcel Date: Mon Jul 28 02:07:16 2014 New Revision: 269177 URL: http://svnweb.freebsd.org/changeset/base/269177 Log: MFC r268236,268264,268524,268646,268802,269021: This brings VHD support to mkimg(1); both dynamic and fixed file formats. Dynamic VHD and VMDK file images are now spar

svn commit: r269176 - stable/10/sys/fs/tmpfs

2014-07-27 Thread Konstantin Belousov
Author: kib Date: Mon Jul 28 01:25:49 2014 New Revision: 269176 URL: http://svnweb.freebsd.org/changeset/base/269176 Log: MFC r268766: Do not ignore error from tmpfs_alloc_vp(). Modified: stable/10/sys/fs/tmpfs/tmpfs_vnops.c Directory Properties: stable/10/ (props changed) Modified: st

svn commit: r269175 - stable/10/sys/fs/tmpfs

2014-07-27 Thread Konstantin Belousov
Author: kib Date: Mon Jul 28 01:23:59 2014 New Revision: 269175 URL: http://svnweb.freebsd.org/changeset/base/269175 Log: MFC r268617: Rework the tmpfs unmount. Modified: stable/10/sys/fs/tmpfs/tmpfs.h stable/10/sys/fs/tmpfs/tmpfs_subr.c stable/10/sys/fs/tmpfs/tmpfs_vfsops.c Directory P

svn commit: r269174 - in stable/10/sys: fs/tmpfs vm

2014-07-27 Thread Konstantin Belousov
Author: kib Date: Mon Jul 28 01:21:02 2014 New Revision: 269174 URL: http://svnweb.freebsd.org/changeset/base/269174 Log: MFC r268615: Add OBJ_TMPFS_NODE flag. MFC r268616: Set the OBJ_TMPFS_NODE flag for vm_object of VREG tmpfs node. MFC r269053: Correct assertion. tmpfs vm obje

svn commit: r269173 - stable/10/sys/fs/tmpfs

2014-07-27 Thread Konstantin Belousov
Author: kib Date: Mon Jul 28 01:16:07 2014 New Revision: 269173 URL: http://svnweb.freebsd.org/changeset/base/269173 Log: MFC r268614: Use tmpfs_vn_get_ino_gen() to handle the races with reclaim in tmpfs dotdot lookup. Modified: stable/10/sys/fs/tmpfs/tmpfs_vnops.c Directory Properties:

svn commit: r269172 - stable/10/sys/fs/tmpfs

2014-07-27 Thread Konstantin Belousov
Author: kib Date: Mon Jul 28 01:14:25 2014 New Revision: 269172 URL: http://svnweb.freebsd.org/changeset/base/269172 Log: MFC r268613: Style. Add comment about lock mode. Modified: stable/10/sys/fs/tmpfs/tmpfs_subr.c stable/10/sys/fs/tmpfs/tmpfs_vnops.c Directory Properties: stable/10/

svn commit: r269171 - in stable/10/sys: kern sys ufs/ffs

2014-07-27 Thread Konstantin Belousov
Author: kib Date: Mon Jul 28 01:11:29 2014 New Revision: 269171 URL: http://svnweb.freebsd.org/changeset/base/269171 Log: MFC r268612: Add helper helper vfs_write_suspend_umnt(). Fix the bug in the FFS unmount, when suspension failed, the ufs extattrs were not reinitialized. Modified:

svn commit: r269170 - stable/10/sys/fs/tmpfs

2014-07-27 Thread Konstantin Belousov
Author: kib Date: Mon Jul 28 01:08:43 2014 New Revision: 269170 URL: http://svnweb.freebsd.org/changeset/base/269170 Log: MFC r268611: Replace goto's with the return. Modified: stable/10/sys/fs/tmpfs/tmpfs_subr.c Directory Properties: stable/10/ (props changed) Modified: stable/10/sys/

svn commit: r269169 - stable/10/sys/fs/tmpfs

2014-07-27 Thread Konstantin Belousov
Author: kib Date: Mon Jul 28 01:06:36 2014 New Revision: 269169 URL: http://svnweb.freebsd.org/changeset/base/269169 Log: MFC r268610: Add convenience macro to assert tmpfs node lock. Modified: stable/10/sys/fs/tmpfs/tmpfs.h stable/10/sys/fs/tmpfs/tmpfs_subr.c Directory Properties: stab

svn commit: r269168 - stable/10/sys/fs/tmpfs

2014-07-27 Thread Konstantin Belousov
Author: kib Date: Mon Jul 28 01:04:33 2014 New Revision: 269168 URL: http://svnweb.freebsd.org/changeset/base/269168 Log: MFC r268609: Add some assertions for the code handling vm_object for tmpfs vnode. Modified: stable/10/sys/fs/tmpfs/tmpfs_subr.c stable/10/sys/fs/tmpfs/tmpfs_vnops.c Di

svn commit: r269167 - stable/10/sys/fs/tmpfs

2014-07-27 Thread Konstantin Belousov
Author: kib Date: Mon Jul 28 01:01:20 2014 New Revision: 269167 URL: http://svnweb.freebsd.org/changeset/base/269167 Log: MFC r268608: The tmpfs_link() must not dereference the filesystem-specific data for a vnode until it is verified that the vnode indeed belongs to tmpfs mount. Modified:

svn commit: r269166 - stable/10/sys/kern

2014-07-27 Thread Konstantin Belousov
Author: kib Date: Mon Jul 28 00:57:28 2014 New Revision: 269166 URL: http://svnweb.freebsd.org/changeset/base/269166 Log: MFC r268607: In kern_linkat(), avoid passing doomed vnode to the VOP. Modified: stable/10/sys/kern/vfs_syscalls.c Directory Properties: stable/10/ (props changed) M

svn commit: r269165 - in stable/10/sys: fs/cd9660 fs/msdosfs kern sys

2014-07-27 Thread Konstantin Belousov
Author: kib Date: Mon Jul 28 00:53:26 2014 New Revision: 269165 URL: http://svnweb.freebsd.org/changeset/base/269165 Log: MFC r268606: Generalize vn_get_ino() to allow filesystems to use custom vnode producer. Convert inline copies of vn_get_ino() in msdosfs and cd9660 into the uses of vn_

svn commit: r269164 - stable/10/sys/fs/tmpfs

2014-07-27 Thread Konstantin Belousov
Author: kib Date: Mon Jul 28 00:43:42 2014 New Revision: 269164 URL: http://svnweb.freebsd.org/changeset/base/269164 Log: MFC r268605: Remove code separator lines which do not conform to style(9). Modified: stable/10/sys/fs/tmpfs/tmpfs.h stable/10/sys/fs/tmpfs/tmpfs_fifoops.c stable/10/

svn commit: r269163 - head/usr.bin/m4/lib

2014-07-27 Thread Baptiste Daroussin
Author: bapt Date: Sun Jul 27 22:56:46 2014 New Revision: 269163 URL: http://svnweb.freebsd.org/changeset/base/269163 Log: Remove ohash_int.h forgotten in previous commit Deleted: head/usr.bin/m4/lib/ohash_int.h ___ svn-src-all@freebsd.org mailing l

svn commit: r269162 - in head/usr.bin/m4: . lib

2014-07-27 Thread Baptiste Daroussin
Author: bapt Date: Sun Jul 27 22:54:13 2014 New Revision: 269162 URL: http://svnweb.freebsd.org/changeset/base/269162 Log: Sync with OpenBSD This brings: - check for integer overflows in custom allocs - fix potential integer overflows in memory allocation - annotate regexp error messages

svn commit: r269161 - head/share/man/man9

2014-07-27 Thread Konstantin Belousov
Author: kib Date: Sun Jul 27 20:55:47 2014 New Revision: 269161 URL: http://svnweb.freebsd.org/changeset/base/269161 Log: Explicitely mention that inactivated or reclaimed vnode is locked exclusively. Sponsored by: The FreeBSD Foundation MFC after:3 days Modified: head/share/man/

svn commit: r269160 - head/share/man/man9

2014-07-27 Thread Konstantin Belousov
Author: kib Date: Sun Jul 27 20:48:56 2014 New Revision: 269160 URL: http://svnweb.freebsd.org/changeset/base/269160 Log: Remove man page for non-existent VOPs. Sponsored by: The FreeBSD Foundation MFC after:3 days Deleted: head/share/man/man9/VOP_GETVOBJECT.9 Modified: head/shar

svn commit: r269159 - head/share/man/man9

2014-07-27 Thread Konstantin Belousov
Author: kib Date: Sun Jul 27 20:47:06 2014 New Revision: 269159 URL: http://svnweb.freebsd.org/changeset/base/269159 Log: Correct the locking statement. Sponsored by: The FreeBSD Foundation MFC after:3 days Modified: head/share/man/man9/VOP_INACTIVE.9 Modified: head/share/man/man9

Re: svn commit: r269127 - head/sys/dev/usb/wlan

2014-07-27 Thread Adrian Chadd
Hi, Ok. So, which one of those is showing up as 0? Maybe refactor out the rate lookup code and if it's zero, log an error and reset it to either 2 (for 11ng) or 12 (11a.) '2' isn't valid for 11a - the minimum rate is 6mb. -a On 27 July 2014 13:11, Hans Petter Selasky wrote: > On 07/27/14 02:1

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

2014-07-27 Thread Adrian Chadd
Author: adrian Date: Sun Jul 27 20:14:22 2014 New Revision: 269158 URL: http://svnweb.freebsd.org/changeset/base/269158 Log: Update from mav@ - don't break the input switching. Modified: head/sys/dev/sound/pci/hda/hdaa_patches.c Modified: head/sys/dev/sound/pci/hda/hdaa_patches.c ===

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

2014-07-27 Thread Adrian Chadd
On 27 July 2014 11:07, Rui Paulo wrote: > On Jul 27, 2014, at 1:44, Adrian Chadd wrote: > >> Author: adrian >> Date: Sun Jul 27 08:44:15 2014 >> New Revision: 269152 >> URL: http://svnweb.freebsd.org/changeset/base/269152 >> >> Log: >> Add support for my Lenovo T400. >> >> Tested: >> >> * Leno

Re: svn commit: r269127 - head/sys/dev/usb/wlan

2014-07-27 Thread Hans Petter Selasky
On 07/27/14 02:10, Adrian Chadd wrote: On 26 July 2014 12:13, Hans Petter Selasky wrote: On 07/26/14 20:36, Adrian Chadd wrote: Hi, We should likely review how the PLCP bits are being used and why it's getting a rate of 0 in the first place. So, why's it getting a rate of 0 passed into the

svn commit: r269157 - stable/9/sys/fs/nullfs

2014-07-27 Thread Konstantin Belousov
Author: kib Date: Sun Jul 27 18:10:07 2014 New Revision: 269157 URL: http://svnweb.freebsd.org/changeset/base/269157 Log: MFC r269081: Fix typo. Modified: stable/9/sys/fs/nullfs/null_vnops.c Directory Properties: stable/9/sys/ (props changed) stable/9/sys/fs/ (props changed) Modifi

svn commit: r269156 - stable/10/sys/fs/nullfs

2014-07-27 Thread Konstantin Belousov
Author: kib Date: Sun Jul 27 18:08:47 2014 New Revision: 269156 URL: http://svnweb.freebsd.org/changeset/base/269156 Log: MFC r269081: Fix typo. Modified: stable/10/sys/fs/nullfs/null_vnops.c Directory Properties: stable/10/ (props changed) Modified: stable/10/sys/fs/nullfs/null_vnops.

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

2014-07-27 Thread Rui Paulo
On Jul 27, 2014, at 1:44, Adrian Chadd wrote: > Author: adrian > Date: Sun Jul 27 08:44:15 2014 > New Revision: 269152 > URL: http://svnweb.freebsd.org/changeset/base/269152 > > Log: > Add support for my Lenovo T400. > > Tested: > > * Lenovo T400, model w/ P8700 Intel CPU on-board Don't fo

svn commit: r269155 - head

2014-07-27 Thread Peter Wemm
Author: peter Date: Sun Jul 27 17:34:49 2014 New Revision: 269155 URL: http://svnweb.freebsd.org/changeset/base/269155 Log: Forced commit - testing commit mail etc pipelines. Modified: head/UPDATING Modified: head/UPDATING =

svn commit: r269154 - head/sys/boot/i386/libi386

2014-07-27 Thread Marcel Moolenaar
Author: marcel Date: Sun Jul 27 16:29:57 2014 New Revision: 269154 URL: http://svnweb.freebsd.org/changeset/base/269154 Log: 1. Suppress output for the TFTP-based PXE loader, but leave it in place for the NFS-based PXE loader. Information like rootpath or rootip aren't that useful f

svn commit: r269153 - in head/sys/boot: amd64/efi common i386/libi386 i386/loader mips/beri/loader ofw/common pc98/loader powerpc/ps3 sparc64/loader uboot/common userboot/userboot

2014-07-27 Thread Marcel Moolenaar
Author: marcel Date: Sun Jul 27 16:12:51 2014 New Revision: 269153 URL: http://svnweb.freebsd.org/changeset/base/269153 Log: Give loaders more control over the Forth initialization process. In particular, allow loaders to define the name of the RC script the interpreter needs to use. Use thi

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

2014-07-27 Thread Adrian Chadd
Ok, I'll test this out and commit a fix to what's in -HEAD. Thanks! -a On 27 July 2014 01:53, Alexander Motin wrote: > On 27.07.2014 11:42, Adrian Chadd wrote: >> ... aaand it worked. Woo! > > It worked for playback, but completely broke recording. I've missed that > your CODEC does not suppo

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

2014-07-27 Thread Alexander Motin
On 27.07.2014 11:42, Adrian Chadd wrote: > ... aaand it worked. Woo! It worked for playback, but completely broke recording. I've missed that your CODEC does not support input switching in hardware, while driver does not support that in software. For playback software switching is supported by the

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

2014-07-27 Thread Adrian Chadd
Author: adrian Date: Sun Jul 27 08:44:15 2014 New Revision: 269152 URL: http://svnweb.freebsd.org/changeset/base/269152 Log: Add support for my Lenovo T400. Tested: * Lenovo T400, model w/ P8700 Intel CPU on-board Modified: head/sys/dev/sound/pci/hda/hdaa_patches.c head/sys/dev/so

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

2014-07-27 Thread Adrian Chadd
... aaand it worked. Woo! So how'd it actually map the correct selection between headphones and speaker? That's now cutting back and forth correctly as I plug in and out the headphone jack. -a On 27 July 2014 01:40, Adrian Chadd wrote: > ok, with that it looks like: > > root@lucy-11i386:/home

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

2014-07-27 Thread Adrian Chadd
ok, with that it looks like: root@lucy-11i386:/home/adrian/work/freebsd/head/src # kldload sound ; kldload snd_hda root@lucy-11i386:/home/adrian/work/freebsd/head/src # dmesg snd_unit_init() u=0x00ff8000 [512] d=0x7c00 [32] c=0x03ff [1024] feeder_register: snd_unit=-1 snd_maxautovchans=16

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

2014-07-27 Thread Alexander Motin
On 27.07.2014 11:27, Adrian Chadd wrote: > actually, scratch that, I had some test hacks in there. Try: > > hdaa0: Patched pins configuration: > hdaa0: nid 0xas seq device conn jackloccolor misc > hdaa0: 22 022140f0 15 0 HeadphonesJack 1/8 Front Green 0

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

2014-07-27 Thread Adrian Chadd
On 27 July 2014 01:29, Alexander Motin wrote: > On 27.07.2014 11:20, Adrian Chadd wrote: >> ok, so how do I figure out what the right patch should be? >> >> pcm0: at nid 22 and 24 on hdaa0 >> pcm1: at nid 26 and 29 on >> hdaa0 >> >> .. and >> >> hdac0@pci0:0:27:0: class=0x040300 card=0x20f217aa

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

2014-07-27 Thread Alexander Motin
On 27.07.2014 11:20, Adrian Chadd wrote: > ok, so how do I figure out what the right patch should be? > > pcm0: at nid 22 and 24 on hdaa0 > pcm1: at nid 26 and 29 on hdaa0 > > .. and > > hdac0@pci0:0:27:0: class=0x040300 card=0x20f217aa chip=0x293e8086 > rev=0x03 hdr=0x00 Technically there is

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

2014-07-27 Thread Adrian Chadd
actually, scratch that, I had some test hacks in there. Try: pci0:21:0:1: reprobing on driver added hdacc0: at cad 0 on hdac0 hdaa0: at nid 1 on hdacc0 hdaa0: Subsystem ID: 0x17aa211c hdaa0: NumGPIO=4 NumGPO=0 NumGPI=0 GPIWake=0 GPIUnsol=1 hdaa0: GPIO0: disabled hdaa0: GPIO1: disabled hdaa0:

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

2014-07-27 Thread Adrian Chadd
Oh, and: pci0:21:0:1: reprobing on driver added hdacc0: at cad 0 on hdac0 hdaa0: at nid 1 on hdacc0 hdaa0: Subsystem ID: 0x17aa211c hdaa0: NumGPIO=4 NumGPO=0 NumGPI=0 GPIWake=0 GPIUnsol=1 hdaa0: GPIO0: disabled hdaa0: GPIO1: disabled hdaa0: GPIO2: disabled hdaa0: GPIO3: disabled hdaa0: Origi

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

2014-07-27 Thread Adrian Chadd
Hi! ok, so how do I figure out what the right patch should be? pcm0: at nid 22 and 24 on hdaa0 pcm1: at nid 26 and 29 on hdaa0 .. and hdac0@pci0:0:27:0: class=0x040300 card=0x20f217aa chip=0x293e8086 rev=0x03 hdr=0x00 -a On 13 July 2014 18:44, Alexander Motin wrote: > On 13.07.2014 21:5

svn commit: r269151 - stable/10/sys/cam/ctl

2014-07-27 Thread Alexander Motin
Author: mav Date: Sun Jul 27 08:02:24 2014 New Revision: 269151 URL: http://svnweb.freebsd.org/changeset/base/269151 Log: MFC r269058: Fix build with QUEUE_MACRO_DEBUG. Modified: stable/10/sys/cam/ctl/ctl_backend_ramdisk.c Directory Properties: stable/10/ (props changed) Modified: stab

Re: svn commit: r269106 - head/tools/tools/cxgbetool

2014-07-27 Thread Navdeep Parhar
On Sat, Jul 26, 2014 at 09:26:07PM +0300, Konstantin Belousov wrote: > On Sat, Jul 26, 2014 at 12:51:45AM +, Navdeep Parhar wrote: > > Author: np > > Date: Sat Jul 26 00:51:45 2014 > > New Revision: 269106 > > URL: http://svnweb.freebsd.org/changeset/base/269106 > > > > Log: > > Add a 'raw'