Re: svn commit: r217538 - in head/sys/dev: buslogic cs

2011-01-19 Thread Peter Jeremy
On 2011-Jan-18 15:23:16 +, John Baldwin wrote: >Log: > Remove some always-true comparisons. ... >--- head/sys/dev/cs/if_cs.cTue Jan 18 14:58:44 2011(r217537) >+++ head/sys/dev/cs/if_cs.cTue Jan 18 15:23:16 2011(r217538) >@@ -364,7 +364,7 @@ cs_cs89x0_probe(device_t dev

svn commit: r217577 - head/share/misc

2011-01-19 Thread Maxim Konovalov
Author: maxim Date: Wed Jan 19 10:30:49 2011 New Revision: 217577 URL: http://svn.freebsd.org/changeset/base/217577 Log: o Correct version of DragonFly: it was 2.8.2 released, not 2.8.0. Submitted by: Sascha Wildner Modified: head/share/misc/bsd-family-tree Modified: head/share/misc/bsd

svn commit: r217578 - head/sys/compat/linux

2011-01-19 Thread Konstantin Belousov
Author: kib Date: Wed Jan 19 12:19:25 2011 New Revision: 217578 URL: http://svn.freebsd.org/changeset/base/217578 Log: In linuxolator getdents_common(), it seems there is no reason to loop if no records where returned by VOP_READDIR(). Readdir implementations allowed to return 0 records when

Re: svn commit: r217561 - in head/sys: arm/arm i386/i386 mips/mips powerpc/aim powerpc/booke sparc64/sparc64

2011-01-19 Thread Kostik Belousov
On Tue, Jan 18, 2011 at 02:51:32PM -0800, John-Mark Gurney wrote: > Konstantin Belousov wrote this message on Tue, Jan 18, 2011 at 21:57 +: > > sf_buf_alloc() calls msleep(PCATCH) when SFB_CATCH flag was given, > > and for simultaneous wakeup and signal delivery, msleep() returns > > EINT

Re: svn commit: r217538 - in head/sys/dev: buslogic cs

2011-01-19 Thread John Baldwin
On Wednesday, January 19, 2011 12:56:35 am Peter Jeremy wrote: > On 2011-Jan-18 15:23:16 +, John Baldwin wrote: > >Log: > > Remove some always-true comparisons. > ... > >--- head/sys/dev/cs/if_cs.c Tue Jan 18 14:58:44 2011(r217537) > >+++ head/sys/dev/cs/if_cs.c Tue Jan 18 15:23:16

svn commit: r217581 - head/sys/dev/md

2011-01-19 Thread Alan Cox
Author: alc Date: Wed Jan 19 15:43:54 2011 New Revision: 217581 URL: http://svn.freebsd.org/changeset/base/217581 Log: There is no point in calling vm_object_set_writeable_dirty() on an object that is definitively known to be swap backed since its only effects are on vnode-backed objects.

svn commit: r217582 - head/sys/fs/ext2fs

2011-01-19 Thread John Baldwin
Author: jhb Date: Wed Jan 19 16:46:13 2011 New Revision: 217582 URL: http://svn.freebsd.org/changeset/base/217582 Log: Merge 118969 from UFS: Eliminate the i_devvp field from the incore inodes, we can get the same value from ip->i_ump->um_devvp. Submitted by: Pedro F. Giffuni giffunip

svn commit: r217583 - head/sys/dev/md

2011-01-19 Thread Konstantin Belousov
Author: kib Date: Wed Jan 19 16:48:07 2011 New Revision: 217583 URL: http://svn.freebsd.org/changeset/base/217583 Log: Add missed (). Noted by: alc MFC after:3 days Modified: head/sys/dev/md/md.c Modified: head/sys/dev/md/md.c ==

svn commit: r217584 - head/sys/fs/ext2fs

2011-01-19 Thread John Baldwin
Author: jhb Date: Wed Jan 19 16:52:22 2011 New Revision: 217584 URL: http://svn.freebsd.org/changeset/base/217584 Log: Move calculation of 'bmask' earlier to match it's current location in ufs_lookup(). Modified: head/sys/fs/ext2fs/ext2_lookup.c Modified: head/sys/fs/ext2fs/ext2_lookup.c =

svn commit: r217585 - head/sys/fs/ext2fs

2011-01-19 Thread John Baldwin
Author: jhb Date: Wed Jan 19 16:55:32 2011 New Revision: 217585 URL: http://svn.freebsd.org/changeset/base/217585 Log: Whitespace and style fixes. Modified: head/sys/fs/ext2fs/ext2_alloc.c head/sys/fs/ext2fs/ext2_dinode.h head/sys/fs/ext2fs/ext2fs.h Modified: head/sys/fs/ext2fs/ext2_allo

svn commit: r217586 - in head: sbin/sysctl share/man/man9 sys/cam/scsi sys/dev/cxgb sys/dev/wi sys/net sys/sys

2011-01-19 Thread Matthew D Fleming
Author: mdf Date: Wed Jan 19 17:04:07 2011 New Revision: 217586 URL: http://svn.freebsd.org/changeset/base/217586 Log: sysctl(8) should use the CTLTYPE to determine the type of data when reading. (This was already done for writing to a sysctl). This requires all SYSCTL setups to specify a

svn commit: r217587 - head/sys/i386/i386

2011-01-19 Thread Jung-uk Kim
Author: jkim Date: Wed Jan 19 17:09:07 2011 New Revision: 217587 URL: http://svn.freebsd.org/changeset/base/217587 Log: Fix yet another fallout from r208833. VM86 BIOS call may cause page fault when FPU is in use. Reported by: Marc UBM Bocklet (ubm dot freebsd at googlemail dot com) T

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

2011-01-19 Thread Edward Tomasz Napierala
Author: trasz Date: Wed Jan 19 17:11:52 2011 New Revision: 217588 URL: http://svn.freebsd.org/changeset/base/217588 Log: Add MNT_NFS4ACLS to ZFS mount flags. It's not conditional, since there is no way to disable NFSv4 ACLs in ZFS. This should make it easier for the NFS server to figure ou

svn commit: r217589 - head/usr.sbin/syslogd

2011-01-19 Thread David Malone
Author: dwmalone Date: Wed Jan 19 17:17:37 2011 New Revision: 217589 URL: http://svn.freebsd.org/changeset/base/217589 Log: Here v->iov_len has been assigned the return value from snprintf. Checking if it is > 0 doesn't make sense, because snprintf returns how much space is needed if the buf

Re: svn commit: r217587 - head/sys/i386/i386

2011-01-19 Thread Kostik Belousov
On Wed, Jan 19, 2011 at 05:09:07PM +, Jung-uk Kim wrote: > Author: jkim > Date: Wed Jan 19 17:09:07 2011 > New Revision: 217587 > URL: http://svn.freebsd.org/changeset/base/217587 > > Log: > Fix yet another fallout from r208833. VM86 BIOS call may cause page fault > when FPU is in use. >

svn commit: r217590 - head/sys/net80211

2011-01-19 Thread Bernhard Schmidt
Author: bschmidt Date: Wed Jan 19 17:40:58 2011 New Revision: 217590 URL: http://svn.freebsd.org/changeset/base/217590 Log: Jump to the next element and not to an arbitrary point. frm[1] contains the element's data length, frm[2] is the first byte of the element's data. Submitted by: Mont

Re: svn commit: r217587 - head/sys/i386/i386

2011-01-19 Thread Jung-uk Kim
On Wednesday 19 January 2011 12:18 pm, Kostik Belousov wrote: > On Wed, Jan 19, 2011 at 05:09:07PM +, Jung-uk Kim wrote: > > Author: jkim > > Date: Wed Jan 19 17:09:07 2011 > > New Revision: 217587 > > URL: http://svn.freebsd.org/changeset/base/217587 > > > > Log: > > Fix yet another fallout

svn commit: r217591 - head/sys/dev/e1000

2011-01-19 Thread Jack F Vogel
Author: jfv Date: Wed Jan 19 18:20:11 2011 New Revision: 217591 URL: http://svn.freebsd.org/changeset/base/217591 Log: Fix for kern/152853, pullup at the wrong point is breaking UDP. Thanks to Petr Lampa for the patch. Modified: head/sys/dev/e1000/if_em.c Modified: head/sys/dev/e1000/if_

Re: svn commit: r217564 - head/sys/amd64/amd64

2011-01-19 Thread Pawel Jakub Dawidek
On Tue, Jan 18, 2011 at 11:00:22PM +, Konstantin Belousov wrote: > Author: kib > Date: Tue Jan 18 23:00:22 2011 > New Revision: 217564 > URL: http://svn.freebsd.org/changeset/base/217564 > > Log: > Make the length of the LDT a loader tunable, machdep.max_ldt_segment, > and export it with r

svn commit: r217592 - head/sys/netinet

2011-01-19 Thread Randall Stewart
Author: rrs Date: Wed Jan 19 19:07:16 2011 New Revision: 217592 URL: http://svn.freebsd.org/changeset/base/217592 Log: Fix a bug where Multicast packets sent from a udp endpoint may end up echoing back to the sender even with OUT joining the multi-cast group. Reviewed by: gnn, bms, bz?

Re: svn commit: r217538 - in head/sys/dev: buslogic cs

2011-01-19 Thread Warner Losh
On 01/18/2011 22:56, Peter Jeremy wrote: On 2011-Jan-18 15:23:16 +, John Baldwin wrote: Log: Remove some always-true comparisons. ... --- head/sys/dev/cs/if_cs.c Tue Jan 18 14:58:44 2011(r217537) +++ head/sys/dev/cs/if_cs.c Tue Jan 18 15:23:16 2011(r217538) @@ -3

svn commit: r217593 - head/sys/dev/ixgbe

2011-01-19 Thread Jack F Vogel
Author: jfv Date: Wed Jan 19 19:36:27 2011 New Revision: 217593 URL: http://svn.freebsd.org/changeset/base/217593 Log: Update driver to version 2.3.8: CRITICAL FIX - with stats changes the older 82598 will panic and trash the stack on driver load, FCOE registers ONLY exist

svn commit: r217594 - head/sys/fs/ext2fs

2011-01-19 Thread John Baldwin
Author: jhb Date: Wed Jan 19 19:49:48 2011 New Revision: 217594 URL: http://svn.freebsd.org/changeset/base/217594 Log: Fix build with KDB defined. Pointy hat to:jhb Submitted by: jkim Modified: head/sys/fs/ext2fs/ext2_subr.c Modified: head/sys/fs/ext2fs/ext2_subr.c ===

svn commit: r217595 - in head: contrib/groff/tmac gnu/usr.bin/groff/tmac

2011-01-19 Thread Ulrich Spoerlein
Author: uqs Date: Wed Jan 19 20:16:38 2011 New Revision: 217595 URL: http://svn.freebsd.org/changeset/base/217595 Log: Update groff manpage and symbols with what has been submitted upstream. Also remove local overrides that are now in the contrib tree. This is a direct commit to contrib/

svn commit: r217596 - head/etc/mtree

2011-01-19 Thread Ulrich Spoerlein
Author: uqs Date: Wed Jan 19 20:16:47 2011 New Revision: 217596 URL: http://svn.freebsd.org/changeset/base/217596 Log: Fix a small typo nit Modified: head/etc/mtree/README Modified: head/etc/mtree/README == --- head/

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

2011-01-19 Thread Bjoern A. Zeeb
On Wed, 19 Jan 2011, Randall Stewart wrote: Author: rrs Date: Wed Jan 19 19:07:16 2011 New Revision: 217592 URL: http://svn.freebsd.org/changeset/base/217592 Log: Fix a bug where Multicast packets sent from a udp endpoint may end up echoing back to the sender even with OUT joining the multi-

Re: svn commit: r217587 - head/sys/i386/i386

2011-01-19 Thread Kostik Belousov
On Wed, Jan 19, 2011 at 01:11:01PM -0500, Jung-uk Kim wrote: > On Wednesday 19 January 2011 12:18 pm, Kostik Belousov wrote: > > On Wed, Jan 19, 2011 at 05:09:07PM +, Jung-uk Kim wrote: > > > Author: jkim > > > Date: Wed Jan 19 17:09:07 2011 > > > New Revision: 217587 > > > URL: http://svn.free

svn commit: r217597 - head/sys/netinet

2011-01-19 Thread Randall Stewart
Author: rrs Date: Wed Jan 19 20:57:08 2011 New Revision: 217597 URL: http://svn.freebsd.org/changeset/base/217597 Log: Fix style 9 nit that snuck in when I grabbed the wrong patch ;-0 (thanks Daniel) MFC after:1 week Modified: head/sys/netinet/udp_usrreq.c Modified: head/sys/netin

Re: svn commit: r217587 - head/sys/i386/i386

2011-01-19 Thread Jung-uk Kim
On Wednesday 19 January 2011 03:55 pm, Kostik Belousov wrote: > On Wed, Jan 19, 2011 at 01:11:01PM -0500, Jung-uk Kim wrote: > > On Wednesday 19 January 2011 12:18 pm, Kostik Belousov wrote: > > > On Wed, Jan 19, 2011 at 05:09:07PM +, Jung-uk Kim wrote: > > > > Author: jkim > > > > Date: Wed Ja

svn commit: r217604 - head/sys/amd64/amd64

2011-01-19 Thread Konstantin Belousov
Author: kib Date: Wed Jan 19 21:35:48 2011 New Revision: 217604 URL: http://svn.freebsd.org/changeset/base/217604 Log: Use CTLFLAG_RDTUN for read-only sysctl that exports tunable. Reminded by: pjd MFC after:6 days Modified: head/sys/amd64/amd64/sys_machdep.c Modified: head/sys/am

Re: svn commit: r217587 - head/sys/i386/i386

2011-01-19 Thread Warner Losh
On 01/19/2011 13:55, Kostik Belousov wrote: Simply put, we cannot trust BIOS. Given all the issues we've had with BIOS over the years, I think it is better to be proactively paranoid where possible, unless there is a significant performance improvement for the overall system.. Warner _

svn commit: r217606 - head/share/man/man5

2011-01-19 Thread Giorgos Keramidas
Author: keramida (doc committer) Date: Wed Jan 19 21:43:08 2011 New Revision: 217606 URL: http://svn.freebsd.org/changeset/base/217606 Log: Bump .Dd date of manpage for r217481 Modified: head/share/man/man5/xfs.5 Modified: head/share/man/man5/xfs.5 ===

svn commit: r217607 - head/sys/mips/rmi

2011-01-19 Thread Juli Mallett
Author: jmallett Date: Wed Jan 19 21:45:40 2011 New Revision: 217607 URL: http://svn.freebsd.org/changeset/base/217607 Log: Fix format of physical addresses; this fixes the n32 build. Modified: head/sys/mips/rmi/xlr_machdep.c Modified: head/sys/mips/rmi/xlr_machdep.c

svn commit: r217611 - head/sys/netinet

2011-01-19 Thread Michael Tuexen
Author: tuexen Date: Wed Jan 19 22:10:35 2011 New Revision: 217611 URL: http://svn.freebsd.org/changeset/base/217611 Log: Cleanup the management of CC functions. MFC after: 3 months. Deleted: head/sys/netinet/sctp_cc_functions.h Modified: head/sys/netinet/sctp_cc_functions.c head/sys

svn commit: r217612 - head/sys/conf

2011-01-19 Thread Juli Mallett
Author: jmallett Date: Wed Jan 19 22:15:12 2011 New Revision: 217612 URL: http://svn.freebsd.org/changeset/base/217612 Log: The output format should be determined by the ABI flags, not the ldscript. This ldscript is used with both little-endian and big-endian targets. This hopefully fixes

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

2011-01-19 Thread John-Mark Gurney
Author: jmg Date: Wed Jan 19 22:16:42 2011 New Revision: 217613 URL: http://svn.freebsd.org/changeset/base/217613 Log: document that even when wakeup_one is used to wakeup, msleep and friends may still return a non-zero value... You are not guaranteed to get a one to one mapping between wake

Re: svn commit: r217607 - head/sys/mips/rmi

2011-01-19 Thread Bjoern A. Zeeb
On Wed, 19 Jan 2011, Juli Mallett wrote: Author: jmallett Date: Wed Jan 19 21:45:40 2011 New Revision: 217607 URL: http://svn.freebsd.org/changeset/base/217607 Log: Fix format of physical addresses; this fixes the n32 build. Thanks! Modified: head/sys/mips/rmi/xlr_machdep.c Modified: he

Re: svn commit: r217612 - head/sys/conf

2011-01-19 Thread Bjoern A. Zeeb
On Wed, 19 Jan 2011, Juli Mallett wrote: Author: jmallett Date: Wed Jan 19 22:15:12 2011 New Revision: 217612 URL: http://svn.freebsd.org/changeset/base/217612 Log: The output format should be determined by the ABI flags, not the ldscript. This ldscript is used with both little-endian and big

svn commit: r217616 - in head: lib/libjail sbin/sysctl share/man/man9 sys/cddl/compat/opensolaris/kern sys/dev/cxgb sys/dev/msk sys/kern sys/mips/mips sys/mips/rmi sys/sys sys/x86/x86

2011-01-19 Thread Matthew D Fleming
Author: mdf Date: Wed Jan 19 23:00:25 2011 New Revision: 217616 URL: http://svn.freebsd.org/changeset/base/217616 Log: Introduce signed and unsigned version of CTLTYPE_QUAD, renaming existing uses. Rename sysctl_handle_quad() to sysctl_handle_64(). Modified: head/lib/libjail/jail.c head/

svn commit: r217618 - in head/sys/dev/ath: . ath_hal

2011-01-19 Thread Adrian Chadd
Author: adrian Date: Thu Jan 20 04:57:26 2011 New Revision: 217618 URL: http://svn.freebsd.org/changeset/base/217618 Log: Break out the diagnostic codes from ah_internal.h and place them in ah_diagcodes.h. Since we now have the source code, there's no reason to hide the diag codes from o

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

2011-01-19 Thread Adrian Chadd
Author: adrian Date: Thu Jan 20 04:59:11 2011 New Revision: 217619 URL: http://svn.freebsd.org/changeset/base/217619 Log: Use the now-exposed diag code, rather than a hard-coded magic number. Modified: head/sys/dev/ath/if_ath.c Modified: head/sys/dev/ath/if_ath.c

svn commit: r217620 - head/sys/mips/cavium/cryptocteon

2011-01-19 Thread Oleksandr Tymoshenko
Author: gonzo Date: Thu Jan 20 05:44:36 2011 New Revision: 217620 URL: http://svn.freebsd.org/changeset/base/217620 Log: Fix build by changing format for size_t to %jd Modified: head/sys/mips/cavium/cryptocteon/cavium_crypto.c Modified: head/sys/mips/cavium/cryptocteon/cavium_crypto.c ==

svn commit: r217621 - in head/sys/dev/ath/ath_hal: . ar5210 ar5211 ar5212 ar5416

2011-01-19 Thread Adrian Chadd
Author: adrian Date: Thu Jan 20 05:49:15 2011 New Revision: 217621 URL: http://svn.freebsd.org/changeset/base/217621 Log: Add a new HAL method to retrieve the completion schedule. It sets the completion schedule from the hardware and returns AH_TRUE if the hardware supports multi-rate retrie

svn commit: r217622 - head/sys/dev/ath/ath_hal

2011-01-19 Thread Adrian Chadd
Author: adrian Date: Thu Jan 20 07:03:20 2011 New Revision: 217622 URL: http://svn.freebsd.org/changeset/base/217622 Log: Add another HAL function which waits for a register for a configurable amount. This will be used by some future code. Modified: head/sys/dev/ath/ath_hal/ah.c head/s

svn commit: r217623 - head/sys/dev/ath/ath_hal

2011-01-19 Thread Adrian Chadd
Author: adrian Date: Thu Jan 20 07:42:39 2011 New Revision: 217623 URL: http://svn.freebsd.org/changeset/base/217623 Log: Port over another EEPROM option from ath9k - AR_EEP_DAC_HPWR_5G This will be used by the temperature compensation calibration code which will shortly make an appearanc

svn commit: r217624 - in head/sys/dev/ath: . ath_hal ath_hal/ar5210 ath_hal/ar5211 ath_hal/ar5212 ath_hal/ar5312 ath_hal/ar5416

2011-01-19 Thread Adrian Chadd
Author: adrian Date: Thu Jan 20 07:56:09 2011 New Revision: 217624 URL: http://svn.freebsd.org/changeset/base/217624 Log: Include the initial support for external EEPROMs. The AR9100 at least doesn't have an external serial EEPROM attached to the MAC; it instead stores the calibration dat