svn commit: r242816 - head/release/doc/share/xml

2012-11-08 Thread Glen Barber
Author: gjb (doc,ports committer) Date: Fri Nov 9 04:52:15 2012 New Revision: 242816 URL: http://svnweb.freebsd.org/changeset/base/242816 Log: Belatedly (by many years!) bump the version numbers in the src/-side documentation pages. Saddened by: this file Modified: head/release/doc/s

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

2012-11-08 Thread Jeff Roberson
Author: jeff Date: Fri Nov 9 04:04:25 2012 New Revision: 242815 URL: http://svnweb.freebsd.org/changeset/base/242815 Log: - Correct rev 242734, segments can sometimes get stuck. Be a bit more defensive with segment state. Reported by: b. f. Modified: head/sys/ufs/ffs/ffs_softd

svn commit: r242814 - head/sys/dev/puc

2012-11-08 Thread Eitan Adler
Author: eadler Date: Fri Nov 9 01:51:06 2012 New Revision: 242814 URL: http://svnweb.freebsd.org/changeset/base/242814 Log: Add support for Advantech PCI-1602 RS-485/RS-422 serial card PR: kern/169726 Submitted by: Jan Mikkelsen Approved by: cperciva (implicit) MFC after:

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

2012-11-08 Thread Adrian Chadd
Author: adrian Date: Fri Nov 9 01:28:11 2012 New Revision: 242813 URL: http://svnweb.freebsd.org/changeset/base/242813 Log: Fix a very incorrect description. Modified: head/sys/dev/ath/if_ath_alq.c Modified: head/sys/dev/ath/if_ath_alq.c =

svn commit: r242808 - head/usr.bin/locale

2012-11-08 Thread Greg Lehey
Author: grog Date: Thu Nov 8 23:46:15 2012 New Revision: 242808 URL: http://svnweb.freebsd.org/changeset/base/242808 Log: Replace spaces by tabs where appropriate. Reminded by: jh@ Modified: head/usr.bin/locale/locale.c Modified: head/usr.bin/locale/locale.c ===

svn commit: r242807 - head/bin/ls

2012-11-08 Thread Greg Lehey
Author: grog Date: Thu Nov 8 23:45:19 2012 New Revision: 242807 URL: http://svnweb.freebsd.org/changeset/base/242807 Log: Replace spaces with tabs where appropriate. Reminded by: jh@ Modified: head/bin/ls/cmp.c head/bin/ls/extern.h head/bin/ls/ls.c head/bin/ls/ls.h head/bin/ls/p

svn commit: r242804 - head/sys/boot/i386/boot2

2012-11-08 Thread Dimitry Andric
Author: dim Date: Thu Nov 8 23:21:02 2012 New Revision: 242804 URL: http://svnweb.freebsd.org/changeset/base/242804 Log: Shrink boot2 by 8 bytes, by eliminating some unneeded instructions in sio.S. This is not particularly needed for head right now, but it is intended to merge to stable/9,

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

2012-11-08 Thread Adrian Chadd
Author: adrian Date: Thu Nov 8 23:11:59 2012 New Revision: 242803 URL: http://svnweb.freebsd.org/changeset/base/242803 Log: Fix the build - fix up the ath_alq code to not compile by default. Modified: head/sys/dev/ath/if_ath_sysctl.c Modified: head/sys/dev/ath/if_ath_sysctl.c ==

svn commit: r242784 - head/etc

2012-11-08 Thread Nick Hibma
Author: n_hibma Date: Thu Nov 8 20:34:12 2012 New Revision: 242784 URL: http://svnweb.freebsd.org/changeset/base/242784 Log: Not only load pccard_ether settings, also load network settings. This is only a problem when a /etc/rc.conf.d/network file is being used. PR: conf/160373

Re: svn commit: r242029 - head/sys/kern

2012-11-08 Thread Alfred Perlstein
Peter, can you let me know what you think? -Alfred On 11/7/12 11:46 PM, Peter Wemm wrote: On Wed, Nov 7, 2012 at 10:24 PM, Alfred Perlstein wrote: [[ + peter ]] Folks, I spent quite a bit of time trying to figure out how to resolve maxusers scaling in a happy way for all. I think I came up

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

2012-11-08 Thread Adrian Chadd
Author: adrian Date: Thu Nov 8 18:11:31 2012 New Revision: 242782 URL: http://svnweb.freebsd.org/changeset/base/242782 Log: Add some hooks into the driver to attach, detach and record EDMA descriptor events. This is primarily for the TX EDMA and TX EDMA completion. I haven't yet tied i

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

2012-11-08 Thread Adrian Chadd
Author: adrian Date: Thu Nov 8 18:07:29 2012 New Revision: 242781 URL: http://svnweb.freebsd.org/changeset/base/242781 Log: Add my initial cut at driver-layer ALQ support. I'm using this to debug EDMA TX and RX descriptors and it's really helpful to have a non-printf() way to decode fram

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

2012-11-08 Thread Adrian Chadd
Author: adrian Date: Thu Nov 8 17:46:27 2012 New Revision: 242780 URL: http://svnweb.freebsd.org/changeset/base/242780 Log: Oops, fix bogus spacing. Modified: head/sys/dev/ath/if_ath_tx_edma.c Modified: head/sys/dev/ath/if_ath_tx_edma.c ==

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

2012-11-08 Thread Adrian Chadd
Author: adrian Date: Thu Nov 8 17:43:58 2012 New Revision: 242779 URL: http://svnweb.freebsd.org/changeset/base/242779 Log: Implement the ATH_RESET_NOLOSS path for TX stop and start; this is needed for 802.11n TX device restarting. Remove the debug printf()s; they're no longer needed her

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

2012-11-08 Thread Adrian Chadd
Author: adrian Date: Thu Nov 8 17:32:55 2012 New Revision: 242778 URL: http://svnweb.freebsd.org/changeset/base/242778 Log: Convert this to a debug printf; it's working fine now. Modified: head/sys/dev/ath/if_ath_rx_edma.c Modified: head/sys/dev/ath/if_ath_rx_edma.c

Re: svn commit: r242747 - head/sys/kern

2012-11-08 Thread Bruce Evans
On Thu, 8 Nov 2012, Marius Strobl wrote: On Thu, Nov 08, 2012 at 09:41:29PM +1100, Bruce Evans wrote: On Thu, 8 Nov 2012, Marius Strobl wrote: Log: Make r242655 build on sparc64. While at it, make vm_{max,min}_kernel_address vm_offset_t as they should be. Er, they shouldn't be vm_offset_t.

svn commit: r242777 - head/sys/dev/usb/net

2012-11-08 Thread Hans Petter Selasky
Author: hselasky Date: Thu Nov 8 16:31:13 2012 New Revision: 242777 URL: http://svnweb.freebsd.org/changeset/base/242777 Log: Make the USB ethernet methods constant again in if_udav.c, so that both adapter variants can be attached at the same time. MFC after:0 days Modified: hea

Re: svn commit: r242727 - head/sys/fs/fuse

2012-11-08 Thread Attilio Rao
On 11/8/12, Attilio Rao wrote: > Author: attilio > Date: Thu Nov 8 00:32:49 2012 > New Revision: 242727 > URL: http://svnweb.freebsd.org/changeset/base/242727 > > Log: > - Current caching mode is completely broken because it simply relies > on timing of the operations and not real lookup, b

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

2012-11-08 Thread Roman Divacky
> - clang fails to optimize division by (integer) 2 into multiplication >by (floating point with the correct type) 0.5 in the case of long >doubles on one supported arch (i386 IIRC). Both compilers optimize >all other cases, including floats and doubles on all arches. clang >with

Re: svn commit: r242725 - head/bin/ls

2012-11-08 Thread Jaakko Heinonen
On 2012-11-08, Greg Lehey wrote: > New Revision: 242725 > - return (strcoll(a->fts_name, b->fts_name)); > +if (f_samesort) > + return (strcoll(b->fts_name, a->fts_name)); > +else > + return (strcoll(a->fts_name, b->fts_name)); Please use tabs instead of

Re: svn commit: r242747 - head/sys/kern

2012-11-08 Thread Marius Strobl
On Thu, Nov 08, 2012 at 09:41:29PM +1100, Bruce Evans wrote: > On Thu, 8 Nov 2012, Marius Strobl wrote: > > >Log: > > Make r242655 build on sparc64. While at it, make > > vm_{max,min}_kernel_address > > vm_offset_t as they should be. > > Er, they shouldn't be vm_offset_t. > > >Modified: head/sy

svn commit: r242767 - in head/tools/regression/bin/sh: builtins parser

2012-11-08 Thread Jilles Tjoelker
Author: jilles Date: Thu Nov 8 13:36:19 2012 New Revision: 242767 URL: http://svnweb.freebsd.org/changeset/base/242767 Log: sh: Add tests for modifying an alias (r242766). Note: parser/alias10.0 will eat a lot of memory/cpu time when it fails (with the old sh). Added: head/tools/regre

svn commit: r242766 - head/bin/sh

2012-11-08 Thread Jilles Tjoelker
Author: jilles Date: Thu Nov 8 13:33:48 2012 New Revision: 242766 URL: http://svnweb.freebsd.org/changeset/base/242766 Log: sh: Fix two issues when an alias is redefined: * The last character is not displayed. * If the alias ends with itself (as a word), an infinite memory-eating loop

Re: svn commit: r242747 - head/sys/kern

2012-11-08 Thread Alfred Perlstein
Never mind, I see what you did here. :) Thank you. Sent from my iPhone On Nov 8, 2012, at 12:54 AM, Alfred Perlstein wrote: > Please define a reasonable value for VM_MAX_KERNEL_ADDRESS on sparc64, it's > needed for autotuning. > > -Alfred > > On 11/8/12 12:10 AM, Marius Strobl wrote: >> Au

Re: svn commit: r242029 - head/sys/kern

2012-11-08 Thread Alfred Perlstein
On 11/8/12 1:22 AM, Garrett Cooper wrote: On Nov 8, 2012, at 1:13 AM, Alfred Perlstein wrote: Peter, I agree. It's certainly not perfect, however it's not nearly as bogus as what was there previously. I know "maxusers" is "wrong", however what it really means, if you think about it, is "gi

Re: svn commit: r242747 - head/sys/kern

2012-11-08 Thread Bruce Evans
On Thu, 8 Nov 2012, Marius Strobl wrote: Log: Make r242655 build on sparc64. While at it, make vm_{max,min}_kernel_address vm_offset_t as they should be. Er, they shouldn't be vm_offset_t. Modified: head/sys/kern/kern_malloc.c ===

Re: svn commit: r242029 - head/sys/kern

2012-11-08 Thread Andre Oppermann
On 08.11.2012 08:46, Peter Wemm wrote: On Wed, Nov 7, 2012 at 10:24 PM, Alfred Perlstein wrote: [[ + peter ]] Folks, I spent quite a bit of time trying to figure out how to resolve maxusers scaling in a happy way for all. I think I came up with a solution. This solution should work for i386,

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

2012-11-08 Thread Kevin Lo
Author: kevlo Date: Thu Nov 8 09:29:05 2012 New Revision: 242748 URL: http://svnweb.freebsd.org/changeset/base/242748 Log: Add new USB device ID. Modified: head/sys/dev/usb/usbdevs Modified: head/sys/dev/usb/usbdevs ===

Re: svn commit: r242029 - head/sys/kern

2012-11-08 Thread Garrett Cooper
On Nov 8, 2012, at 1:13 AM, Alfred Perlstein wrote: > Peter, > > I agree. > > It's certainly not perfect, however it's not nearly as bogus as what was > there previously. > > I know "maxusers" is "wrong", however what it really means, if you think > about it, is "give me a scaling factor that

Re: svn commit: r242029 - head/sys/kern

2012-11-08 Thread Alfred Perlstein
Peter, I agree. It's certainly not perfect, however it's not nearly as bogus as what was there previously. I know "maxusers" is "wrong", however what it really means, if you think about it, is "give me a scaling factor that is relative to physical ram, BUT capped at some value so as to not

Re: svn commit: r242747 - head/sys/kern

2012-11-08 Thread Alfred Perlstein
Please define a reasonable value for VM_MAX_KERNEL_ADDRESS on sparc64, it's needed for autotuning. -Alfred On 11/8/12 12:10 AM, Marius Strobl wrote: Author: marius Date: Thu Nov 8 08:10:32 2012 New Revision: 242747 URL: http://svnweb.freebsd.org/changeset/base/242747 Log: Make r242655 bui

svn commit: r242747 - head/sys/kern

2012-11-08 Thread Marius Strobl
Author: marius Date: Thu Nov 8 08:10:32 2012 New Revision: 242747 URL: http://svnweb.freebsd.org/changeset/base/242747 Log: Make r242655 build on sparc64. While at it, make vm_{max,min}_kernel_address vm_offset_t as they should be. Modified: head/sys/kern/kern_malloc.c Modified: head/sys/