svn commit: r215449 - head/sys/dev/ata/chipsets

2010-11-18 Thread Alexander Motin
Author: mav Date: Thu Nov 18 08:03:40 2010 New Revision: 215449 URL: http://svn.freebsd.org/changeset/base/215449 Log: Some VIA SATA controllers provide access to non-standard SATA registers via PCI config space. Use them to implement hot-plug and link speed reporting. Tested on ASRock PV530

svn commit: r215450 - head/lib/libusb

2010-11-18 Thread Hans Petter Selasky
Author: hselasky Date: Thu Nov 18 08:32:47 2010 New Revision: 215450 URL: http://svn.freebsd.org/changeset/base/215450 Log: Correct description of the return values of the LibUSB v1.0 libusb_control_transfer() function. PR: usb/151851 Submitted by: HIROSHI OOTA Approved by:

svn commit: r215451 - head/sys/dev/ata/chipsets

2010-11-18 Thread Alexander Motin
Author: mav Date: Thu Nov 18 10:34:18 2010 New Revision: 215451 URL: http://svn.freebsd.org/changeset/base/215451 Log: Record that there is no devices if SATA reset found none. Modified: head/sys/dev/ata/chipsets/ata-via.c Modified: head/sys/dev/ata/chipsets/ata-via.c ===

svn commit: r215453 - head/sys/dev/ata

2010-11-18 Thread Alexander Motin
Author: mav Date: Thu Nov 18 11:58:17 2010 New Revision: 215453 URL: http://svn.freebsd.org/changeset/base/215453 Log: Even if we are skipping SATA hard reset - set power management bits in SControl register. This should make things consistent and help to avoid unexpected PHY events that I'v

Re: svn commit: r215427 - head/sys/crypto/aesni

2010-11-18 Thread Pawel Jakub Dawidek
On Wed, Nov 17, 2010 at 04:17:15PM +, Konstantin Belousov wrote: > Author: kib > Date: Wed Nov 17 16:17:15 2010 > New Revision: 215427 > URL: http://svn.freebsd.org/changeset/base/215427 > > Log: > Only save FPU context when not executing in the context of the crypto > thread. Is this jus

svn commit: r215454 - head/sys/cam/ata

2010-11-18 Thread Alexander Motin
Author: mav Date: Thu Nov 18 13:38:33 2010 New Revision: 215454 URL: http://svn.freebsd.org/changeset/base/215454 Log: If HBA doesn't report user-enabled SATA capabilies (like ATA_CAM wrapper) - handle all of them as disabled. This was original cause of the problem, workarounded by r215453.

Re: svn commit: r215427 - head/sys/crypto/aesni

2010-11-18 Thread Kostik Belousov
On Thu, Nov 18, 2010 at 02:24:17PM +0100, Pawel Jakub Dawidek wrote: > On Wed, Nov 17, 2010 at 04:17:15PM +, Konstantin Belousov wrote: > > Author: kib > > Date: Wed Nov 17 16:17:15 2010 > > New Revision: 215427 > > URL: http://svn.freebsd.org/changeset/base/215427 > > > > Log: > > Only save

svn commit: r215455 - in head: . cddl

2010-11-18 Thread Mark Murray
Author: markm Date: Thu Nov 18 16:32:52 2010 New Revision: 215455 URL: http://svn.freebsd.org/changeset/base/215455 Log: Do not lint code beyond necessity (with apologies to Wiliam of Ockham). Don't lint externally maintained CDDL code, or relint the 32-bit libraries in amd64 mode. Modif

svn commit: r215459 - head/sys/dev/mii

2010-11-18 Thread Marius Strobl
Author: marius Date: Thu Nov 18 17:58:59 2010 New Revision: 215459 URL: http://svn.freebsd.org/changeset/base/215459 Log: Fix a bug introduced with r215298; when atphy_reset() is called from atphy_attach() the current media has not been set, yet, leading to a NULL-dereference in atphy_setmed

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

2010-11-18 Thread Alexander Motin
Author: mav Date: Thu Nov 18 18:09:25 2010 New Revision: 215462 URL: http://svn.freebsd.org/changeset/base/215462 Log: Add VIA VX900 to the list of supported chipsets. Modified: head/share/man/man4/ata.4 Modified: head/share/man/man4/ata.4

svn commit: r215463 - head/contrib/ipfilter/man

2010-11-18 Thread Mark Murray
Author: markm Date: Thu Nov 18 18:22:58 2010 New Revision: 215463 URL: http://svn.freebsd.org/changeset/base/215463 Log: Fix paths for example files. Modified: head/contrib/ipfilter/man/ipnat.8 head/contrib/ipfilter/man/mkfilters.1 Modified: head/contrib/ipfilter/man/ipnat.8 ==

svn commit: r215468 - head/sys/dev/ata

2010-11-18 Thread Alexander Motin
Author: mav Date: Thu Nov 18 19:28:45 2010 New Revision: 215468 URL: http://svn.freebsd.org/changeset/base/215468 Log: Make ATA_CAM wrapper to report SATA power management capabilities to CAM to make it configure device to initiate transitions if controller configured to accept them. This ma

svn commit: r215469 - head/sys/vm

2010-11-18 Thread Konstantin Belousov
Author: kib Date: Thu Nov 18 20:46:28 2010 New Revision: 215469 URL: http://svn.freebsd.org/changeset/base/215469 Log: Only increment object generation count when inserting the page into object page list. The only use of object generation count now is a restart of the scan in vm_object_page

svn commit: r215470 - head/sys/i386/xen

2010-11-18 Thread Colin Percival
Author: cperciva Date: Thu Nov 18 21:02:40 2010 New Revision: 215470 URL: http://svn.freebsd.org/changeset/base/215470 Log: Don't KASSERT in pmap_release that xpmap_ptom(VM_PAGE_TO_PHYS(m)) == (pmap->pm_pdpt[i] & PG_FRAME) for i = NPGPTD, since pmap->pm_pdpt[i] is only initialized for 0

svn commit: r215471 - head/sys/vm

2010-11-18 Thread Konstantin Belousov
Author: kib Date: Thu Nov 18 21:09:02 2010 New Revision: 215471 URL: http://svn.freebsd.org/changeset/base/215471 Log: vm_pageout_flush() might cache the pages that finished write to the backing storage. Such pages might be then reused, racing with the assert in vm_object_page_collect_flush(

svn commit: r215472 - head/sys/i386/xen

2010-11-18 Thread Colin Percival
Author: cperciva Date: Thu Nov 18 21:29:43 2010 New Revision: 215472 URL: http://svn.freebsd.org/changeset/base/215472 Log: Make pmap_release match pmap_pinit by invoking pmap_qremove(pmap->pm_pdpt) to match pmap_pinit's pmap_qenter(pmap->pm_pdpt) call in the case of PAE. Modified: head/sys

svn commit: r215473 - in head/sys/dev: acpica atkbdc

2010-11-18 Thread John Baldwin
Author: jhb Date: Thu Nov 18 22:17:20 2010 New Revision: 215473 URL: http://svn.freebsd.org/changeset/base/215473 Log: Various small typos and grammar nits in comments. Modified: head/sys/dev/acpica/acpi_hpet.c head/sys/dev/atkbdc/psm.c Modified: head/sys/dev/acpica/acpi_hpet.c ===

svn commit: r215474 - head/usr.bin/netstat

2010-11-18 Thread Ryan Stone
Author: rstone Date: Thu Nov 18 23:46:55 2010 New Revision: 215474 URL: http://svn.freebsd.org/changeset/base/215474 Log: When netstat was run with -i/-I and -w1 to produce running counters, the idrop field printed an absolute value rather than the delta from the last value Approved by:

svn commit: r215507 - head/sbin/camcontrol

2010-11-18 Thread Ryan Stone
Author: rstone Date: Fri Nov 19 03:47:10 2010 New Revision: 215507 URL: http://svn.freebsd.org/changeset/base/215507 Log: When doing a camcontrol rescan all or a camcontrol reset all, use the wildcard path id for enumerating the available busses. Previously camcontrol was implicitly passing

svn commit: r215508 - head/sys/vm

2010-11-18 Thread Max Laier
Author: mlaier Date: Fri Nov 19 04:30:33 2010 New Revision: 215508 URL: http://svn.freebsd.org/changeset/base/215508 Log: Off by one page in vm_reserv_reclaim_contig(): Also reclaim reservations with only a single free page if that satisfies the requested size. MFC after:3 days Revi