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:

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

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: 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 is relative

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 Andre Oppermann
On 08.11.2012 08:46, Peter Wemm wrote: On Wed, Nov 7, 2012 at 10:24 PM, Alfred Perlstein bri...@mu.org 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

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 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 give

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 bri...@mu.org 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

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

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:

svn commit: r242768 - stable/9/lib/libc/sys

2012-11-08 Thread Jilles Tjoelker
Author: jilles Date: Thu Nov 8 13:40:46 2012 New Revision: 242768 URL: http://svnweb.freebsd.org/changeset/base/242768 Log: MFC r242429: fcntl(2): Fix typos in name of constant F_DUP2FD_CLOEXEC. Modified: stable/9/lib/libc/sys/fcntl.2 Directory Properties: stable/9/lib/libc/ (props

svn commit: r242770 - stable/8/lib/libc/sys

2012-11-08 Thread Jilles Tjoelker
Author: jilles Date: Thu Nov 8 13:43:20 2012 New Revision: 242770 URL: http://svnweb.freebsd.org/changeset/base/242770 Log: MFC r242429: fcntl(2): Fix typos in name of constant F_DUP2FD_CLOEXEC. Modified: stable/8/lib/libc/sys/fcntl.2 Directory Properties: stable/8/lib/libc/ (props

svn commit: r242771 - stable/9/lib/libc/stdio

2012-11-08 Thread Jilles Tjoelker
Author: jilles Date: Thu Nov 8 13:47:32 2012 New Revision: 242771 URL: http://svnweb.freebsd.org/changeset/base/242771 Log: MFC r242460: fopen(3): Mention that the x mode option is from C11. Modified: stable/9/lib/libc/stdio/fopen.3 Directory Properties: stable/9/lib/libc/ (props

svn commit: r242773 - stable/8/lib/libc/stdio

2012-11-08 Thread Jilles Tjoelker
Author: jilles Date: Thu Nov 8 13:50:33 2012 New Revision: 242773 URL: http://svnweb.freebsd.org/changeset/base/242773 Log: MFC r242460: fopen(3): Mention that the x mode option is from C11. Modified: stable/8/lib/libc/stdio/fopen.3 Directory Properties: stable/8/lib/libc/ (props

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:

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 spaces in

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: r242727 - head/sys/fs/fuse

2012-11-08 Thread Attilio Rao
On 11/8/12, Attilio Rao atti...@freebsd.org 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

svn commit: r242774 - stable/9/sys/dev/usb/controller

2012-11-08 Thread Hans Petter Selasky
Author: hselasky Date: Thu Nov 8 16:04:32 2012 New Revision: 242774 URL: http://svnweb.freebsd.org/changeset/base/242774 Log: MFC r238551 and r239617: Add support for Intel Panther/Lynx Point XHCI port routing. Modified: stable/9/sys/dev/usb/controller/xhci.c

svn commit: r242775 - in stable/9/sys/dev/usb: . controller input serial storage wlan

2012-11-08 Thread Hans Petter Selasky
Author: hselasky Date: Thu Nov 8 16:13:51 2012 New Revision: 242775 URL: http://svnweb.freebsd.org/changeset/base/242775 Log: MFC r240750, r241987 and r242126: Add missing CTLFLAG_TUN flag to tunable sysctls in the USB stack. Adjust timing parameters of FULL/LOW/HIGH speed USB enumeration

svn commit: r242776 - stable/9/sys/dev/usb/controller

2012-11-08 Thread Hans Petter Selasky
Author: hselasky Date: Thu Nov 8 16:17:52 2012 New Revision: 242776 URL: http://svnweb.freebsd.org/changeset/base/242776 Log: MFC r242523: Allow using the embedded EHCI host controller in Freescale SoCs by adding the missing bits. See ehci_fsl.c for their use. Modified:

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:

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: 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

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

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: 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

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

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 bri...@mu.org 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

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:

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: 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

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

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: r242809 - stable/8/etc

2012-11-08 Thread Eitan Adler
Author: eadler Date: Fri Nov 9 00:35:54 2012 New Revision: 242809 URL: http://svnweb.freebsd.org/changeset/base/242809 Log: MFC r242462: 10 years too late add support for 2.88MB 3.5in Extra High Density floppies. Its unlikely that anyone actually uses these or cares

svn commit: r242810 - stable/9/etc

2012-11-08 Thread Eitan Adler
Author: eadler Date: Fri Nov 9 00:35:55 2012 New Revision: 242810 URL: http://svnweb.freebsd.org/changeset/base/242810 Log: MFC r242462: 10 years too late add support for 2.88MB 3.5in Extra High Density floppies. Its unlikely that anyone actually uses these or cares

svn commit: r242811 - stable/7/etc

2012-11-08 Thread Eitan Adler
Author: eadler Date: Fri Nov 9 00:35:55 2012 New Revision: 242811 URL: http://svnweb.freebsd.org/changeset/base/242811 Log: MFC r242462: 10 years too late add support for 2.88MB 3.5in Extra High Density floppies. Its unlikely that anyone actually uses these or cares

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: 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 j...@transactionware.com Approved by:

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. bf1...@googlemail.com Modified:

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:

svn commit: r242819 - stable/9/sys/dev/usb/net

2012-11-08 Thread Hans Petter Selasky
Author: hselasky Date: Fri Nov 9 06:58:23 2012 New Revision: 242819 URL: http://svnweb.freebsd.org/changeset/base/242819 Log: MFC r238466 and r242777: Implement non-PHY support in the udav driver. Modified: stable/9/sys/dev/usb/net/if_udav.c stable/9/sys/dev/usb/net/if_udavreg.h

svn commit: r242820 - in stable/9/sys/dev: atkbdc isci/scil usb/serial

2012-11-08 Thread Hans Petter Selasky
Author: hselasky Date: Fri Nov 9 07:05:28 2012 New Revision: 242820 URL: http://svnweb.freebsd.org/changeset/base/242820 Log: MFC r240743 and r234418: Fix some typos. Modified: stable/9/sys/dev/atkbdc/psm.c stable/9/sys/dev/isci/scil/scic_sds_phy.c

svn commit: r242821 - in stable/9/sys/dev/usb: . quirk storage

2012-11-08 Thread Hans Petter Selasky
Author: hselasky Date: Fri Nov 9 07:12:31 2012 New Revision: 242821 URL: http://svnweb.freebsd.org/changeset/base/242821 Log: MFC r241432, r242628 and r242364: Remove ancient mass storage gone checks. Add some more mass storage related quirks. Improve auto-quirk detection for mass

svn commit: r242822 - in stable/9/sys/dev: sound/usb usb usb/quirk

2012-11-08 Thread Hans Petter Selasky
Author: hselasky Date: Fri Nov 9 07:29:11 2012 New Revision: 242822 URL: http://svnweb.freebsd.org/changeset/base/242822 Log: MFC r242127, r240078, r240609, r241988, r242129, r242223, r242438, r242453, r242455 and r242458: Add full support for Fast Track Ultra 8R from M-audio.