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

2011-03-31 Thread Lawrence Stewart
Author: lstewart Date: Fri Apr 1 06:28:21 2011 New Revision: 220237 URL: http://svn.freebsd.org/changeset/base/220237 Log: Add a missing .El macro. Modified: head/share/man/man4/cc_chd.4 Modified: head/share/man/man4/cc_chd.4 =

svn commit: r220236 - head/sys/conf

2011-03-31 Thread Kevin Lo
Author: kevlo Date: Fri Apr 1 03:41:41 2011 New Revision: 220236 URL: http://svn.freebsd.org/changeset/base/220236 Log: Add 'mos' interface to NOTES Modified: head/sys/conf/NOTES Modified: head/sys/conf/NOTES == ---

svn commit: r220235 - head/sys/dev/usb/wlan

2011-03-31 Thread Kevin Lo
Author: kevlo Date: Fri Apr 1 03:27:55 2011 New Revision: 220235 URL: http://svn.freebsd.org/changeset/base/220235 Log: - Minor style(9) cleanup - Make functions static Modified: head/sys/dev/usb/wlan/if_run.c Modified: head/sys/dev/usb/wlan/if_run.c ==

svn commit: r220234 - head/sys/dev/bxe

2011-03-31 Thread Pyun YongHyeon
Author: yongari Date: Fri Apr 1 01:30:21 2011 New Revision: 220234 URL: http://svn.freebsd.org/changeset/base/220234 Log: Make bxe(4) build with BXE_DEBUG. Modified: head/sys/dev/bxe/if_bxe.c Modified: head/sys/dev/bxe/if_bxe.c ===

svn commit: r220233 - head/share/examples

2011-03-31 Thread Ed Maste
Author: emaste Date: Fri Apr 1 01:13:30 2011 New Revision: 220233 URL: http://svn.freebsd.org/changeset/base/220233 Log: Unbreak installworld after r220205. Noticed by: np Pointy hat to:emaste Modified: head/share/examples/Makefile Modified: head/share/examples/Makefile ===

svn commit: r220232 - in head/sys/dev/cxgbe: . common

2011-03-31 Thread Navdeep Parhar
Author: np Date: Fri Apr 1 00:40:24 2011 New Revision: 220232 URL: http://svn.freebsd.org/changeset/base/220232 Log: Update header and related code for firmware 1.3.8 MFC after:3 days Modified: head/sys/dev/cxgbe/common/common.h head/sys/dev/cxgbe/common/t4fw_interface.h head/sy

svn commit: r220231 - in head/sys/modules/cxgbe: . if_cxgbe

2011-03-31 Thread Navdeep Parhar
Author: np Date: Fri Apr 1 00:25:32 2011 New Revision: 220231 URL: http://svn.freebsd.org/changeset/base/220231 Log: Allow multiple modules within sys/modules/cxgbe. The first one is if_cxgbe. MFC after:3 days Added: head/sys/modules/cxgbe/if_cxgbe/ head/sys/modules/cxgbe/if_cxgb

svn commit: r220230 - head/sys/dev/bxe

2011-03-31 Thread David Christensen
Author: davidch Date: Thu Mar 31 22:50:55 2011 New Revision: 220230 URL: http://svn.freebsd.org/changeset/base/220230 Log: - Fixed build problem when not useing BXE_DEBUG. MFC after:One week. Modified: head/sys/dev/bxe/if_bxe.c Modified: head/sys/dev/bxe/if_bxe.c ===

svn commit: r220229 - head/sys/dev/bxe

2011-03-31 Thread David Christensen
Author: davidch Date: Thu Mar 31 22:40:44 2011 New Revision: 220229 URL: http://svn.freebsd.org/changeset/base/220229 Log: - Freshened debug support code. - Renamed several RX variable for more consistent usage. - Fixed a potential problem when masking RX CQ producer value. MFC after:

svn commit: r220228 - head/sys/dev/bxe

2011-03-31 Thread David Christensen
Author: davidch Date: Thu Mar 31 22:04:00 2011 New Revision: 220228 URL: http://svn.freebsd.org/changeset/base/220228 Log: - Fixed DMA engine errors by increasing timeouts to 200ms for reads/writes. - Improved some error reporting calls to include file name/line number. - Various style(9) fi

svn commit: r220227 - head/sys/tools

2011-03-31 Thread Ryan Stone
Author: rstone Date: Thu Mar 31 21:33:33 2011 New Revision: 220227 URL: http://svn.freebsd.org/changeset/base/220227 Log: GNU awk does not output escaped newlines in multi-line printc statements. This leads to compile errors when trying to compile firmware(9) stubs created with gawk, as mult

svn commit: r220226 - head/sys/dev/bxe

2011-03-31 Thread David Christensen
Author: davidch Date: Thu Mar 31 21:30:00 2011 New Revision: 220226 URL: http://svn.freebsd.org/changeset/base/220226 Log: - Added debug support to monitor mbuf defrag attempts/failures. MFC after:One week. Modified: head/sys/dev/bxe/if_bxe.c head/sys/dev/bxe/if_bxe.h Modified: he

svn commit: r220224 - head/sys/dev/bxe

2011-03-31 Thread David Christensen
Author: davidch Date: Thu Mar 31 21:01:10 2011 New Revision: 220224 URL: http://svn.freebsd.org/changeset/base/220224 Log: - Print number of queues when RSS is enabled. - Improve reporting of media type (not always 10GBase-CX4). MFC after:One week Modified: head/sys/dev/bxe/if_bxe.

svn commit: r220223 - head/sys/dev/bxe

2011-03-31 Thread David Christensen
Author: davidch Date: Thu Mar 31 20:46:50 2011 New Revision: 220223 URL: http://svn.freebsd.org/changeset/base/220223 Log: - Fixed a problem where the stack passed a TSO frame larger than the 64K size allowed by the DMA descriptor for TSO frames. MFC after: One week Modified: he

Re: svn commit: r220185 - in head/sys: amd64/conf arm/conf conf dev/ath i386/conf mips/conf modules modules/ath modules/ath_ahb modules/ath_pci pc98/conf sparc64/conf

2011-03-31 Thread Warner Losh
On Mar 31, 2011, at 1:58 PM, John Baldwin wrote: > On Thursday, March 31, 2011 3:29:11 pm Warner Losh wrote: >> >> On Mar 31, 2011, at 5:40 AM, John Baldwin wrote: >> >>> On Thursday, March 31, 2011 4:07:13 am Adrian Chadd wrote: Author: adrian Date: Thu Mar 31 08:07:13 2011 New

Re: svn commit: r220185 - in head/sys: amd64/conf arm/conf conf dev/ath i386/conf mips/conf modules modules/ath modules/ath_ahb modules/ath_pci pc98/conf sparc64/conf

2011-03-31 Thread John Baldwin
On Thursday, March 31, 2011 3:29:11 pm Warner Losh wrote: > > On Mar 31, 2011, at 5:40 AM, John Baldwin wrote: > > > On Thursday, March 31, 2011 4:07:13 am Adrian Chadd wrote: > >> Author: adrian > >> Date: Thu Mar 31 08:07:13 2011 > >> New Revision: 220185 > >> URL: http://svn.freebsd.org/change

Re: svn commit: r220185 - in head/sys: amd64/conf arm/conf conf dev/ath i386/conf mips/conf modules modules/ath modules/ath_ahb modules/ath_pci pc98/conf sparc64/conf

2011-03-31 Thread Warner Losh
On Mar 31, 2011, at 5:40 AM, John Baldwin wrote: > On Thursday, March 31, 2011 4:07:13 am Adrian Chadd wrote: >> Author: adrian >> Date: Thu Mar 31 08:07:13 2011 >> New Revision: 220185 >> URL: http://svn.freebsd.org/changeset/base/220185 >> >> Log: >> Break out the ath PCI logic into a separat

svn commit: r220222 - head/sys/kern

2011-03-31 Thread Edward Tomasz Napierala
Author: trasz Date: Thu Mar 31 19:22:11 2011 New Revision: 220222 URL: http://svn.freebsd.org/changeset/base/220222 Log: Enable accounting for RACCT_NPROC and RACCT_NTHR. Sponsored by: The FreeBSD Foundation Reviewed by: kib (earlier version) Modified: head/sys/kern/init_main.c head

svn commit: r220221 - in vendor/NetBSD/libedit/2010-06-01: . TEST readline

2011-03-31 Thread David E. O'Brien
Author: obrien Date: Thu Mar 31 18:35:44 2011 New Revision: 220221 URL: http://svn.freebsd.org/changeset/base/220221 Log: "Tag" the "2010/06/01 18:20:26 UTC" import. Added: vendor/NetBSD/libedit/2010-06-01/ - copied from r220218, vendor/NetBSD/libedit/dist/ vendor/NetBSD/libedit/2010-0

svn commit: r220220 - in vendor/NetBSD/libedit/dist: . TEST readline

2011-03-31 Thread David E. O'Brien
Author: obrien Date: Thu Mar 31 18:34:50 2011 New Revision: 220220 URL: http://svn.freebsd.org/changeset/base/220220 Log: Vendor import NetBSD's libedit of "2010/06/01 18:20:26 UTC". Obtained from:NetBSD Added: vendor/NetBSD/libedit/dist/TEST/wtc1.c (contents, props changed)

svn commit: r220219 - in vendor/NetBSD/libedit/2007-01-12: . TEST readline

2011-03-31 Thread David E. O'Brien
Author: obrien Date: Thu Mar 31 18:32:01 2011 New Revision: 220219 URL: http://svn.freebsd.org/changeset/base/220219 Log: "Tag" the "2007/01/12 16:31:13 UTC" import. Added: vendor/NetBSD/libedit/2007-01-12/ - copied from r220217, vendor/NetBSD/libedit/dist/ vendor/NetBSD/libedit/2007-0

svn commit: r220218 - in vendor/NetBSD/libedit/dist: . TEST readline

2011-03-31 Thread David E. O'Brien
Author: obrien Date: Thu Mar 31 18:31:27 2011 New Revision: 220218 URL: http://svn.freebsd.org/changeset/base/220218 Log: Vendor import NetBSD's libedit of "2007/01/12 16:31:13 UTC". Obtained from:NetBSD Added: vendor/NetBSD/libedit/dist/TEST/tc1.c (contents, props changed) Del

svn commit: r220217 - vendor/NetBSD/libedit/2006-03-23

2011-03-31 Thread David E. O'Brien
Author: obrien Date: Thu Mar 31 18:29:20 2011 New Revision: 220217 URL: http://svn.freebsd.org/changeset/base/220217 Log: "Tag" the "2006/03/23 20:22:51 UTC" import. Added: vendor/NetBSD/libedit/2006-03-23/ - copied from r220214, vendor/NetBSD/libedit/dist/ Replaced: vendor/NetBSD/libe

svn commit: r220216 - vendor/NetBSD/libedit/dist

2011-03-31 Thread David E. O'Brien
Author: obrien Date: Thu Mar 31 18:28:46 2011 New Revision: 220216 URL: http://svn.freebsd.org/changeset/base/220216 Log: Vendor import NetBSD's libedit of "2006/03/23 20:22:51 UTC". Obtained from:NetBSD Modified: vendor/NetBSD/libedit/dist/chared.h vendor/NetBSD/libedit/dist/c

svn commit: r220215 - vendor/NetBSD/libedit/2005-11-09

2011-03-31 Thread David E. O'Brien
Author: obrien Date: Thu Mar 31 18:28:09 2011 New Revision: 220215 URL: http://svn.freebsd.org/changeset/base/220215 Log: "Tag" the "2005/11/09 22:11:10 UTC" import. Added: vendor/NetBSD/libedit/2005-11-09/ - copied from r220214, vendor/NetBSD/libedit/dist/ __

svn commit: r220214 - vendor/NetBSD/libedit/dist

2011-03-31 Thread David E. O'Brien
Author: obrien Date: Thu Mar 31 18:23:38 2011 New Revision: 220214 URL: http://svn.freebsd.org/changeset/base/220214 Log: Vendor import NetBSD's libedit of "2005/11/09 22:11:10 UTC". Obtained from:NetBSD Modified: vendor/NetBSD/libedit/dist/chared.c vendor/NetBSD/libedit/dist/c

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

2011-03-31 Thread John Baldwin
On Thursday, March 31, 2011 11:40:08 am Randall Stewart wrote: > John: > > So I caught up with Dave Thaler here at the IETF... > > He said that NO UDP socket that has NOT joined a multicast > group should ever receive a packet sent to a multicast address. > He also said this was part of the POSIX

svn commit: r220212 - head/sys/kern

2011-03-31 Thread Edward Tomasz Napierala
Author: trasz Date: Thu Mar 31 18:12:04 2011 New Revision: 220212 URL: http://svn.freebsd.org/changeset/base/220212 Log: Notify racct when process credentials change. Sponsored by: The FreeBSD Foundation Reviewed by: kib (earlier version) Modified: head/sys/kern/kern_prot.c Modified:

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

2011-03-31 Thread Andrey V. Elsukov
Author: ae Date: Thu Mar 31 16:30:14 2011 New Revision: 220211 URL: http://svn.freebsd.org/changeset/base/220211 Log: Fill up src_port and dst_port variables for SCTP over IPv4. PR: kern/153415 MFC after:1 week Modified: head/sys/netinet/ipfw/ip_fw2.c Modified: head/sys/

svn commit: r220210 - head/sys/geom/raid

2011-03-31 Thread Alexander Motin
Author: mav Date: Thu Mar 31 16:19:53 2011 New Revision: 220210 URL: http://svn.freebsd.org/changeset/base/220210 Log: Bunch of small bugfixes and cleanups. Found with: Clang Static Analyzer Modified: head/sys/geom/raid/g_raid.c head/sys/geom/raid/md_intel.c head/sys/geom/raid/md_j

svn commit: r220209 - head/sys/geom/raid

2011-03-31 Thread Alexander Motin
Author: mav Date: Thu Mar 31 16:14:35 2011 New Revision: 220209 URL: http://svn.freebsd.org/changeset/base/220209 Log: Bunch of small bugfixes and cleanups. Found with: Coverity Prevent(tm) CID:9656, 9658, 9693, 9705, 9706, 9707, 9808, 9809, 9810, 9711, 971

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

2011-03-31 Thread Daniel Eischen
On Thu, 31 Mar 2011, Randall Stewart wrote: John: So I caught up with Dave Thaler here at the IETF... He said that NO UDP socket that has NOT joined a multicast group should ever receive a packet sent to a multicast address. He also said this was part of the POSIX API and the way all Unix mach

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

2011-03-31 Thread Randall Stewart
John: So I caught up with Dave Thaler here at the IETF... He said that NO UDP socket that has NOT joined a multicast group should ever receive a packet sent to a multicast address. He also said this was part of the POSIX API and the way all Unix machines worked. So.. no it is a bug and the fix

svn commit: r220206 - head/sys/netipsec

2011-03-31 Thread Fabien Thomas
Author: fabient Date: Thu Mar 31 15:23:32 2011 New Revision: 220206 URL: http://svn.freebsd.org/changeset/base/220206 Log: Optimisation in IPSEC(4): - Remove contention on ISR during the crypto operation by using rwlock(9). - Remove a second lookup of the SA in the callback. Gain on 6 c

svn commit: r220205 - head/share/examples/kld/firmware/fwimage

2011-03-31 Thread Ed Maste
Author: emaste Date: Thu Mar 31 15:12:40 2011 New Revision: 220205 URL: http://svn.freebsd.org/changeset/base/220205 Log: Avoid having a binary file in our source tree and instead create it at build time, to avoid possible grief maintaining FreeBSD source in alternative version control tools

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

2011-03-31 Thread Andrey V. Elsukov
Author: ae Date: Thu Mar 31 15:11:12 2011 New Revision: 220204 URL: http://svn.freebsd.org/changeset/base/220204 Log: Fix malloc types. MFC after:1 week Modified: head/sys/netinet/ipfw/ip_dn_glue.c Modified: head/sys/netinet/ipfw/ip_dn_glue.c

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

2011-03-31 Thread Andrey V. Elsukov
Author: ae Date: Thu Mar 31 15:10:41 2011 New Revision: 220203 URL: http://svn.freebsd.org/changeset/base/220203 Log: Fix a memory leak. Memory that is allocated for schedulers hash table was not freed. PR: kern/156083 MFC after:1 week Modified: head/sys/netinet/ipfw/ip

svn commit: r220201 - head/usr.bin/compress/doc

2011-03-31 Thread Ed Maste
Author: emaste Date: Thu Mar 31 14:35:33 2011 New Revision: 220201 URL: http://svn.freebsd.org/changeset/base/220201 Log: Remove $Log$ keyword, which can cause annoyance in diffs in some cases. Revision control tools have a history command to obtain this information. Modified: head/usr.bin/

svn commit: r220200 - head/usr.sbin/pkg_install

2011-03-31 Thread Ed Maste
Author: emaste Date: Thu Mar 31 14:33:27 2011 New Revision: 220200 URL: http://svn.freebsd.org/changeset/base/220200 Log: Remove $Log$ keyword and associated history, which can cause annoyance in diffs in some cases. Revision control tools have a history command to obtain this information.

svn commit: r220198 - head/sys/kern

2011-03-31 Thread Fabien Thomas
Author: fabient Date: Thu Mar 31 13:59:47 2011 New Revision: 220198 URL: http://svn.freebsd.org/changeset/base/220198 Log: Clearing the flag when preempting will let the preempted thread run too much time. This can finish in a scheduler deadlock with ping-pong between two threads. One s

svn commit: r220195 - head/sys/dev/pci

2011-03-31 Thread John Baldwin
Author: jhb Date: Thu Mar 31 13:22:12 2011 New Revision: 220195 URL: http://svn.freebsd.org/changeset/base/220195 Log: Explicitly track the state of all known BARs for each PCI device. The PCI bus driver will now remember the size of a BAR obtained during the initial bus scan and use that s

svn commit: r220194 - head/sys/netipsec

2011-03-31 Thread Fabien Thomas
Author: fabient Date: Thu Mar 31 13:14:24 2011 New Revision: 220194 URL: http://svn.freebsd.org/changeset/base/220194 Log: Fix two SA refcount: - AH does not release the SA like in ESP/IPCOMP when handling EAGAIN - ipsec_process_done incorrectly release the SA. Reviewed by: vanhu MFC

svn commit: r220190 - head/sys/modules

2011-03-31 Thread Adrian Chadd
Author: adrian Date: Thu Mar 31 12:03:30 2011 New Revision: 220190 URL: http://svn.freebsd.org/changeset/base/220190 Log: ath_ahb shouldn't be compiled normally; it is atheros chip specific. Remove it from here; users can compile it manually if needed. Modified: head/sys/modules/Makefile M

Re: svn commit: r220185 - in head/sys: amd64/conf arm/conf conf dev/ath i386/conf mips/conf modules modules/ath modules/ath_ahb modules/ath_pci pc98/conf sparc64/conf

2011-03-31 Thread John Baldwin
On Thursday, March 31, 2011 4:07:13 am Adrian Chadd wrote: > Author: adrian > Date: Thu Mar 31 08:07:13 2011 > New Revision: 220185 > URL: http://svn.freebsd.org/changeset/base/220185 > > Log: > Break out the ath PCI logic into a separate device/module. > > Introduce the AHB glue for Athero

Re: svn commit: r220168 - head/etc

2011-03-31 Thread Gavin Atkinson
On Thu, 2011-03-31 at 11:42 +0200, Edward Tomasz Napierała wrote: > Wiadomość napisana przez Gavin Atkinson w dniu 2011-03-31, o godz. 11:34: > > On Wed, 2011-03-30 at 18:35 +, Edward Tomasz Napierala wrote: > >> Author: trasz > >> Date: Wed Mar 30 18:35:02 2011 > >> New Revision: 220168 > >> U

Re: svn commit: r220158 - in head/sys: compat/freebsd32 kern sys

2011-03-31 Thread Kostik Belousov
On Thu, Mar 31, 2011 at 11:07:36AM +0400, Pan Tsu wrote: > Konstantin Belousov writes: > > > Author: kib > > Date: Wed Mar 30 14:46:12 2011 > > New Revision: 220158 > > URL: http://svn.freebsd.org/changeset/base/220158 > > > > Log: > > Provide compat32 shims for kldstat(2). > > > > Request

Re: svn commit: r220168 - head/etc

2011-03-31 Thread Garrett Cooper
On Mar 31, 2011, at 2:34 AM, Gavin Atkinson wrote: > On Wed, 2011-03-30 at 18:35 +, Edward Tomasz Napierala wrote: >> Author: trasz >> Date: Wed Mar 30 18:35:02 2011 >> New Revision: 220168 >> URL: http://svn.freebsd.org/changeset/base/220168 >> >> Log: >> Add example devd.conf entry. >> >

Re: svn commit: r220168 - head/etc

2011-03-31 Thread Edward Tomasz Napierała
Wiadomość napisana przez Gavin Atkinson w dniu 2011-03-31, o godz. 11:34: > On Wed, 2011-03-30 at 18:35 +, Edward Tomasz Napierala wrote: >> Author: trasz >> Date: Wed Mar 30 18:35:02 2011 >> New Revision: 220168 >> URL: http://svn.freebsd.org/changeset/base/220168 >> >> Log: >> Add example d

Re: svn commit: r220168 - head/etc

2011-03-31 Thread Gavin Atkinson
On Wed, 2011-03-30 at 18:35 +, Edward Tomasz Napierala wrote: > Author: trasz > Date: Wed Mar 30 18:35:02 2011 > New Revision: 220168 > URL: http://svn.freebsd.org/changeset/base/220168 > > Log: > Add example devd.conf entry. > > + > +# This example works around a memory leak in PostgreSQL,

svn commit: r220189 - stable/8/lib/libutil

2011-03-31 Thread Sergey Kandaurov
Author: pluknet Date: Thu Mar 31 08:55:00 2011 New Revision: 220189 URL: http://svn.freebsd.org/changeset/base/220189 Log: MFC r219963: Add missing resource limits: - RLIMIT_NPTS - RLIMIT_SWAP Modified: stable/8/lib/libutil/login_class.3 Directory Properties: stable/8/lib/libuti

svn commit: r220188 - in head/sys: conf dev/ath/ath_hal/ar5416

2011-03-31 Thread Adrian Chadd
Author: adrian Date: Thu Mar 31 08:48:05 2011 New Revision: 220188 URL: http://svn.freebsd.org/changeset/base/220188 Log: Introduce AH_AR5416_INTERRUPT_MITIGATION which enables interrupt mitigation for the AR5416 and later. Rename the older HAL option to use this. Modified: head/sys/conf/o

svn commit: r220187 - head

2011-03-31 Thread Adrian Chadd
.) +20110331: + ath(4) has been split into bus- and device- modules. if_ath contains + the HAL, the TX rate control and the network device code. if_ath_pci + contains the PCI bus glue. For Atheros MIPS embedded systems, if_ath_ahb + contains the AHB glue. Users need to load both

svn commit: r220186 - in head/sys: amd64/linux32 compat/linux i386/linux

2011-03-31 Thread Andriy Gapon
Author: avg Date: Thu Mar 31 08:14:51 2011 New Revision: 220186 URL: http://svn.freebsd.org/changeset/base/220186 Log: Revert r220032:linux compat: add SO_PASSCRED option with basic handling I have not properly thought through the commit. After r220031 (linux compat: improve and fix send

svn commit: r220185 - in head/sys: amd64/conf arm/conf conf dev/ath i386/conf mips/conf modules modules/ath modules/ath_ahb modules/ath_pci pc98/conf sparc64/conf

2011-03-31 Thread Adrian Chadd
Author: adrian Date: Thu Mar 31 08:07:13 2011 New Revision: 220185 URL: http://svn.freebsd.org/changeset/base/220185 Log: Break out the ath PCI logic into a separate device/module. Introduce the AHB glue for Atheros embedded systems. Right now it's hard-coded for the AR9130 chip whose sup

Re: svn commit: r220158 - in head/sys: compat/freebsd32 kern sys

2011-03-31 Thread Pan Tsu
Konstantin Belousov writes: > Author: kib > Date: Wed Mar 30 14:46:12 2011 > New Revision: 220158 > URL: http://svn.freebsd.org/changeset/base/220158 > > Log: > Provide compat32 shims for kldstat(2). > > Requested and tested by:jpaetzel > MFC after: 1 week It breaks loading modules