svn commit: r242346 - in head/sys/mips/cavium: . octe

2012-10-29 Thread Juli Mallett
Author: jmallett Date: Tue Oct 30 06:36:14 2012 New Revision: 242346 URL: http://svn.freebsd.org/changeset/base/242346 Log: Actually check board type rather than using a specialized octeon_is_simulation function. Modified: head/sys/mips/cavium/octe/ethernet-common.c head/sys/mips/cavium/o

svn commit: r242345 - head/sys/mips/cavium

2012-10-29 Thread Juli Mallett
Author: jmallett Date: Tue Oct 30 06:29:17 2012 New Revision: 242345 URL: http://svn.freebsd.org/changeset/base/242345 Log: Remove oct_read64 and oct_write64 and use their equivalents from the Simple Executive, which are used everywhere else in the Octeon port. While here, remove other unus

svn commit: r242344 - head/sys/mips/cavium

2012-10-29 Thread Juli Mallett
Author: jmallett Date: Tue Oct 30 06:19:46 2012 New Revision: 242344 URL: http://svn.freebsd.org/changeset/base/242344 Log: Remove stale declarations. Modified: head/sys/mips/cavium/octeon_machdep.c Modified: head/sys/mips/cavium/octeon_machdep.c =

svn commit: r242343 - head/sys/arm/lpc

2012-10-29 Thread Andrew Turner
Author: andrew Date: Tue Oct 30 06:11:09 2012 New Revision: 242343 URL: http://svn.freebsd.org/changeset/base/242343 Log: Move the call to platform_gpio_init() into initarm_gpio_init() to reduce the diff to the other FDT versions of initarm. Modified: head/sys/arm/lpc/lpc_machdep.c Modifie

svn commit: r242342 - in head/sys: contrib/octeon-sdk mips/cavium

2012-10-29 Thread Juli Mallett
Author: jmallett Date: Tue Oct 30 06:07:30 2012 New Revision: 242342 URL: http://svn.freebsd.org/changeset/base/242342 Log: Speed feature tests and initialize helper configuration that some CPUs require. Modified: head/sys/contrib/octeon-sdk/octeon-feature.c head/sys/contrib/octeon-sdk/oct

Re: svn commit: r242161 - in head/sys: net netinet netpfil/pf

2012-10-29 Thread YongHyeon PYUN
On Mon, Oct 29, 2012 at 09:20:59AM +0100, Andre Oppermann wrote: > On 29.10.2012 22:40, YongHyeon PYUN wrote: > >On Mon, Oct 29, 2012 at 09:21:00AM +0400, Gleb Smirnoff wrote: > >>On Mon, Oct 29, 2012 at 01:41:04PM -0700, YongHyeon PYUN wrote: > >>Y> On Sun, Oct 28, 2012 at 02:01:37AM +0400, Gleb S

svn commit: r242333 - head/sys/dev/uart

2012-10-29 Thread Oleksandr Tymoshenko
Author: gonzo Date: Tue Oct 30 01:52:49 2012 New Revision: 242333 URL: http://svn.freebsd.org/changeset/base/242333 Log: Separate interrupts enable/disable logic from setting port parameters. Otherwise setting baud rate in TTY mode effectively disables TX/RX interrupts and renders port unusa

svn commit: r242332 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2012-10-29 Thread Xin LI
Author: delphij Date: Tue Oct 30 01:29:45 2012 New Revision: 242332 URL: http://svn.freebsd.org/changeset/base/242332 Log: s/dettach/detach/g Approved by: pjd MFC after:1 month Modified: head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_geom.c Modified: head/sys/cddl/contr

svn commit: r242328 - head/sys/geom/raid

2012-10-29 Thread Alexander Motin
Author: mav Date: Mon Oct 29 21:08:06 2012 New Revision: 242328 URL: http://svn.freebsd.org/changeset/base/242328 Log: Minor addition to r242323: Alike to BIO_WRITE, report success if at least one subdisk succeeded with BIO_DELETE. But unlike BIO_WRITE don't fail disk on BIO_DELETE error.

svn commit: r242327 - in head/sys: netinet netinet6

2012-10-29 Thread Michael Tuexen
Author: tuexen Date: Mon Oct 29 20:47:32 2012 New Revision: 242327 URL: http://svn.freebsd.org/changeset/base/242327 Log: Whitespace changes due to upstream integration of SCTP changes in the FreeBSD code base. Modified: head/sys/netinet/sctp_uio.h head/sys/netinet/sctp_var.h head/sys/n

svn commit: r242326 - head/sys/netinet

2012-10-29 Thread Michael Tuexen
Author: tuexen Date: Mon Oct 29 20:44:29 2012 New Revision: 242326 URL: http://svn.freebsd.org/changeset/base/242326 Log: Add braces (as used elsewhere in the SCTP code). Modified: head/sys/netinet/sctp_output.c Modified: head/sys/netinet/sctp_output.c ===

svn commit: r242325 - head/sys/netinet

2012-10-29 Thread Michael Tuexen
Author: tuexen Date: Mon Oct 29 20:42:48 2012 New Revision: 242325 URL: http://svn.freebsd.org/changeset/base/242325 Log: Use ntohs() and htons() in correct order. However, this doesn't change functionality. Modified: head/sys/netinet/sctputil.c Modified: head/sys/netinet/sctputil.c ==

svn commit: r242324 - head/lib/libutil

2012-10-29 Thread Baptiste Daroussin
Author: bapt Date: Mon Oct 29 18:06:09 2012 New Revision: 242324 URL: http://svn.freebsd.org/changeset/base/242324 Log: backout r242319, racy and not done in the right place Reported by: Garrett Cooper Modified: head/lib/libutil/gr_util.c head/lib/libutil/pw_util.c Modified: head/l

svn commit: r242323 - head/sys/geom/raid

2012-10-29 Thread Alexander Motin
Author: mav Date: Mon Oct 29 18:04:38 2012 New Revision: 242323 URL: http://svn.freebsd.org/changeset/base/242323 Log: Add basic BIO_DELETE support to GEOM RAID class for all RAID levels. If at least one subdisk in the volume supports it, BIO_DELETE requests will be propagated down. Unfo

svn commit: r242322 - in head/sys: cam/scsi geom

2012-10-29 Thread Edward Tomasz Napierala
Author: trasz Date: Mon Oct 29 17:52:43 2012 New Revision: 242322 URL: http://svn.freebsd.org/changeset/base/242322 Log: Fix locking problem in disk_resize(); previously it would run without topology lock, resulting in assertion when running with DIAGNOSTIC. Reviewed by: mav (earlier ver

svn commit: r242321 - in head/sys: arm/broadcom/bcm2835 arm/conf dev/mmc

2012-10-29 Thread Oleksandr Tymoshenko
Author: gonzo Date: Mon Oct 29 17:23:45 2012 New Revision: 242321 URL: http://svn.freebsd.org/changeset/base/242321 Log: Add BCM2835 SDHCI driver and enable it in Raspberry Pi config Added: head/sys/arm/broadcom/bcm2835/bcm2835_sdhci.c (contents, props changed) Modified: head/sys/arm/broa

svn commit: r242320 - head/sys/dev/sdhci

2012-10-29 Thread Oleksandr Tymoshenko
Author: gonzo Date: Mon Oct 29 17:21:58 2012 New Revision: 242320 URL: http://svn.freebsd.org/changeset/base/242320 Log: Add new quirks: - Data timeout is broken - Data timeout uses SD clock - Capabilities register is unavailable Add calculations for clock divisor for SDHCI 3.0

svn commit: r242319 - head/lib/libutil

2012-10-29 Thread Baptiste Daroussin
Author: bapt Date: Mon Oct 29 17:19:43 2012 New Revision: 242319 URL: http://svn.freebsd.org/changeset/base/242319 Log: make pw_init and gr_init fail if the specified master password or group file is a directory. MFC after:1 month Modified: head/lib/libutil/gr_util.c head/lib/li

Re: svn commit: r242314 - head/sys/geom/raid

2012-10-29 Thread Alexander Motin
On 29.10.2012 16:27, Andriy Gapon wrote: on 29/10/2012 16:18 Alexander Motin said the following: Author: mav Date: Mon Oct 29 14:18:54 2012 New Revision: 242314 URL: http://svn.freebsd.org/changeset/base/242314 Log: Make GEOM RAID more aggressive in marking volumes as clean on shutdown an

Re: svn commit: r242314 - head/sys/geom/raid

2012-10-29 Thread Andriy Gapon
on 29/10/2012 16:18 Alexander Motin said the following: > Author: mav > Date: Mon Oct 29 14:18:54 2012 > New Revision: 242314 > URL: http://svn.freebsd.org/changeset/base/242314 > > Log: > Make GEOM RAID more aggressive in marking volumes as clean on shutdown > and move that action from shutdo

svn commit: r242315 - head/sys/powerpc/powermac

2012-10-29 Thread Nathan Whitehorn
Author: nwhitehorn Date: Mon Oct 29 14:27:28 2012 New Revision: 242315 URL: http://svn.freebsd.org/changeset/base/242315 Log: Work around broken device tree on last-generation PowerPC iMacs (PowerMac12,1), which have a mac-io MPIC cell that indifies itself as the root PIC despite the actual

svn commit: r242314 - head/sys/geom/raid

2012-10-29 Thread Alexander Motin
Author: mav Date: Mon Oct 29 14:18:54 2012 New Revision: 242314 URL: http://svn.freebsd.org/changeset/base/242314 Log: Make GEOM RAID more aggressive in marking volumes as clean on shutdown and move that action from shutdown_pre_sync to shutdown_post_sync stage to avoid extra flapping.

Re: svn commit: r242251 - head/sys/netinet

2012-10-29 Thread Andre Oppermann
On 28.10.2012 18:30, Andre Oppermann wrote: Author: andre Date: Sun Oct 28 17:30:28 2012 New Revision: 242251 URL: http://svn.freebsd.org/changeset/base/242251 Log: When SYN or SYN/ACK had to be retransmitted RFC5681 requires us to reduce the initial CWND to one segment. This reduction go

svn commit: r242311 - head/sys/netinet

2012-10-29 Thread Andre Oppermann
Author: andre Date: Mon Oct 29 13:16:33 2012 New Revision: 242311 URL: http://svn.freebsd.org/changeset/base/242311 Log: Forced commit to provide the correct commit message to r242251: Defer sending an independent window update if a delayed ACK is pending saving a packet. The window

Re: svn commit: r242274 - head/sys/sys

2012-10-29 Thread Attilio Rao
On 10/29/12, Gleb Smirnoff wrote: > On Mon, Oct 29, 2012 at 01:35:17AM +, Attilio Rao wrote: > A> Author: attilio > A> Date: Mon Oct 29 01:35:17 2012 > A> New Revision: 242274 > A> URL: http://svn.freebsd.org/changeset/base/242274 > A> > A> Log: > A> Compiler have a precise knowledge of the

svn commit: r242309 - head/sys/kern

2012-10-29 Thread Andre Oppermann
Author: andre Date: Mon Oct 29 12:31:12 2012 New Revision: 242309 URL: http://svn.freebsd.org/changeset/base/242309 Log: In soreceive_stream() don't drop an already dequeued mbuf chain by overwriting the return mbuf pointer with newly received data after a loop. Instead append the new mbuf

svn commit: r242308 - head/sys/netinet

2012-10-29 Thread Andre Oppermann
Author: andre Date: Mon Oct 29 12:17:02 2012 New Revision: 242308 URL: http://svn.freebsd.org/changeset/base/242308 Log: Define the delayed ACK timeout value directly as hz/10 instead of obfuscating it by going through PR_FASTHZ. No functional change. MFC after:2 weeks Modified: h

svn commit: r242306 - head/sys/kern

2012-10-29 Thread Andre Oppermann
Author: andre Date: Mon Oct 29 12:14:57 2012 New Revision: 242306 URL: http://svn.freebsd.org/changeset/base/242306 Log: Add logging for socket attach failures in sonewconn() during accept(2). Include the pointer to the PCB so it can be attributed to a particular application by corresponding

svn commit: r242305 - head/sys/dev/acpi_support

2012-10-29 Thread Baptiste Daroussin
Author: bapt Date: Mon Oct 29 10:22:00 2012 New Revision: 242305 URL: http://svn.freebsd.org/changeset/base/242305 Log: add support for newer Lenovo ThinkPads to acpi_ibm PR: kern/164538 Submitted by: Pierre Imai MFC after:2 weeks Modified: head/sys/dev/acpi_support/ac

svn commit: r242304 - head/sys/kern

2012-10-29 Thread Kevin Lo
Author: kevlo Date: Mon Oct 29 10:04:28 2012 New Revision: 242304 URL: http://svn.freebsd.org/changeset/base/242304 Log: Since the macro dtom() has been removed, fix comments about the dtom. Reviewed by: glebius Modified: head/sys/kern/kern_mbuf.c head/sys/kern/uipc_mbuf.c Modified:

Re: svn commit: r242161 - in head/sys: net netinet netpfil/pf

2012-10-29 Thread Andre Oppermann
On 29.10.2012 22:40, YongHyeon PYUN wrote: On Mon, Oct 29, 2012 at 09:21:00AM +0400, Gleb Smirnoff wrote: On Mon, Oct 29, 2012 at 01:41:04PM -0700, YongHyeon PYUN wrote: Y> On Sun, Oct 28, 2012 at 02:01:37AM +0400, Gleb Smirnoff wrote: Y> > On Sat, Oct 27, 2012 at 12:58:52PM +0200, Andre Opperma

svn commit: r242302 - head/sys/mips/cavium

2012-10-29 Thread Juli Mallett
Author: jmallett Date: Mon Oct 29 07:06:23 2012 New Revision: 242302 URL: http://svn.freebsd.org/changeset/base/242302 Log: Add a sysctl to change the LED display. Modified: head/sys/mips/cavium/octeon_machdep.c Modified: head/sys/mips/cavium/octeon_machdep.c