svn commit: r233691 - head/sys/kern

2012-03-29 Thread David Xu
Author: davidxu Date: Fri Mar 30 05:49:32 2012 New Revision: 233691 URL: http://svn.freebsd.org/changeset/base/233691 Log: Remove trailing space. Modified: head/sys/kern/kern_umtx.c Modified: head/sys/kern/kern_umtx.c ==

svn commit: r233690 - head/sys/kern

2012-03-29 Thread David Xu
Author: davidxu Date: Fri Mar 30 05:40:26 2012 New Revision: 233690 URL: http://svn.freebsd.org/changeset/base/233690 Log: Merge umtxq_sleep and umtxq_nanosleep into a single function by using an abs_timeout structure which describes timeout info. Modified: head/sys/kern/kern_umtx.c Modifi

svn commit: r233689 - head/sys/dev/ale

2012-03-29 Thread Pyun YongHyeon
Author: yongari Date: Fri Mar 30 05:27:05 2012 New Revision: 233689 URL: http://svn.freebsd.org/changeset/base/233689 Log: Do not report current link status if driver is not running. This change also workarounds dhclient's link state handling bug by not giving current link status. Unlik

svn commit: r233688 - head/sys/dev/ale

2012-03-29 Thread Pyun YongHyeon
Author: yongari Date: Fri Mar 30 04:46:39 2012 New Revision: 233688 URL: http://svn.freebsd.org/changeset/base/233688 Log: Remove task queue based link state change handler. Driver no longer needs to defer link state handling. While I'm here, mark IFF_DRV_RUNNING before changing media. If

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

2012-03-29 Thread Dimitry Andric
Author: dim Date: Thu Mar 29 23:31:48 2012 New Revision: 233684 URL: http://svn.freebsd.org/changeset/base/233684 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 imp

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

2012-03-29 Thread Dimitry Andric
Author: dim Date: Thu Mar 29 23:30:17 2012 New Revision: 233683 URL: http://svn.freebsd.org/changeset/base/233683 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

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

2012-03-29 Thread Adrian Chadd
Author: adrian Date: Thu Mar 29 21:54:19 2012 New Revision: 233682 URL: http://svn.freebsd.org/changeset/base/233682 Log: oops, add a missing lock. Modified: head/sys/dev/ath/if_ath.c Modified: head/sys/dev/ath/if_ath.c

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

2012-03-29 Thread Joel Dahl
Author: joel (doc committer) Date: Thu Mar 29 20:55:45 2012 New Revision: 233681 URL: http://svn.freebsd.org/changeset/base/233681 Log: Fix typo from last commit. Noticed by: brueffer Modified: head/share/man/man9/locking.9 Modified: head/share/man/man9/locking.9 =

svn commit: r233680 - in head: lib/libc/rpc share/man/man9

2012-03-29 Thread Joel Dahl
Author: joel (doc committer) Date: Thu Mar 29 20:23:35 2012 New Revision: 233680 URL: http://svn.freebsd.org/changeset/base/233680 Log: Remove unnecessary Xo/Xc. Reviewed by: brueffer Modified: head/lib/libc/rpc/rpc_soc.3 head/share/man/man9/locking.9 Modified: head/lib/libc/rpc/rpc_

svn commit: r233679 - head/sbin/hastd

2012-03-29 Thread Mikolaj Golub
Author: trociny Date: Thu Mar 29 20:11:16 2012 New Revision: 233679 URL: http://svn.freebsd.org/changeset/base/233679 Log: If hastd is invoked with "-P pidfile" option always create pidfile regardless of whether -F (foreground) option is set or not. Also, if -P option is specified, ignore

svn commit: r233678 - head/sys/dev/pci

2012-03-29 Thread Jung-uk Kim
Author: jkim Date: Thu Mar 29 19:29:24 2012 New Revision: 233678 URL: http://svn.freebsd.org/changeset/base/233678 Log: Fix couple of style nits. Modified: head/sys/dev/pci/pci.c Modified: head/sys/dev/pci/pci.c == -

svn commit: r233677 - head/sys/dev/pci

2012-03-29 Thread Jung-uk Kim
Author: jkim Date: Thu Mar 29 19:26:39 2012 New Revision: 233677 URL: http://svn.freebsd.org/changeset/base/233677 Log: Revert r233662 and generalize the hack. Writing zero to BAR actually does not disable it and it is even harmful as hselasky found out. Historically, this code was origina

svn commit: r233676 - in head/sys: amd64/amd64 amd64/include dev/acpica dev/pci i386/i386 i386/include x86/pci x86/x86

2012-03-29 Thread John Baldwin
Author: jhb Date: Thu Mar 29 19:03:22 2012 New Revision: 233676 URL: http://svn.freebsd.org/changeset/base/233676 Log: Use a more proper fix for enabling HT MSI mapping windows on Host-PCI bridges. Rather than blindly enabling the windows on all of them, only enable the window when an MSI i

svn commit: r233675 - head/sys/x86/isa

2012-03-29 Thread John Baldwin
Author: jhb Date: Thu Mar 29 18:58:02 2012 New Revision: 233675 URL: http://svn.freebsd.org/changeset/base/233675 Log: Restore proper use of bounce buffers for ISA DMA. When locking was added, the call to pmap_kextract() was moved up, and as a result the code never updated the physical addr

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

2012-03-29 Thread Konstantin Belousov
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 build after r233655. > > MFC after: 1 week > > Modified: > head/libexec/rtld

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

2012-03-29 Thread Konstantin Belousov
Author: kib Date: Thu Mar 29 17:50:01 2012 New Revision: 233674 URL: http://svn.freebsd.org/changeset/base/233674 Log: Fix ia64 build after r233655. MFC after:1 week Modified: head/libexec/rtld-elf/rtld.c Modified: head/libexec/rtld-elf/rtld.c ===

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

2012-03-29 Thread Adrian Chadd
Author: adrian Date: Thu Mar 29 17:39:18 2012 New Revision: 233673 URL: http://svn.freebsd.org/changeset/base/233673 Log: Defer the rescheduling of TID -> TXQ frames in some instances. Right now ath_txq_sched() is mainly called from the TX ath_tx_processq() routine, which is (mostly) done

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

2012-03-29 Thread Joel Dahl
Author: joel (doc committer) Date: Thu Mar 29 17:04:04 2012 New Revision: 233672 URL: http://svn.freebsd.org/changeset/base/233672 Log: Put quotation marks around a string. Modified: head/share/man/man4/ulpt.4 Modified: head/share/man/man4/ulpt.4 =

svn commit: r233671 - in head/sys: amd64/include i386/include powerpc/include

2012-03-29 Thread John Baldwin
Author: jhb Date: Thu Mar 29 16:51:22 2012 New Revision: 233671 URL: http://svn.freebsd.org/changeset/base/233671 Log: - Rename VM_MEMATTR_UNCACHED to VM_MEMATTR_WEAK_UNCACHEABLE on x86 to be less ambiguous and more clearly identify what it means. This attribute is what Intel refers to

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

2012-03-29 Thread John Baldwin
Author: jhb Date: Thu Mar 29 16:48:36 2012 New Revision: 233670 URL: http://svn.freebsd.org/changeset/base/233670 Log: Use VM_MEMATTR_UNCACHEABLE for the constant for UC memory rather than VM_MEMATTR_UNCACHED. VM_MEMATTR_UNCACHEABLE is the constant other platforms use. MFC after:2

svn commit: r233669 - head/lib/libc/sys

2012-03-29 Thread Joel Dahl
Author: joel (doc committer) Date: Thu Mar 29 16:20:20 2012 New Revision: 233669 URL: http://svn.freebsd.org/changeset/base/233669 Log: mdoc: Ud takes no argument. Modified: head/lib/libc/sys/kse.2 Modified: head/lib/libc/sys/kse.2

svn commit: r233667 - in head: lib/libusb usr.bin/rctl

2012-03-29 Thread Joel Dahl
Author: joel (doc committer) Date: Thu Mar 29 16:07:22 2012 New Revision: 233667 URL: http://svn.freebsd.org/changeset/base/233667 Log: Remove superfluous paragraph macro. Modified: head/lib/libusb/libusb20.3 head/usr.bin/rctl/rctl.8 Modified: head/lib/libusb/libusb20.3 ===

svn commit: r233666 - head/sys/boot/powerpc/ps3

2012-03-29 Thread Nathan Whitehorn
Author: nwhitehorn Date: Thu Mar 29 16:04:42 2012 New Revision: 233666 URL: http://svn.freebsd.org/changeset/base/233666 Log: Fix build after changes to trap headers. Modified: head/sys/boot/powerpc/ps3/start.S Modified: head/sys/boot/powerpc/ps3/start.S =

svn commit: r233665 - in head: bin/ps lib/libc/posix1e lib/libc/sys lib/libutil usr.bin/rctl

2012-03-29 Thread Joel Dahl
Author: joel (doc committer) Date: Thu Mar 29 16:02:40 2012 New Revision: 233665 URL: http://svn.freebsd.org/changeset/base/233665 Log: mandoc complains loudly when s are misused in columnated lists. Fix this syntax violation and while I'm here also convert to Ta and adjust quotation marks

svn commit: r233664 - in head/sys: dev/syscons sys

2012-03-29 Thread Hans Petter Selasky
Author: hselasky Date: Thu Mar 29 15:47:29 2012 New Revision: 233664 URL: http://svn.freebsd.org/changeset/base/233664 Log: Move tty_opened_ns() into syscons.c which is currently the only client of this macro. Suggested by: ed @ MFC after:1 week Modified: head/sys/dev/syscons/sys

svn commit: r233663 - head/sys/dev/isci/scil

2012-03-29 Thread Jim Harris
Author: jimharris Date: Thu Mar 29 15:43:07 2012 New Revision: 233663 URL: http://svn.freebsd.org/changeset/base/233663 Log: Fix bug where isci(4) would report only 15 bytes of returned data on a READ_CAP_16 command to a SATA target. Sponsored by: Intel Reviewed by: sbruno Approved by

svn commit: r233662 - head/sys/dev/pci

2012-03-29 Thread Hans Petter Selasky
Author: hselasky Date: Thu Mar 29 15:33:44 2012 New Revision: 233662 URL: http://svn.freebsd.org/changeset/base/233662 Log: Fix for boot issue: Don't disable BARs on AGP devices. In general: Don't disable BARs on any PCI display devices, because doing that can sometimes cause the main memory

Re: svn commit: r233661 - in head/sys: dev/syscons sys

2012-03-29 Thread Hans Petter Selasky
On Thursday 29 March 2012 16:59:45 Ed Schouten wrote: > * Hans Petter Selasky , 20120329 16:53: > > Modified: head/sys/sys/tty.h > > = > > = --- head/sys/sys/tty.hThu Mar 29 13:36:53 2012

Re: svn commit: r233661 - in head/sys: dev/syscons sys

2012-03-29 Thread Ed Schouten
* Hans Petter Selasky , 20120329 16:53: > Modified: head/sys/sys/tty.h > == > --- head/sys/sys/tty.hThu Mar 29 13:36:53 2012(r233660) > +++ head/sys/sys/tty.hThu Mar 29 14:53:14 2012

svn commit: r233661 - in head/sys: dev/syscons sys

2012-03-29 Thread Hans Petter Selasky
Author: hselasky Date: Thu Mar 29 14:53:14 2012 New Revision: 233661 URL: http://svn.freebsd.org/changeset/base/233661 Log: Fix for NULL-pointer panic during boot, if keys are pressed too early. MFC after:1 week Modified: head/sys/dev/syscons/syscons.c head/sys/sys/tty.h Modified:

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

2012-03-29 Thread Jaakko Heinonen
Hi, On 2012-03-24, Dimitry Andric wrote: > Fix the following clang warning in sys/dev/dcons/dcons.c, caused by the > recent changes in sys/x86/include/endian.h: > > sys/dev/dcons/dcons.c:190:15: error: implicit conversion from > '__uint32_t' (aka 'unsigned int') to '__uint16_t' (aka '

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-29 Thread Baptiste Daroussin
On Thu, Mar 29, 2012 at 03:42:25PM +0200, Ivan Voras wrote: > On 29 March 2012 13:32, Julien Laffaye wrote: > > > Just a reminder: pkgng does not install libsqlite3.so, the libpkg.so is > > statically linked against libsqlite3.a > > Well, now it doesn't need to be. > > (sqlite doesn't introduce

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-29 Thread Ivan Voras
On 29 March 2012 13:32, Julien Laffaye wrote: > Just a reminder: pkgng does not install libsqlite3.so, the libpkg.so is > statically linked against libsqlite3.a Well, now it doesn't need to be. (sqlite doesn't introduce new ground-breaking features more often than FreeBSD does releases, and its

svn commit: r233660 - head/sys/netinet

2012-03-29 Thread Randall Stewart
Author: rrs Date: Thu Mar 29 13:36:53 2012 New Revision: 233660 URL: http://svn.freebsd.org/changeset/base/233660 Log: Make stream our stream reset implementation compliant to RFC6525. MFC after:1 month Modified: head/sys/netinet/sctp.h head/sys/netinet/sctp_constants.h head/sy

svn commit: r233657 - head/sys/mips/nlm/dev/net/ucore

2012-03-29 Thread Jayachandran C.
Author: jchandra Date: Thu Mar 29 11:46:29 2012 New Revision: 233657 URL: http://svn.freebsd.org/changeset/base/233657 Log: Remove unnecessary assembly code. The compiler should generate lw/sw corresponding to register operations. Modified: head/sys/mips/nlm/dev/net/ucore/ucore.h hea

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-29 Thread Julien Laffaye
On 03/27/2012 11:10 PM, Ivan Voras wrote: On 25 March 2012 12:59, Slawa Olhovchenkov wrote: On Thu, Mar 22, 2012 at 08:48:44AM +, Stanislav Sedov wrote: - Heimdal's KDC now require sqlite to operate. We use the bundled version and install it as libheimsqlite. If some other FreeB

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-29 Thread Julien Laffaye
On 03/29/2012 01:16 PM, 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 least a step

svn commit: r233656 - head/sbin/growfs

2012-03-29 Thread Edward Tomasz Napierala
Author: trasz Date: Thu Mar 29 11:20:19 2012 New Revision: 233656 URL: http://svn.freebsd.org/changeset/base/233656 Log: Remove disklabel handling code from growfs. This should be done via geom_part(4), and it doesn't belong in growfs anyway. Reviewed by: kib, mckusick Sponsored by: T

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-29 Thread David Chisnall
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 least a step in the > right direction. Wait... what?

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-29 Thread Slawa Olhovchenkov
On Wed, Mar 28, 2012 at 08:36:00PM -0700, Doug Barton wrote: > On 3/27/2012 2:10 PM, Ivan Voras wrote: > > It will help both present > > development (the pkgng is also AFAIK using sqlite) > > All of the stuff that pkgng relies on (including the tool itself) are > going to be in the ports collecti

svn commit: r233655 - head/libexec/rtld-elf

2012-03-29 Thread Konstantin Belousov
Author: kib Date: Thu Mar 29 10:32:34 2012 New Revision: 233655 URL: http://svn.freebsd.org/changeset/base/233655 Log: Import DragonFly BSD commit From: Sascha Wildner Date: Fri, 2 Mar 2012 09:15:56 + (+0100) Subject: rtld: Add a special case in do_dlsym() for TLS stored symb

svn commit: r233652 - head/sys/geom/part

2012-03-29 Thread Andrey V. Elsukov
Author: ae Date: Thu Mar 29 07:29:27 2012 New Revision: 233652 URL: http://svn.freebsd.org/changeset/base/233652 Log: VMDB offset should be greater than logical volume size only for MBR. Modified: head/sys/geom/part/g_part_ldm.c Modified: head/sys/geom/part/g_part_ldm.c =