Re: svn commit: r233684 - head/sys/x86/include

2012-03-30 Thread Andrey Chernov
On Thu, Mar 29, 2012 at 11:31:48PM +, Dimitry Andric wrote: > However, the arguments are not properly masked, which results in the > wrong value being calculated in some instances. For example, > bswap32(0x12345678) returns 0x7c563412, and bswap64(0x123456789abcdef0) > returns 0xfcdefc

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

2012-03-30 Thread Alexander Motin
Author: mav Date: Fri Mar 30 08:33:08 2012 New Revision: 233692 URL: http://svn.freebsd.org/changeset/base/233692 Log: Reenable unsolicited responses on CODEC if hdaa_sense_init() called again. This fixes jack connection events handling after suspend/resume. PR: kern/166382 MF

svn commit: r233693 - head/sys/kern

2012-03-30 Thread David Xu
Author: davidxu Date: Fri Mar 30 09:03:53 2012 New Revision: 233693 URL: http://svn.freebsd.org/changeset/base/233693 Log: Fix COMPAT_FREEBSD32 build. Submitted by: Andreas Tobler < andreast at fgznet dot ch > Modified: head/sys/kern/kern_umtx.c Modified: head/sys/kern/kern_umtx.c =

Re: svn commit: r233674 - head/libexec/rtld-elf

2012-03-30 Thread Konstantin Belousov
On Thu, Mar 29, 2012 at 09:11:25PM +0300, Konstantin Belousov wrote: > On Thu, Mar 29, 2012 at 05:50:01PM +, Konstantin Belousov wrote: > > Author: kib > > Date: Thu Mar 29 17:50:01 2012 > > New Revision: 233674 > > URL: http://svn.freebsd.org/changeset/base/233674 > > > > Log: > > Fix ia64

Re: svn commit: r233683 - head/sys/x86/include

2012-03-30 Thread Bruce Evans
On Thu, 29 Mar 2012, Dimitry Andric wrote: Log: Revert sys/x86/include/endian.h to what it was before r233419, as that revision has two problems: - It can produce worse code with both clang and gcc. - It doesn't fix the actual issue introduced in r232721, which will be fixed in the next c

Re: svn commit: r233684 - head/sys/x86/include

2012-03-30 Thread Dimitry Andric
On 2012-03-30 10:25, Andrey Chernov wrote: On Thu, Mar 29, 2012 at 11:31:48PM +, Dimitry Andric wrote: However, the arguments are not properly masked, which results in the wrong value being calculated in some instances. For example, bswap32(0x12345678) returns 0x7c563412, and bswap

Re: svn commit: r233684 - head/sys/x86/include

2012-03-30 Thread Bruce Evans
On Thu, 29 Mar 2012, Dimitry Andric wrote: Log: Fix an issue introduced in sys/x86/include/endian.h with r232721. In that revision, the bswapXX_const() macros were renamed to bswapXX_gen(). Also, bswap64_gen() was implemented as two calls to bswap32(), and similarly, bswap32_gen() as two c

Re: svn commit: r233684 - head/sys/x86/include

2012-03-30 Thread Andrey Chernov
On Fri, Mar 30, 2012 at 02:11:21PM +0200, Dimitry Andric wrote: > In case of the __bswapXX() macros, you can see that the argument to > __bswapXX_gen() is first explicitly cast to an unsigned type, for > example with __bswap32(): > > #define __bswap32(x)\ > (__builtin_

Re: svn commit: r233684 - head/sys/x86/include

2012-03-30 Thread Bruce Evans
On Fri, 30 Mar 2012, Andrey Chernov wrote: On Thu, Mar 29, 2012 at 11:31:48PM +, Dimitry Andric wrote: However, the arguments are not properly masked, which results in the wrong value being calculated in some instances. For example, bswap32(0x12345678) returns 0x7c563412, and bswap64

svn commit: r233698 - head/lib/libutil

2012-03-30 Thread Joel Dahl
Author: joel (doc committer) Date: Fri Mar 30 12:34:34 2012 New Revision: 233698 URL: http://svn.freebsd.org/changeset/base/233698 Log: mdoc: terminate quoted strings. Modified: head/lib/libutil/login.conf.5 Modified: head/lib/libutil/login.conf.5

svn commit: r233699 - head/contrib/libstdc++/libsupc++

2012-03-30 Thread David Chisnall
Author: theraven Date: Fri Mar 30 12:48:36 2012 New Revision: 233699 URL: http://svn.freebsd.org/changeset/base/233699 Log: Undo the earlier revert of the ABI change in libsupc++. On further discussion, posting an errata notice with 9.1 is the less painful solution. Approved by: dim (m

svn commit: r233700 - head/sys/kern

2012-03-30 Thread David Xu
Author: davidxu Date: Fri Mar 30 12:57:14 2012 New Revision: 233700 URL: http://svn.freebsd.org/changeset/base/233700 Log: Remove trailing semicolon, it is a typo. Modified: head/sys/kern/kern_umtx.c Modified: head/sys/kern/kern_umtx.c

Re: svn commit: r233700 - head/sys/kern

2012-03-30 Thread Stefan Farfeleder
Hi, here are a few similar cases. Stefan Index: tools/regression/lib/libc/nss/test-gethostby.c === --- tools/regression/lib/libc/nss/test-gethostby.c (revision 233700) +++ tools/regression/lib/libc/nss/test-gethostby.c (working copy)

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

2012-03-30 Thread Marius Strobl
Author: marius Date: Fri Mar 30 15:08:09 2012 New Revision: 233701 URL: http://svn.freebsd.org/changeset/base/233701 Log: - Remove erroneous trailing semicolon. [1] - Correctly determine the maximum payload size for setting the TX link frequent NACK latency and replay timer thresholds.

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

2012-03-30 Thread Jung-uk Kim
Author: jkim Date: Fri Mar 30 16:32:41 2012 New Revision: 233702 URL: http://svn.freebsd.org/changeset/base/233702 Log: Work around Erratum 721 for AMD Family 10h and 12h processors. "Under a highly specific and detailed set of internal timing conditions, the processor may incorrectly upd

svn commit: r233704 - in head/sys/amd64: acpica amd64

2012-03-30 Thread Jung-uk Kim
Author: jkim Date: Fri Mar 30 17:03:06 2012 New Revision: 233704 URL: http://svn.freebsd.org/changeset/base/233704 Log: Re-initialize model-specific MSRs when we resume CPUs. MFC after:1 week Modified: head/sys/amd64/acpica/acpi_wakeup.c head/sys/amd64/amd64/mp_machdep.c Modified:

svn commit: r233707 - in head/sys: amd64/amd64 amd64/include conf i386/i386 i386/include i386/xbox pc98/include x86/include x86/pci x86/x86

2012-03-30 Thread John Baldwin
Author: jhb Date: Fri Mar 30 19:10:14 2012 New Revision: 233707 URL: http://svn.freebsd.org/changeset/base/233707 Log: Move the legacy(4) driver to x86. Added: head/sys/x86/include/legacyvar.h - copied, changed from r233702, head/sys/amd64/include/legacyvar.h head/sys/x86/x86/legacy.c

Re: svn commit: r233700 - head/sys/kern

2012-03-30 Thread Dimitry Andric
On 2012-03-30 15:30, Stefan Farfeleder wrote: here are a few similar cases. Hm, what about this one that clang warns about: sys/dev/asr/asr.c:2420:57: warning: for loop has empty body [-Wempty-body] for (ha = &Asr_softc_list; *ha; ha = &((*ha)->ha_next));

svn commit: r233708 - head/sys/dev/e1000

2012-03-30 Thread John Baldwin
Author: jhb Date: Fri Mar 30 19:54:48 2012 New Revision: 233708 URL: http://svn.freebsd.org/changeset/base/233708 Log: Fix a few issues with transmit handling in em(4) and igb(4): - Do not define the foo_start() methods or set if_start in the ifnet if multiq transmit is enabled. Also, set

svn commit: r233709 - head/sys/x86/x86

2012-03-30 Thread John Baldwin
Author: jhb Date: Fri Mar 30 20:17:39 2012 New Revision: 233709 URL: http://svn.freebsd.org/changeset/base/233709 Log: Attempt to make machine check handling a bit more robust: - Don't malloc() new MCA records for machine checks logged due to a CMCI or MC# exception. Instead, use a pre-al

Re: svn commit: r233294 - in head: . contrib/com_err crypto/heimdal crypto/heimdal/admin crypto/heimdal/appl crypto/heimdal/appl/afsutil crypto/heimdal/appl/ftp crypto/heimdal/appl/ftp/common crypto/h

2012-03-30 Thread Doug Barton
On 3/29/2012 4:16 AM, David Chisnall wrote: > On 29 Mar 2012, at 04:36, Doug Barton wrote: > >> All of the stuff that pkgng relies on (including the tool itself) >> are going to be in the ports collection, where they belong. We >> should have moved pkg_* there years ago, but this change is at >> l

svn commit: r233710 - head/sys/dev/isci

2012-03-30 Thread Dimitry Andric
Author: dim Date: Fri Mar 30 22:52:08 2012 New Revision: 233710 URL: http://svn.freebsd.org/changeset/base/233710 Log: Fix the following compilation warning with clang trunk in isci(4): sys/dev/isci/isci_task_request.c:198:7: error: case value not in enumerated type 'SCI_TASK_STATUS' (ak

svn commit: r233711 - in head/sys: conf dev/mfi modules/mfi

2012-03-30 Thread Doug Ambrisko
Author: ambrisko Date: Fri Mar 30 23:05:48 2012 New Revision: 233711 URL: http://svn.freebsd.org/changeset/base/233711 Log: MFhead_mfi r227068 First cut of new HW support from LSI and merge into FreeBSD. Supports Drake Skinny and ThunderBolt cards. MFhead_mfi r227574 St

svn commit: r233713 - head/usr.sbin/mfiutil

2012-03-30 Thread Doug Ambrisko
Author: ambrisko Date: Fri Mar 30 23:39:39 2012 New Revision: 233713 URL: http://svn.freebsd.org/changeset/base/233713 Log: MFhead_mfi r233621 Remove the magic mfi_array is 288 bytes and just use the sizeof the array since it is not 288 bytes. Change reporting of

svn commit: r233729 - head/sys/kern

2012-03-30 Thread David Xu
Author: davidxu Date: Sat Mar 31 06:48:41 2012 New Revision: 233729 URL: http://svn.freebsd.org/changeset/base/233729 Log: Remove stale comments. Modified: head/sys/kern/kern_umtx.c Modified: head/sys/kern/kern_umtx.c ==