svn commit: r243142 - in head/sys: fs/nfsclient kern sys

2012-11-16 Thread Konstantin Belousov
Author: kib Date: Fri Nov 16 08:25:06 2012 New Revision: 243142 URL: http://svnweb.freebsd.org/changeset/base/243142 Log: In pget(9), if PGET_NOTWEXIT flag is not specified, also search the zombie list for the pid. This allows several kern.proc sysctls to report useful information for zombie

svn commit: r243144 - head/lib/libc/sys

2012-11-16 Thread Kevin Lo
Author: kevlo Date: Fri Nov 16 09:56:25 2012 New Revision: 243144 URL: http://svnweb.freebsd.org/changeset/base/243144 Log: Document that rtprio(2) and rtprio_thread(2) can fail with EFAULT due to the invoked copyout(9). Reviewed by: davidxu Modified: head/lib/libc/sys/rtprio.2 Modif

Re: svn commit: r243076 - head/usr.sbin/chkgrp

2012-11-16 Thread Bruce Evans
On Thu, 15 Nov 2012, Konstantin Belousov wrote: On Thu, Nov 15, 2012 at 01:52:46PM -0500, Eitan Adler wrote: On 15 November 2012 11:52, Bruce Evans wrote: strtoul("1garbage", NULL, 10) succeeds and returns value 1, but the input is garbage. This case is covered earlier 160 /* check

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

2012-11-16 Thread Joel Dahl
Author: joel (doc committer) Date: Fri Nov 16 11:56:53 2012 New Revision: 243145 URL: http://svnweb.freebsd.org/changeset/base/243145 Log: Remove trailing whitespace. Modified: head/share/man/man9/malloc.9 Modified: head/share/man/man9/malloc.9 ===

svn commit: r243146 - head/lib/libc/gen

2012-11-16 Thread Joel Dahl
Author: joel (doc committer) Date: Fri Nov 16 12:03:50 2012 New Revision: 243146 URL: http://svnweb.freebsd.org/changeset/base/243146 Log: mdoc: Use the Ev macro for environmental variables. Modified: head/lib/libc/gen/getbsize.3 Modified: head/lib/libc/gen/getbsize.3 ===

svn commit: r243147 - head/usr.bin/fetch

2012-11-16 Thread Andre Oppermann
Author: andre Date: Fri Nov 16 12:05:10 2012 New Revision: 243147 URL: http://svnweb.freebsd.org/changeset/base/243147 Log: Change fetch(1) to: o Report the instantaneous bandwidth instead of an average since the beginning of the download. o At the finish of the download report the

svn commit: r243148 - head/sys/netinet6

2012-11-16 Thread Andrey V. Elsukov
Author: ae Date: Fri Nov 16 12:12:02 2012 New Revision: 243148 URL: http://svnweb.freebsd.org/changeset/base/243148 Log: Reduce the overhead of locking, use IF_AFDATA_RLOCK() when we are doing simple lookups. Sponsored by: Yandex LLC MFC after:1 week Modified: head/sys/netinet6/i

svn commit: r243149 - head/lib/libfetch

2012-11-16 Thread Dag-Erling Smørgrav
Author: des Date: Fri Nov 16 12:31:43 2012 New Revision: 243149 URL: http://svnweb.freebsd.org/changeset/base/243149 Log: Fix weird indentation. Modified: head/lib/libfetch/http.c Modified: head/lib/libfetch/http.c =

svn commit: r243151 - head/share/man/man4

2012-11-16 Thread Gleb Smirnoff
Author: glebius Date: Fri Nov 16 14:00:27 2012 New Revision: 243151 URL: http://svnweb.freebsd.org/changeset/base/243151 Log: o Remove meaningless PROTOCOLS section. o Describe passing file descriptors as separate section. - Descriptors can be passed through any protocol of the UNIX family

svn commit: r243152 - head/sys/kern

2012-11-16 Thread Gleb Smirnoff
Author: glebius Date: Fri Nov 16 14:00:54 2012 New Revision: 243152 URL: http://svnweb.freebsd.org/changeset/base/243152 Log: Update comment. Modified: head/sys/kern/uipc_usrreq.c Modified: head/sys/kern/uipc_usrreq.c ==

Re: svn commit: r243130 - head/etc/root

2012-11-16 Thread Eitan Adler
On 16 November 2012 01:04, Jan Beich wrote: > Eitan Adler writes: > >> Author: eadler >> Date: Fri Nov 16 04:25:35 2012 >> New Revision: 243130 >> URL: http://svnweb.freebsd.org/changeset/base/243130 >> >> Log: >> dot.login is supposed to be for bourne shell, not csh > > Can you explain better

svn commit: r243153 - head/etc/root

2012-11-16 Thread Eitan Adler
Author: eadler Date: Fri Nov 16 14:25:13 2012 New Revision: 243153 URL: http://svnweb.freebsd.org/changeset/base/243153 Log: last commit was a mistake Pointyhat to: me (for real) Approved by: cperciva (implicit) Modified: head/etc/root/dot.login Modified: head/etc/root/dot.login =

svn commit: r243154 - head/share/man/man4

2012-11-16 Thread Joel Dahl
Author: joel (doc committer) Date: Fri Nov 16 14:30:40 2012 New Revision: 243154 URL: http://svnweb.freebsd.org/changeset/base/243154 Log: Remove trailing whitespace. Modified: head/share/man/man4/unix.4 Modified: head/share/man/man4/unix.4 ===

svn commit: r243155 - head/share/misc

2012-11-16 Thread Eitan Adler
Author: eadler Date: Fri Nov 16 14:46:32 2012 New Revision: 243155 URL: http://svnweb.freebsd.org/changeset/base/243155 Log: Correct spelling of "lily" [0] Correct spelling of Camellia PR: misc/173655 [0] Submitted by: John Ryan [0] Approved by: cperciva MFC after:1

svn commit: r243156 - head/lib/libc/net

2012-11-16 Thread Kevin Lo
Author: kevlo Date: Fri Nov 16 15:02:35 2012 New Revision: 243156 URL: http://svnweb.freebsd.org/changeset/base/243156 Log: - the preferred way to write a NULL pointer constant is with NULL - whitespace nit Reviewed by: glebius Modified: head/lib/libc/net/getnetent.3 head/lib/libc/n

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

2012-11-16 Thread mdf
On Thu, Nov 15, 2012 at 10:25 PM, Konstantin Belousov wrote: > Author: kib > Date: Fri Nov 16 06:25:20 2012 > New Revision: 243134 > URL: http://svnweb.freebsd.org/changeset/base/243134 > > Log: > Alphabetically reorder the forward-declarations of the structures. > Add the declaration for enum

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

2012-11-16 Thread Konstantin Belousov
On Fri, Nov 16, 2012 at 08:02:39AM -0800, m...@freebsd.org wrote: > On Thu, Nov 15, 2012 at 10:25 PM, Konstantin Belousov > wrote: > > Author: kib > > Date: Fri Nov 16 06:25:20 2012 > > New Revision: 243134 > > URL: http://svnweb.freebsd.org/changeset/base/243134 > > > > Log: > > Alphabetically

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

2012-11-16 Thread Bruce Evans
On Fri, 16 Nov 2012, Konstantin Belousov wrote: On Fri, Nov 16, 2012 at 08:02:39AM -0800, m...@freebsd.org wrote: On Thu, Nov 15, 2012 at 10:25 PM, Konstantin Belousov wrote: Author: kib Date: Fri Nov 16 06:25:20 2012 New Revision: 243134 URL: http://svnweb.freebsd.org/changeset/base/243134

svn commit: r243157 - head/sys/netinet

2012-11-16 Thread Michael Tuexen
Author: tuexen Date: Fri Nov 16 19:39:10 2012 New Revision: 243157 URL: http://svnweb.freebsd.org/changeset/base/243157 Log: Get the accounting working. We now have counters how many chunks for each SCTP outgoing stream are in the send and sent queue. While there, improve the naming of NR-

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

2012-11-16 Thread Adrian Chadd
Author: adrian Date: Fri Nov 16 19:39:29 2012 New Revision: 243158 URL: http://svnweb.freebsd.org/changeset/base/243158 Log: ath(4) ALQ logging improvements. * Add a new method which allows the driver to push the MAC/phy/hal info into the logging stream. * Add a new ALQ logging entry

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

2012-11-16 Thread Adrian Chadd
Author: adrian Date: Fri Nov 16 19:57:16 2012 New Revision: 243162 URL: http://svnweb.freebsd.org/changeset/base/243162 Log: ALQ logging enhancements: * upon setup, tell the alq code what the chip information is. * add TX/RX path logging for legacy chips. * populate the tx/rx descriptor

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

2012-11-16 Thread Adrian Chadd
Author: adrian Date: Fri Nov 16 19:58:15 2012 New Revision: 243163 URL: http://svnweb.freebsd.org/changeset/base/243163 Log: * Remove a duplicate TX ALQ post routine! * For CABQ traffic, I -can- chain them together using the next pointer and just push that particular chain head to the CABQ

svn commit: r243164 - head/sys/dev/ath/ath_hal/ar5416

2012-11-16 Thread Adrian Chadd
Author: adrian Date: Fri Nov 16 20:04:45 2012 New Revision: 243164 URL: http://svnweb.freebsd.org/changeset/base/243164 Log: I'm not sure why ah_desc.h was required here, but it doesn't _need_ to be. So, just toss it. There's no options or ah_desc fields in here. Whilst I'm here, fix

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

2012-11-16 Thread Konstantin Belousov
On Sat, Nov 17, 2012 at 04:24:06AM +1100, Bruce Evans wrote: > On Fri, 16 Nov 2012, Konstantin Belousov wrote: > > > On Fri, Nov 16, 2012 at 08:02:39AM -0800, m...@freebsd.org wrote: > >> On Thu, Nov 15, 2012 at 10:25 PM, Konstantin Belousov > >> wrote: > >>> Author: kib > >>> Date: Fri Nov 16 0

Re: svn commit: r242625 - in head/sys: dev/ale dev/ata dev/ata/chipsets dev/ath/ath_hal/ar5212 dev/bge dev/cas dev/dc dev/flash dev/fxp dev/gem dev/lge dev/mii dev/nge dev/pci dev/re dev/sis dev/ste d

2012-11-16 Thread Peter Jeremy
On 2012-Nov-05 23:45:00 +0100, Dimitry Andric wrote: >On 2012-11-05 23:36, Adrian Chadd wrote: >> I'm fine with the change, but why didn't you run this by the various >> driver owners first before doing a drive-by commit? > >The change was trivial, and did not cause any binary difference. I see >

svn commit: r243165 - head/share/mk

2012-11-16 Thread Marcel Moolenaar
Author: marcel Date: Sat Nov 17 00:07:28 2012 New Revision: 243165 URL: http://svnweb.freebsd.org/changeset/base/243165 Log: Install bsd.progs.mk, needed by bsd.test.mk and thus by atf.test.mk. Modified: head/share/mk/Makefile Modified: head/share/mk/Makefile

svn commit: r243166 - head/tools/tools/ath/athalq

2012-11-16 Thread Adrian Chadd
Author: adrian Date: Sat Nov 17 01:11:00 2012 New Revision: 243166 URL: http://svnweb.freebsd.org/changeset/base/243166 Log: Implement a basic data decoder for the data produced by if_ath_alq. This decodes the AR5416 family 11n TX and RX descriptors. Added: head/tools/tools/ath/athalq/

svn commit: r243167 - head/tools/tools/ath/athalq

2012-11-16 Thread Adrian Chadd
Author: adrian Date: Sat Nov 17 01:57:45 2012 New Revision: 243167 URL: http://svnweb.freebsd.org/changeset/base/243167 Log: Add AR5212 frame decoding support. Added: head/tools/tools/ath/athalq/ar5212_ds.c (contents, props changed) head/tools/tools/ath/athalq/ar5212_ds.h (contents, pro

svn commit: r243168 - head/sys/dev/ath/ath_hal/ar5212

2012-11-16 Thread Adrian Chadd
Author: adrian Date: Sat Nov 17 02:00:33 2012 New Revision: 243168 URL: http://svnweb.freebsd.org/changeset/base/243168 Log: Remove the ah_desc.h reference; it's not needed. I'm using these descriptor header files in userland and I'm trying to avoid populating a compatibility ah_desc.h fi

svn commit: r243169 - head/sys/dev/ath/ath_hal/ar5212

2012-11-16 Thread Adrian Chadd
Author: adrian Date: Sat Nov 17 02:02:36 2012 New Revision: 243169 URL: http://svnweb.freebsd.org/changeset/base/243169 Log: .. include ah_desc.h here now. Modified: head/sys/dev/ath/ath_hal/ar5212/ar5212_recv.c head/sys/dev/ath/ath_hal/ar5212/ar5212_xmit.c Modified: head/sys/dev/ath/ath_h

svn commit: r243170 - head/tools/tools/ath/athalq

2012-11-16 Thread Adrian Chadd
Author: adrian Date: Sat Nov 17 02:14:50 2012 New Revision: 243170 URL: http://svnweb.freebsd.org/changeset/base/243170 Log: Add AR5211 descriptor decoding support. Added: head/tools/tools/ath/athalq/ar5211_ds.c (contents, props changed) head/tools/tools/ath/athalq/ar5211_ds.h (contents

svn commit: r243171 - head/tools/tools/ath/athalq

2012-11-16 Thread Adrian Chadd
Author: adrian Date: Sat Nov 17 02:37:25 2012 New Revision: 243171 URL: http://svnweb.freebsd.org/changeset/base/243171 Log: Implement AR5210 descriptor decoding. Added: head/tools/tools/ath/athalq/ar5210_ds.c (contents, props changed) head/tools/tools/ath/athalq/ar5210_ds.h (contents,

svn commit: r243172 - head/tools/tools/ath/athalq

2012-11-16 Thread Adrian Chadd
Author: adrian Date: Sat Nov 17 02:38:36 2012 New Revision: 243172 URL: http://svnweb.freebsd.org/changeset/base/243172 Log: Make this a flag. Modified: head/tools/tools/ath/athalq/ar5210_ds.c Modified: head/tools/tools/ath/athalq/ar5210_ds.c =

svn commit: r243173 - head/sys/dev/ath/ath_hal/ar5210

2012-11-16 Thread Adrian Chadd
Author: adrian Date: Sat Nov 17 02:39:09 2012 New Revision: 243173 URL: http://svnweb.freebsd.org/changeset/base/243173 Log: * Remove ah_desc.h, it's not needed * Add some shifts that I'm using in userspace (athalq.) However, this exposes a fun little bug.. Modified: head/sys/dev/ath/a

svn commit: r243174 - head/sys/dev/ath/ath_hal/ar5210

2012-11-16 Thread Adrian Chadd
Author: adrian Date: Sat Nov 17 02:39:37 2012 New Revision: 243174 URL: http://svnweb.freebsd.org/changeset/base/243174 Log: Correctly populate the RTS field. Tested: * AR5210, STA mode, RTS enabled Modified: head/sys/dev/ath/ath_hal/ar5210/ar5210_xmit.c Modified: head/sys/dev/a

svn commit: r243176 - head/sys/vm

2012-11-16 Thread Alan Cox
Author: alc Date: Sat Nov 17 04:00:19 2012 New Revision: 243176 URL: http://svnweb.freebsd.org/changeset/base/243176 Log: Update a comment to reflect the elimination of the hold queue in r242300. Modified: head/sys/vm/vm_page.h Modified: head/sys/vm/vm_page.h

svn commit: r243177 - in head/sys/mips: atheros conf

2012-11-16 Thread Adrian Chadd
Author: adrian Date: Sat Nov 17 04:05:46 2012 New Revision: 243177 URL: http://svnweb.freebsd.org/changeset/base/243177 Log: Migrate the AR71xx UART (an 8250 derivative) to hide behind uart_ar71xx. The AR9330/AR9331 UART is a totally different thing, so having it included with 'uart' is n

svn commit: r243178 - head/sys/conf

2012-11-16 Thread Adrian Chadd
Author: adrian Date: Sat Nov 17 04:09:28 2012 New Revision: 243178 URL: http://svnweb.freebsd.org/changeset/base/243178 Log: make the MIPS24k HWPMC support require hwpmc_mips24k as well as hwpmc. This way non-MIPS24k platforms (eg Octeon) can have separate PMC support. Requested by: ju

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

2012-11-16 Thread Adrian Chadd
Author: adrian Date: Sat Nov 17 04:10:42 2012 New Revision: 243179 URL: http://svnweb.freebsd.org/changeset/base/243179 Log: Make MIPS24k PMC optional on "hwpmc_mips24k." Requested by: juli Modified: head/sys/mips/atheros/files.ar71xx Modified: head/sys/mips/atheros/files.ar71xx ===

svn commit: r243180 - head/sys/mips/conf

2012-11-16 Thread Adrian Chadd
Author: adrian Date: Sat Nov 17 04:11:57 2012 New Revision: 243180 URL: http://svnweb.freebsd.org/changeset/base/243180 Log: Ensure hwpmc support is correctly included. Modified: head/sys/mips/conf/AR91XX_BASE Modified: head/sys/mips/conf/AR91XX_BASE =

Re: svn commit: r243179 - head/sys/mips/atheros

2012-11-16 Thread Juli Mallett
On Fri, Nov 16, 2012 at 8:10 PM, Adrian Chadd wrote: > Author: adrian > Date: Sat Nov 17 04:10:42 2012 > New Revision: 243179 > URL: http://svnweb.freebsd.org/changeset/base/243179 > > Log: > Make MIPS24k PMC optional on "hwpmc_mips24k." > I think having it in files.mips should be sufficient?

svn commit: r243181 - head/sys/dev/sound/pci/hda

2012-11-16 Thread Alexander Motin
Author: mav Date: Sat Nov 17 06:33:13 2012 New Revision: 243181 URL: http://svnweb.freebsd.org/changeset/base/243181 Log: Summarize information about connected analog pins and EDID-like data received from HDMI/DisplayPort devices in form of general connection status and sound(4)-style channe