svn commit: r214774 - in head/sys: amd64/amd64 i386/i386

2010-11-04 Thread Andriy Gapon
Author: avg Date: Thu Nov 4 08:51:45 2010 New Revision: 214774 URL: http://svn.freebsd.org/changeset/base/214774 Log: x86 topo_probe: do not probe smp topology if only one cpu is visible This could lead to a division by zero if hardware is multi-core and/or multi-threaded, but for some

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

2010-11-04 Thread Konstantin Belousov
Author: kib Date: Thu Nov 4 09:19:14 2010 New Revision: 214776 URL: http://svn.freebsd.org/changeset/base/214776 Log: Fix style. MFC after:6 days Modified: head/libexec/rtld-elf/rtld.c Modified: head/libexec/rtld-elf/rtld.c

svn commit: r214781 - head/sbin/camcontrol

2010-11-04 Thread Bruce Cran
Author: brucec Date: Thu Nov 4 15:24:32 2010 New Revision: 214781 URL: http://svn.freebsd.org/changeset/base/214781 Log: Fix standby timer calculation: the timer was being set 30 minutes later than the user requested. Also, 21 minutes is encoded as 252 and 22-29 minutes cannot be encoded

svn commit: r214782 - head/sys/vm

2010-11-04 Thread John Baldwin
Author: jhb Date: Thu Nov 4 15:33:50 2010 New Revision: 214782 URL: http://svn.freebsd.org/changeset/base/214782 Log: Update startup_alloc() to support multi-page allocations and allow internal zones whose objects are larger than a page to use startup_alloc(). This allows allocation of

svn commit: r214798 - head/sys/compat/ndis

2010-11-04 Thread Bernhard Schmidt
Author: bschmidt Date: Thu Nov 4 18:43:57 2010 New Revision: 214798 URL: http://svn.freebsd.org/changeset/base/214798 Log: Remove 4.x, 5.x and 6.x compatibility bits. Submitted by: Paul B Mahol onemda at gmail.com Modified: head/sys/compat/ndis/kern_ndis.c

svn commit: r214800 - in head/sys/dev/usb: . quirk

2010-11-04 Thread Hans Petter Selasky
Author: hselasky Date: Thu Nov 4 19:05:35 2010 New Revision: 214800 URL: http://svn.freebsd.org/changeset/base/214800 Log: Add new USB quirk. Submitted by: Dmitry Luhtionov Approved by: thompsa (mentor) Modified: head/sys/dev/usb/quirk/usb_quirk.c head/sys/dev/usb/usbdevs

svn commit: r214804 - head/sys/dev/usb

2010-11-04 Thread Hans Petter Selasky
Author: hselasky Date: Thu Nov 4 19:24:21 2010 New Revision: 214804 URL: http://svn.freebsd.org/changeset/base/214804 Log: Add code to warm reset a USB 3.0 port. Approved by: thompsa (mentor) Modified: head/sys/dev/usb/usb_request.c head/sys/dev/usb/usb_request.h Modified:

Re: svn commit: r214781 - head/sbin/camcontrol

2010-11-04 Thread Bruce Cran
On Thu, 04 Nov 2010 19:49:24 +0200 Alexander Motin m...@freebsd.org wrote: This will round period down. You will get 30 minutes instead of 59. In this case rounding up IMHO more appropriate. I agree that previous rounding up was over aggressive. I would prefer something like: sc

Re: svn commit: r214781 - head/sbin/camcontrol

2010-11-04 Thread Alexander Motin
Bruce Cran wrote: On Thu, 04 Nov 2010 19:49:24 +0200 Alexander Motin m...@freebsd.org wrote: This will round period down. You will get 30 minutes instead of 59. In this case rounding up IMHO more appropriate. I agree that previous rounding up was over aggressive. I would prefer something

svn commit: r214807 - head/sbin/camcontrol

2010-11-04 Thread Bruce Cran
Author: brucec Date: Thu Nov 4 20:31:12 2010 New Revision: 214807 URL: http://svn.freebsd.org/changeset/base/214807 Log: r214781 caused the timer value to be rounded down, so that if the user asked for 59 minutes 30 was sent to the drive. The timer value is now always rounded up.

svn commit: r214808 - head/share/man/man4/man4.sparc64

2010-11-04 Thread Ulrich Spoerlein
Author: uqs Date: Thu Nov 4 21:03:50 2010 New Revision: 214808 URL: http://svn.freebsd.org/changeset/base/214808 Log: In man section 4, ERRORS is spelled DIAGNOSTICS Modified: head/share/man/man4/man4.sparc64/openfirm.4 head/share/man/man4/man4.sparc64/openprom.4 Modified:

svn commit: r214809 - head/sys/dev/usb

2010-11-04 Thread Nick Hibma
Author: n_hibma Date: Thu Nov 4 21:06:36 2010 New Revision: 214809 URL: http://svn.freebsd.org/changeset/base/214809 Log: Don't terminate the notification with \n. This is done in usb_device.c:devctl_notify_f(). Modified: head/sys/dev/usb/usb_device.c Modified:

svn commit: r214817 - head/sys/teken

2010-11-04 Thread Ed Schouten
Author: ed Date: Fri Nov 5 00:56:21 2010 New Revision: 214817 URL: http://svn.freebsd.org/changeset/base/214817 Log: Partially implement the mysterious cons25 \e[x escape sequence. It seems the terminfo library on some systems (OS X, Linux) may emit the sequence \e[x to reset to default

Re: svn commit: r214817 - head/sys/teken

2010-11-04 Thread Alexander Best
On Fri Nov 5 10, Ed Schouten wrote: Author: ed Date: Fri Nov 5 00:56:21 2010 New Revision: 214817 URL: http://svn.freebsd.org/changeset/base/214817 Log: Partially implement the mysterious cons25 \e[x escape sequence. It seems the terminfo library on some systems (OS X, Linux)