Re: svn commit: r213270 - head/etc/rc.d

2010-09-29 Thread Doug Barton
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 9/29/2010 6:08 AM, Ed Maste wrote: | Author: emaste | Date: Wed Sep 29 13:08:23 2010 | New Revision: 213270 | URL: http://svn.freebsd.org/changeset/base/213270 | | Log: |/etc/rc.d/defaultroute currently bails immediately if all interfaces |

svn commit: r213293 - in stable/8/sys/dev: ahci mvs siis

2010-09-29 Thread Alexander Motin
Author: mav Date: Thu Sep 30 04:23:03 2010 New Revision: 213293 URL: http://svn.freebsd.org/changeset/base/213293 Log: MFC r212732: Fix panic, when due to some kind of congestion on FIS-based switching port multiplier some command triggers false positive timeout, but then completes normall

svn commit: r213292 - stable/8/sys/boot/ofw/libofw

2010-09-29 Thread Nathan Whitehorn
Author: nwhitehorn Date: Thu Sep 30 04:06:16 2010 New Revision: 213292 URL: http://svn.freebsd.org/changeset/base/213292 Log: MFC r212165: In the case of non-sequential mappings, ofw_mapmem() could ask Open Firmware to map a memory region with negative length, causing crashes and Undefi

svn commit: r213291 - in stable/8/sys/dev/ata: . chipsets

2010-09-29 Thread Nathan Whitehorn
Author: nwhitehorn Date: Thu Sep 30 04:03:14 2010 New Revision: 213291 URL: http://svn.freebsd.org/changeset/base/213291 Log: MFC r212359: Fix a problem where device detection would work unreliably on Serverworks K2 SATA controllers. The chip's status register must be read first, and as

Re: svn commit: r213281 - head/lib/libc/amd64/gen

2010-09-29 Thread Bruce Evans
On Wed, 29 Sep 2010, Jung-uk Kim wrote: On Wednesday 29 September 2010 05:20 pm, Dimitry Andric wrote: Log: Apply the same workaround for clang to amd64's version of ldexp.c (as in r212976): order the incoming arguments to fscale as st(0), st(1), and mark temp2 volatile (only in case of compi

svn commit: r213290 - head/include

2010-09-29 Thread David Xu
Author: davidxu Date: Thu Sep 30 03:16:35 2010 New Revision: 213290 URL: http://svn.freebsd.org/changeset/base/213290 Log: Also the stop function should accept 64-bit exception class. Modified: head/include/unwind.h Modified: head/include/unwind.h

svn commit: r213289 - head/include

2010-09-29 Thread David Xu
Author: davidxu Date: Thu Sep 30 03:09:35 2010 New Revision: 213289 URL: http://svn.freebsd.org/changeset/base/213289 Log: - Sizeof exception class type should always be 64-bit. - Make some functions be visible to BSD source code. Modified: head/include/unwind.h Modified: head/include/unwi

svn commit: r213288 - head/include

2010-09-29 Thread David Xu
Author: davidxu Date: Thu Sep 30 01:25:54 2010 New Revision: 213288 URL: http://svn.freebsd.org/changeset/base/213288 Log: Import unwind.h from libunwind-0.99. Approved by: core (kib, rwatson, imp, brooks) Added: head/include/unwind.h (contents, props changed) Added: head/include/unw

svn commit: r213287 - head/games/fortune/datfiles

2010-09-29 Thread Colin Percival
Author: cperciva Date: Wed Sep 29 23:47:06 2010 New Revision: 213287 URL: http://svn.freebsd.org/changeset/base/213287 Log: Add advice to new fathers from Thomas Ptacek. Suggested by: wilko Approved by: Thomas Ptacek Security: New parents often feel very insecure. Modified: head

svn commit: r213286 - head/sys/mips/atheros

2010-09-29 Thread Oleksandr Tymoshenko
Author: gonzo Date: Wed Sep 29 23:06:41 2010 New Revision: 213286 URL: http://svn.freebsd.org/changeset/base/213286 Log: - Fix values of CS1_EN and CS2_EN flags - Unbreak kernel build by fixing naming convention of GPIO_FUNC flags Spotted by: Luiz Otavio O Souza, Andrew Thompson Mo

Re: svn commit: r213270 - head/etc/rc.d

2010-09-29 Thread Ed Maste
On Thu, Sep 30, 2010 at 02:08:58AM +0400, Anonymous wrote: > Ed Maste writes: > > > Author: emaste > > Date: Wed Sep 29 13:08:23 2010 > > New Revision: 213270 > > URL: http://svn.freebsd.org/changeset/base/213270 > > > [...] > > + if [ ${waited} -eq ${defaultroute_carrier_delay} ] && !

svn commit: r213285 - head/etc/defaults

2010-09-29 Thread Ed Maste
Author: emaste Date: Wed Sep 29 22:59:49 2010 New Revision: 213285 URL: http://svn.freebsd.org/changeset/base/213285 Log: Commit the rest of r213270. Thanks to Anonymous for spotting this. Modified: head/etc/defaults/rc.conf Modified: head/etc/defaults/rc.conf =

svn commit: r213284 - in head: tools/regression/usr.bin/tr usr.bin/tr

2010-09-29 Thread Jilles Tjoelker
Author: jilles Date: Wed Sep 29 22:24:18 2010 New Revision: 213284 URL: http://svn.freebsd.org/changeset/base/213284 Log: tr: Fix '[=]=]' equivalence class. A closing bracket immediately after '[=' should not be treated as special. Different from the submitted patch, a string ending wi

Re: svn commit: r213270 - head/etc/rc.d

2010-09-29 Thread Anonymous
Ed Maste writes: > Author: emaste > Date: Wed Sep 29 13:08:23 2010 > New Revision: 213270 > URL: http://svn.freebsd.org/changeset/base/213270 > [...] > + if [ ${waited} -eq ${defaultroute_carrier_delay} ] && ! > defaultroute_carrier; then > + echo -n "(no carrier)

Re: svn commit: r213281 - head/lib/libc/amd64/gen

2010-09-29 Thread Jung-uk Kim
On Wednesday 29 September 2010 05:20 pm, Dimitry Andric wrote: > Author: dim > Date: Wed Sep 29 21:20:29 2010 > New Revision: 213281 > URL: http://svn.freebsd.org/changeset/base/213281 > > Log: > Apply the same workaround for clang to amd64's version of ldexp.c > (as in r212976): order the incomi

svn commit: r213283 - head/sys/dev/bge

2010-09-29 Thread Pyun YongHyeon
Author: yongari Date: Wed Sep 29 21:56:31 2010 New Revision: 213283 URL: http://svn.freebsd.org/changeset/base/213283 Log: Implement hardware MAC statistics for BCM5705 or newer Broadcom controllers. bge(4) exported MAC statistics on controllers that maintain the statistics in the NIC's inte

svn commit: r213282 - in head/sys: amd64/amd64 i386/i386 ia64/ia64 powerpc/powerpc sparc64/sparc64

2010-09-29 Thread Neel Natu
Author: neel Date: Wed Sep 29 21:53:11 2010 New Revision: 213282 URL: http://svn.freebsd.org/changeset/base/213282 Log: Fix bogus error message from bus_dmamem_alloc() about incorrect alignment. The check for alignment should be made against the physical address and not the virtual addres

svn commit: r213281 - head/lib/libc/amd64/gen

2010-09-29 Thread Dimitry Andric
Author: dim Date: Wed Sep 29 21:20:29 2010 New Revision: 213281 URL: http://svn.freebsd.org/changeset/base/213281 Log: Apply the same workaround for clang to amd64's version of ldexp.c (as in r212976): order the incoming arguments to fscale as st(0), st(1), and mark temp2 volatile (only in c

svn commit: r213280 - head/sys/dev/bge

2010-09-29 Thread Pyun YongHyeon
Author: yongari Date: Wed Sep 29 21:19:25 2010 New Revision: 213280 URL: http://svn.freebsd.org/changeset/base/213280 Log: After r207391, brgphy(4) passes resolved flow-control settings to parent driver. Use that information to configure flow-control. One drawback is there is no way to disab

svn commit: r213279 - head/sys/netinet/ipfw

2010-09-29 Thread Luigi Rizzo
Author: luigi Date: Wed Sep 29 21:02:31 2010 New Revision: 213279 URL: http://svn.freebsd.org/changeset/base/213279 Log: remove an unnecessary (and wrong) assignment. It was meant to reset idle_time (and it was not needed), but i even used the wrong field. Obtained from:Oleg M

svn commit: r213278 - head/sys/mips/atheros

2010-09-29 Thread Oleksandr Tymoshenko
Author: gonzo Date: Wed Sep 29 21:01:16 2010 New Revision: 213278 URL: http://svn.freebsd.org/changeset/base/213278 Log: AR71XX_GPIO_* defines were introduced by adrian@ a while ago, remove duplicated. Modified: head/sys/mips/atheros/ar71xxreg.h Modified: head/sys/mips/atheros/ar71xxre

svn commit: r213277 - head/sys/dev/gpio

2010-09-29 Thread Oleksandr Tymoshenko
Author: gonzo Date: Wed Sep 29 20:53:33 2010 New Revision: 213277 URL: http://svn.freebsd.org/changeset/base/213277 Log: Fix legal staff in GPIO sources: - license clause now contains "AUTHOR AND CONTRIBUTORS" instead of just "AUTHOR" - Add license/copyright to gpioc.c

Re: svn commit: r213270 - head/etc/rc.d

2010-09-29 Thread Dmitry Marakasov
* Ed Maste (ema...@freebsd.org) wrote: > /etc/rc.d/defaultroute currently bails immediately if all interfaces > set to use DHCP have no carrier. This can cause grief as it may take > some time for link to be established, and defaultroute may terminate > before this happens. > > Intro

svn commit: r213276 - stable/8/lib/libbluetooth

2010-09-29 Thread Maksim Yevmenkin
Author: emax Date: Wed Sep 29 18:41:47 2010 New Revision: 213276 URL: http://svn.freebsd.org/changeset/base/213276 Log: MFC Revision: 213042 Add the following Linux BlueZ compatibility macros: htobs(), htobl(), btohs() and btohl() PR: kern/136386 Submitted by: Monty Hall

svn commit: r213275 - head/sys/ufs/ffs

2010-09-29 Thread Kirk McKusick
Author: mckusick Date: Wed Sep 29 14:46:57 2010 New Revision: 213275 URL: http://svn.freebsd.org/changeset/base/213275 Log: Since local variable 'i' is used only in a KASSERT, declare and initialize it only if INVARIANTS is defined to avoid a declared but unused warning. Suggested by: B

svn commit: r213274 - in head: contrib/binutils/bfd contrib/binutils/include/coff gnu/usr.bin/binutils/libbfd

2010-09-29 Thread Rui Paulo
Author: rpaulo Date: Wed Sep 29 14:41:03 2010 New Revision: 213274 URL: http://svn.freebsd.org/changeset/base/213274 Log: Add support for the BFD target efi-app-x86_64. This uses only GPL2 source code and is a requirement for a 64 bit EFI boot loader. Added: head/contrib/binutils/bfd/c

svn commit: r213273 - stable/8/share/man/man9

2010-09-29 Thread Jaakko Heinonen
Author: jh Date: Wed Sep 29 14:36:25 2010 New Revision: 213273 URL: http://svn.freebsd.org/changeset/base/213273 Log: MFC r209168: Update vfs_busy(9) and vfs_unbusy(9) manual pages to better match the current behaviour of the functions. Modified: stable/8/share/man/man9/vfs_busy.9 st

svn commit: r213272 - head/sys/dev/aac

2010-09-29 Thread Ed Maste
Author: emaste Date: Wed Sep 29 14:22:00 2010 New Revision: 213272 URL: http://svn.freebsd.org/changeset/base/213272 Log: Previously, the aac driver did not handle enclosure management AIFs, which were raised during hot-swap events. Now such events trigger cam rescans, as is done in the mps

svn commit: r213271 - head/sys/sys

2010-09-29 Thread John Baldwin
Author: jhb Date: Wed Sep 29 13:24:56 2010 New Revision: 213271 URL: http://svn.freebsd.org/changeset/base/213271 Log: Account for unlocking a spin mutex in the lock profiling code in the !SMP case. Submitted by: truckman MFC after:3 days Modified: head/sys/sys/mutex.h Modified:

svn commit: r213270 - head/etc/rc.d

2010-09-29 Thread Ed Maste
Author: emaste Date: Wed Sep 29 13:08:23 2010 New Revision: 213270 URL: http://svn.freebsd.org/changeset/base/213270 Log: /etc/rc.d/defaultroute currently bails immediately if all interfaces set to use DHCP have no carrier. This can cause grief as it may take some time for link to be establ

svn commit: r213269 - in stable/8: share/man/man4 sys/dev/usb sys/dev/usb/net

2010-09-29 Thread MIHIRA Sanpei Yoshiro
Author: sanpei Date: Wed Sep 29 12:53:02 2010 New Revision: 213269 URL: http://svn.freebsd.org/changeset/base/213269 Log: MFC r212980 & r213160(man4/axe.4 only) Add Planex UE-200TX-G2 to list of supported devices. Add new device ids. Buffalo (Melco Inc.) LUA3-U2-AGT Logitec LAN-GTJ/

svn commit: r213268 - head/sys/dev/ral

2010-09-29 Thread John Baldwin
Author: jhb Date: Wed Sep 29 11:52:44 2010 New Revision: 213268 URL: http://svn.freebsd.org/changeset/base/213268 Log: If rt2560_bbp_init() fails, don't drop the lock as the callers of rt2560_init_locked() expect the lock to be held on return. Reported by: Anton Shterenlikht mexas of br

svn commit: r213267 - head/sys/netinet/ipfw

2010-09-29 Thread Luigi Rizzo
Author: luigi Date: Wed Sep 29 09:40:20 2010 New Revision: 213267 URL: http://svn.freebsd.org/changeset/base/213267 Log: whitespace changes in preparation for future commits Modified: head/sys/netinet/ipfw/dn_sched.h head/sys/netinet/ipfw/dn_sched_wf2q.c head/sys/netinet/ipfw/ip_dn_glue.c

svn commit: r213266 - stable/7/sys/dev/acpica

2010-09-29 Thread Andriy Gapon
Author: avg Date: Wed Sep 29 09:25:22 2010 New Revision: 213266 URL: http://svn.freebsd.org/changeset/base/213266 Log: MFC r212993: acpi_attach: do not explicitly install default handlers for default address spaces Modified: stable/7/sys/dev/acpica/acpi.c Directory Properties: stable/7/sy

svn commit: r213265 - head/sys/netinet/ipfw

2010-09-29 Thread Luigi Rizzo
Author: luigi Date: Wed Sep 29 09:22:12 2010 New Revision: 213265 URL: http://svn.freebsd.org/changeset/base/213265 Log: fix handling of initial credit for an idle pipe. This fixes the bug where setting bw > 1 MTU/tick resulted in infinite bandwidth if io_fast=1 PR: 147245 148

svn commit: r213264 - stable/8/sys/dev/acpica

2010-09-29 Thread Andriy Gapon
Author: avg Date: Wed Sep 29 09:20:18 2010 New Revision: 213264 URL: http://svn.freebsd.org/changeset/base/213264 Log: MFC r212993: acpi_attach: do not explicitly install default handlers for default address spaces Modified: stable/8/sys/dev/acpica/acpi.c Directory Properties: stable/8/sy

svn commit: r213263 - stable/8/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2010-09-29 Thread Andriy Gapon
Author: avg Date: Wed Sep 29 09:18:34 2010 New Revision: 213263 URL: http://svn.freebsd.org/changeset/base/213263 Log: MFC r212655: zfs mappedread, update_pages: use int for offset and length within a page Modified: stable/8/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c Directo

svn commit: r213262 - stable/8/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2010-09-29 Thread Andriy Gapon
Author: avg Date: Wed Sep 29 09:16:45 2010 New Revision: 213262 URL: http://svn.freebsd.org/changeset/base/213262 Log: MFC r212654: zfs mappedread: use uiomove_fromphys where possible Modified: stable/8/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c Directory Properties: stable/

svn commit: r213261 - stable/8/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2010-09-29 Thread Andriy Gapon
Author: avg Date: Wed Sep 29 09:15:02 2010 New Revision: 213261 URL: http://svn.freebsd.org/changeset/base/213261 Log: MFC r212652: zfs: catch up with vm_page_sleep_if_busy changes Modified: stable/8/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c Directory Properties: stable/8/s

svn commit: r213260 - in stable/8/sys: cddl/contrib/opensolaris/uts/common/fs/zfs fs/tmpfs

2010-09-29 Thread Andriy Gapon
Author: avg Date: Wed Sep 29 09:11:34 2010 New Revision: 213260 URL: http://svn.freebsd.org/changeset/base/213260 Log: MFC r212650: tmpfs, zfs + sendfile: mark page bits as valid after populating it with data Modified: stable/8/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c st

svn commit: r213259 - head/sys/ufs/ffs

2010-09-29 Thread Konstantin Belousov
Author: kib Date: Wed Sep 29 07:40:11 2010 New Revision: 213259 URL: http://svn.freebsd.org/changeset/base/213259 Log: Fix typo in comment. Modified: head/sys/ufs/ffs/ffs_softdep.c Modified: head/sys/ufs/ffs/ffs_softdep.c ==

svn commit: r213258 - head/sys/kern

2010-09-29 Thread David Xu
Author: davidxu Date: Wed Sep 29 07:31:05 2010 New Revision: 213258 URL: http://svn.freebsd.org/changeset/base/213258 Log: - kern_sched_rr_get_interval should return interval for thread 1 in target process. - eliminate a goto. MFC after: 1 week Modified: head/sys/kern/p1003_1b.c M

Re: svn commit: r213237 - in head/sys: conf dev/gpio sys

2010-09-29 Thread Andrew Turner
On Tue, 28 Sep 2010 03:24:53 + (UTC) Oleksandr Tymoshenko wrote: > Author: gonzo > Date: Tue Sep 28 03:24:53 2010 > New Revision: 213237 > URL: http://svn.freebsd.org/changeset/base/213237 > > Log: > Initial GPIO bus support. Includes: > - GPIO bus controller interface > - GPIO bus