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

2012-02-10 Thread Andrey V. Elsukov
Author: ae Date: Fri Feb 10 09:55:18 2012 New Revision: 231367 URL: http://svn.freebsd.org/changeset/base/231367 Log: Add alias for the partition with type 0x42 to the MBR scheme. MFC after:1 week Modified: head/sys/geom/part/g_part_mbr.c head/sys/sys/diskmbr.h Modified:

svn commit: r231368 - head/sys/dev/ath/ath_hal/ar5416

2012-02-10 Thread Adrian Chadd
Author: adrian Date: Fri Feb 10 09:58:20 2012 New Revision: 231368 URL: http://svn.freebsd.org/changeset/base/231368 Log: Extend the HAL code to allow the RX and TX chainmask to be overridden by capabilities. Add an ar5416SetCapability() function, which contains logic to override the

svn commit: r231369 - head/sys/dev/ath

2012-02-10 Thread Adrian Chadd
Author: adrian Date: Fri Feb 10 10:01:09 2012 New Revision: 231369 URL: http://svn.freebsd.org/changeset/base/231369 Log: Add in a new driver feature to allow the TX and RX chainmask to be overridden at attach time. Some 802.11n NICs may only have one physical antenna connected. The

svn commit: r231370 - head/sys/dev/ath

2012-02-10 Thread Adrian Chadd
Author: adrian Date: Fri Feb 10 10:09:16 2012 New Revision: 231370 URL: http://svn.freebsd.org/changeset/base/231370 Log: .. oops, use the right chainmask. Modified: head/sys/dev/ath/if_ath.c Modified: head/sys/dev/ath/if_ath.c

svn commit: r231371 - head/sys/dev/ath/ath_hal/ar5416

2012-02-10 Thread Adrian Chadd
Author: adrian Date: Fri Feb 10 10:10:41 2012 New Revision: 231371 URL: http://svn.freebsd.org/changeset/base/231371 Log: Enforce the hardware chainmask when allowing the user to override the chainmask. This way a disabled radio chain can't be enabled by a user. Modified:

Re: svn commit: r231298 - head/etc

2012-02-10 Thread Doug Barton
On 02/09/2012 14:15, Marcel Moolenaar wrote: On Feb 9, 2012, at 12:44 PM, Eitan Adler wrote: Author: eadler Date: Thu Feb 9 20:44:20 2012 New Revision: 231298 URL: http://svn.freebsd.org/changeset/base/231298 Log: Make etc/Makefile more conflict resistant Nice. Question though:

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

2012-02-10 Thread Ed Schouten
Author: ed Date: Fri Feb 10 11:20:13 2012 New Revision: 231376 URL: http://svn.freebsd.org/changeset/base/231376 Log: Remove outdated piece of information. devtoname() always returns a pathname to the device. It will never return a #major/minor string. MFC after:2 weeks

svn commit: r231377 - head/sbin/fsck_ffs

2012-02-10 Thread Edward Tomasz Napierala
Author: trasz Date: Fri Feb 10 12:01:19 2012 New Revision: 231377 URL: http://svn.freebsd.org/changeset/base/231377 Log: Be more helpful about alternate superblocks. Modified: head/sbin/fsck_ffs/fsck_ffs.8 head/sbin/fsck_ffs/setup.c Modified: head/sbin/fsck_ffs/fsck_ffs.8

svn commit: r231378 - in head/sys: compat/linux dev/iscsi/initiator dev/sound/pcm dev/usb dev/wtap netgraph security/mac_biba security/mac_lomac security/mac_mls vm

2012-02-10 Thread Ed Schouten
Author: ed Date: Fri Feb 10 12:35:57 2012 New Revision: 231378 URL: http://svn.freebsd.org/changeset/base/231378 Log: Remove direct access to si_name. Code should just use the devtoname() function to obtain the name of a character device. Also add const keywords to pieces of code that

svn commit: r231379 - in head/sys: fs/devfs kern sys

2012-02-10 Thread Ed Schouten
Author: ed Date: Fri Feb 10 12:40:50 2012 New Revision: 231379 URL: http://svn.freebsd.org/changeset/base/231379 Log: Merge si_name and __si_namebuf. The si_name pointer always points to the __si_namebuf member inside the same object. Remove it and rename __si_namebuf to si_name.

svn commit: r231383 - in head: lib/libutil usr.sbin/vipw

2012-02-10 Thread Ed Schouten
Author: ed Date: Fri Feb 10 13:40:32 2012 New Revision: 231383 URL: http://svn.freebsd.org/changeset/base/231383 Log: Detect file modification properly by using tv_nsec. POSIX 2008 standardizes st_mtim, meaning we can simply use nanosecond precision to detect file modification. MFC

svn commit: r231384 - head/lib/libprocstat

2012-02-10 Thread Ed Schouten
Author: ed Date: Fri Feb 10 13:47:40 2012 New Revision: 231384 URL: http://svn.freebsd.org/changeset/base/231384 Log: Unbreak build. libprocstat still uses __si_namebuf. Modified: head/lib/libprocstat/common_kvm.c Modified: head/lib/libprocstat/common_kvm.c

svn commit: r231385 - head/usr.sbin/vipw

2012-02-10 Thread Ed Schouten
Author: ed Date: Fri Feb 10 13:51:02 2012 New Revision: 231385 URL: http://svn.freebsd.org/changeset/base/231385 Log: Correct date. It seems to be 2012. Modified: head/usr.sbin/vipw/vipw.8 Modified: head/usr.sbin/vipw/vipw.8

svn commit: r231386 - head/sys/kern

2012-02-10 Thread Ed Schouten
Author: ed Date: Fri Feb 10 14:55:47 2012 New Revision: 231386 URL: http://svn.freebsd.org/changeset/base/231386 Log: Remove unneeded newline. It fits in 80 columns now. Pointed out by: jh Modified: head/sys/kern/kern_conf.c Modified: head/sys/kern/kern_conf.c

svn commit: r231387 - head/sys/boot/pc98/loader

2012-02-10 Thread Takahashi Yoshihiro
Author: nyan Date: Fri Feb 10 15:34:36 2012 New Revision: 231387 URL: http://svn.freebsd.org/changeset/base/231387 Log: Reduce diffs against i386. MFC after:1 week Modified: head/sys/boot/pc98/loader/Makefile Modified: head/sys/boot/pc98/loader/Makefile

Re: svn commit: r231383 - in head: lib/libutil usr.sbin/vipw

2012-02-10 Thread Sergey Kandaurov
On 10 February 2012 17:40, Ed Schouten e...@freebsd.org wrote: Author: ed Date: Fri Feb 10 13:40:32 2012 New Revision: 231383 URL: http://svn.freebsd.org/changeset/base/231383 Log:  Detect file modification properly by using tv_nsec.  POSIX 2008 standardizes st_mtim, meaning we can simply

Re: svn commit: r231383 - in head: lib/libutil usr.sbin/vipw

2012-02-10 Thread Bruce Evans
On Fri, 10 Feb 2012, Sergey Kandaurov wrote: On 10 February 2012 17:40, Ed Schouten e...@freebsd.org wrote: Log: ?Detect file modification properly by using tv_nsec. ?POSIX 2008 standardizes st_mtim, meaning we can simply use nanosecond ?precision to detect file modification. I am not sure

svn commit: r231406 - head/sys/mips/include

2012-02-10 Thread Oleksandr Tymoshenko
Author: gonzo Date: Fri Feb 10 19:17:14 2012 New Revision: 231406 URL: http://svn.freebsd.org/changeset/base/231406 Log: - Fix spelling of R_MIPS_RELGOT - Add R_MIPS_JALR relocation - Add TLS relocation types Obtained from:NetBSD Modified: head/sys/mips/include/elf.h

svn commit: r231419 - head/libexec/rtld-elf/mips

2012-02-10 Thread Oleksandr Tymoshenko
Author: gonzo Date: Fri Feb 10 19:58:04 2012 New Revision: 231419 URL: http://svn.freebsd.org/changeset/base/231419 Log: Remove debug output Modified: head/libexec/rtld-elf/mips/reloc.c Modified: head/libexec/rtld-elf/mips/reloc.c

svn commit: r231437 - in head/sys: conf dev/oce modules modules/oce

2012-02-10 Thread Luigi Rizzo
Author: luigi Date: Fri Feb 10 21:03:04 2012 New Revision: 231437 URL: http://svn.freebsd.org/changeset/base/231437 Log: Add a driver for Emulex OneConnect ethernet cards (10 Gbit PCIe) A manpage will come in a future commit. Submitted by: Naresh Raju Gottumukkala (emulex) Added:

svn commit: r231441 - head/sys/amd64/amd64

2012-02-10 Thread Konstantin Belousov
Author: kib Date: Fri Feb 10 21:26:25 2012 New Revision: 231441 URL: http://svn.freebsd.org/changeset/base/231441 Log: In cpu_set_user_tls(), consistently set PCB_FULL_IRET pcb flag for both 64bit and 32bit binaries, not for 64bit only. The set of the flag is not neccessary there,

svn commit: r231443 - head/tools/test/ptrace

2012-02-10 Thread Konstantin Belousov
Author: kib Date: Fri Feb 10 21:33:12 2012 New Revision: 231443 URL: http://svn.freebsd.org/changeset/base/231443 Log: Add a test program for recently added ptrace(2) interfaces. MFC after:1 week Added: head/tools/test/ptrace/ head/tools/test/ptrace/Makefile (contents, props

svn commit: r231449 - head/usr.bin/tee

2012-02-10 Thread Martin Cracauer
Author: cracauer Date: Fri Feb 10 22:16:17 2012 New Revision: 231449 URL: http://svn.freebsd.org/changeset/base/231449 Log: Fix bin/164947: tee looses data when writing to non-blocking file descriptors tee was not handling EAGAIN patch submitted by Diomidis Spinellis d...@aueb.gr.

svn commit: r231470 - head/sys/mips/mips

2012-02-10 Thread Oleksandr Tymoshenko
Author: gonzo Date: Fri Feb 10 23:24:33 2012 New Revision: 231470 URL: http://svn.freebsd.org/changeset/base/231470 Log: - Reverse logic so base tls is fixed up with correct number Modified: head/sys/mips/mips/vm_machdep.c Modified: head/sys/mips/mips/vm_machdep.c

svn commit: r231474 - head/sys/dev/acpica/Osd

2012-02-10 Thread Jung-uk Kim
Author: jkim Date: Fri Feb 10 23:30:29 2012 New Revision: 231474 URL: http://svn.freebsd.org/changeset/base/231474 Log: De-obfuscate acpi_acquire_global_lock(). It seems the function was directly translated from i386 assembly version. Modified: head/sys/dev/acpica/Osd/OsdSynch.c

svn commit: r231485 - head/sys/dev/mps

2012-02-10 Thread Kenneth D. Merry
Author: ken Date: Sat Feb 11 00:28:30 2012 New Revision: 231485 URL: http://svn.freebsd.org/changeset/base/231485 Log: Return BUS_PROBE_DEFAULT instead of BUS_PROBE_VENDOR from the mps driver probe routine. This will allow LSI to ship drivers that return BUS_PROBE_VENDOR to override

svn commit: r231491 - head/libexec/rtld-elf/mips

2012-02-10 Thread Oleksandr Tymoshenko
Author: gonzo Date: Sat Feb 11 00:54:57 2012 New Revision: 231491 URL: http://svn.freebsd.org/changeset/base/231491 Log: Add handlers for TLS-related relocation entries Modified: head/libexec/rtld-elf/mips/reloc.c head/libexec/rtld-elf/mips/rtld_machdep.h Modified:

svn commit: r231503 - head/lib/libthr/thread

2012-02-10 Thread David Xu
Author: davidxu Date: Sat Feb 11 04:12:12 2012 New Revision: 231503 URL: http://svn.freebsd.org/changeset/base/231503 Log: Make code more stable by checking NULL pointers. Modified: head/lib/libthr/thread/thr_list.c Modified: head/lib/libthr/thread/thr_list.c

Re: svn commit: r231449 - head/usr.bin/tee

2012-02-10 Thread Eitan Adler
On Fri, Feb 10, 2012 at 5:16 PM, Martin Cracauer craca...@freebsd.org wrote: Author: cracauer Date: Fri Feb 10 22:16:17 2012 New Revision: 231449 URL: http://svn.freebsd.org/changeset/base/231449 Log:  Fix bin/164947: tee looses data when writing to non-blocking file descriptors  tee was

svn commit: r231504 - in head: lib/libc/net sys/net

2012-02-10 Thread Bjoern A. Zeeb
Author: bz Date: Sat Feb 11 05:59:54 2012 New Revision: 231504 URL: http://svn.freebsd.org/changeset/base/231504 Log: Backout changes from r228571. Remove if_data from struct ifa_msghdr again. While this breaks carp on HEAD temporary, it restores the upgrade path from stable, and head

svn commit: r231505 - in head: lib/libc/gen sys/net sys/sys

2012-02-10 Thread Bjoern A. Zeeb
Author: bz Date: Sat Feb 11 06:02:16 2012 New Revision: 231505 URL: http://svn.freebsd.org/changeset/base/231505 Log: Introduce a new NET_RT_IFLISTL API to query the address list. It works on extended and extensible structs if_msghdrl and ifa_msghdrl. This will allow us to extend both the

svn commit: r231506 - in head: . lib/libc/net

2012-02-10 Thread Bjoern A. Zeeb
Author: bz Date: Sat Feb 11 06:05:40 2012 New Revision: 231506 URL: http://svn.freebsd.org/changeset/base/231506 Log: Switch getifaddrs(3) to the new API introduced in r231505. Also remove conditional code parts not used by or applicable to FreeBSD. The new implementation is supposed to

svn commit: r231507 - head/etc/rc.d

2012-02-10 Thread Doug Barton
Author: dougb Date: Sat Feb 11 06:21:16 2012 New Revision: 231507 URL: http://svn.freebsd.org/changeset/base/231507 Log: In the days before r208307 addswap was running early in the second stage of rcorder. Somehow in the intervening period addswap got moved to the very end, which is almost

svn commit: r231508 - head/sys/dev/oce

2012-02-10 Thread Bjoern A. Zeeb
Author: bz Date: Sat Feb 11 07:43:33 2012 New Revision: 231508 URL: http://svn.freebsd.org/changeset/base/231508 Log: Make use of the read-only variant of the IF_ADDR_*LOCK() macros introduced in r229614 rather than the compat one. Modified: head/sys/dev/oce/oce_hw.c Modified:

svn commit: r231509 - head/sys/dev/oce

2012-02-10 Thread Bjoern A. Zeeb
Author: bz Date: Sat Feb 11 07:47:06 2012 New Revision: 231509 URL: http://svn.freebsd.org/changeset/base/231509 Log: Use the more common macro to set the if_baudrate to 10Gbit/s. Just use UL not ULL, which should make 32bit archs more happy. Modified: head/sys/dev/oce/oce_if.c Modified: