svn commit: r188273 - head/sys/dev/usb2/controller

2009-02-06 Thread Andrew Thompson
Author: thompsa Date: Sat Feb 7 06:27:16 2009 New Revision: 188273 URL: http://svn.freebsd.org/changeset/base/188273 Log: Dont hold the lock over the controller init, we are still attaching. Modified: head/sys/dev/usb2/controller/ehci2.c head/sys/dev/usb2/controller/ohci2.c head/sys/dev/

svn commit: r188272 - head/lib/msun/src

2009-02-06 Thread David Schultz
Author: das Date: Sat Feb 7 05:41:24 2009 New Revision: 188272 URL: http://svn.freebsd.org/changeset/base/188272 Log: C99 TC2 now wants FP_FAST_FMA* to be defined to 1, if the macros are defined at all. See also: defect report #223. Modified: head/lib/msun/src/math.h Modified: head/lib/ms

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

2009-02-06 Thread Sam Leffler
Author: sam Date: Sat Feb 7 05:34:41 2009 New Revision: 188269 URL: http://svn.freebsd.org/changeset/base/188269 Log: count stuck beacon events Modified: head/sys/dev/ath/if_ath.c Modified: head/sys/dev/ath/if_ath.c ===

svn commit: r188268 - head/sys/dev/cfi

2009-02-06 Thread Sam Leffler
Author: sam Date: Sat Feb 7 05:32:19 2009 New Revision: 188268 URL: http://svn.freebsd.org/changeset/base/188268 Log: fix building w/o CFI_ARMEDANDDANGEROUS Modified: head/sys/dev/cfi/cfi_core.c Modified: head/sys/dev/cfi/cfi_core.c ==

svn commit: r188267 - head/sys/dev/cfi

2009-02-06 Thread Sam Leffler
Author: sam Date: Sat Feb 7 05:03:25 2009 New Revision: 188267 URL: http://svn.freebsd.org/changeset/base/188267 Log: expand CFI_ARMEDANDDANGEROUS to include writing the user segment of the PR; this register is actually write-once so deserves the safety-belt as much as the PLR Modified:

svn commit: r188266 - head/sys/dev/si

2009-02-06 Thread Wojciech A. Koszek
Author: wkoszek Date: Sat Feb 7 02:14:27 2009 New Revision: 188266 URL: http://svn.freebsd.org/changeset/base/188266 Log: si_cmdname() is defined only when SI_DEBUG is enabled, thus using this function in simple printf() causes compile-time problems. Use conditionally enabled DPRINT() macro

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

2009-02-06 Thread Sam Leffler
Author: sam Date: Sat Feb 7 01:54:57 2009 New Revision: 188264 URL: http://svn.freebsd.org/changeset/base/188264 Log: fix 11n channel construction Modified: head/sys/dev/ath/ath_hal/ah_regdomain.c Modified: head/sys/dev/ath/ath_hal/ah_regdomain.c

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

2009-02-06 Thread Sam Leffler
Author: sam Date: Sat Feb 7 01:53:44 2009 New Revision: 188263 URL: http://svn.freebsd.org/changeset/base/188263 Log: add macro for future regulatory mods Modified: head/sys/dev/ath/ath_hal/ah_regdomain.c Modified: head/sys/dev/ath/ath_hal/ah_regdomain.c

svn commit: r188260 - in stable/7/sys: . contrib/pf dev/ath/ath_hal dev/cxgb dev/usb

2009-02-06 Thread Andrew Thompson
Author: thompsa Date: Sat Feb 7 01:43:04 2009 New Revision: 188260 URL: http://svn.freebsd.org/changeset/base/188260 Log: MFC r173522, r176910, r178975 - Add private tx/rx buffer management to support large frame sizes and update the rx code to handle multiple frames in a single usb

svn commit: r188259 - head/sys/dev/sound/macio

2009-02-06 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sat Feb 7 01:15:13 2009 New Revision: 188259 URL: http://svn.freebsd.org/changeset/base/188259 Log: Rearrange this code slightly to pass softcs around instead of device_t, solving a possible panic when snd_ai2s is loaded at boot time. Also change the device setup to

svn commit: r188258 - head/sbin/ifconfig

2009-02-06 Thread Sam Leffler
Author: sam Date: Sat Feb 7 01:12:51 2009 New Revision: 188258 URL: http://svn.freebsd.org/changeset/base/188258 Log: Regulatory fixups: o add missing channel flags for ECM, indoor, and outdoor constraints o use HT capabilities to short-circuit HT20/HT40 channel construction o rewrite 1/2

Re: svn commit: r188257 - head/sys/pc98/conf

2009-02-06 Thread Wojciech A. Koszek
On Sat, Feb 07, 2009 at 12:15:30AM +, Wojciech A. Koszek wrote: > Author: wkoszek > Date: Sat Feb 7 00:15:30 2009 > New Revision: 188257 > URL: http://svn.freebsd.org/changeset/base/188257 > [..] > Modified: head/sys/pc98/conf/NOTES > =

svn commit: r188257 - head/sys/pc98/conf

2009-02-06 Thread Wojciech A. Koszek
Author: wkoszek Date: Sat Feb 7 00:15:30 2009 New Revision: 188257 URL: http://svn.freebsd.org/changeset/base/188257 Log: Tidy NOTES a bit: - ath(4) is the last listed device, so make it's comment last as well - since we have hints for le(4), bring it back by inserting commented out lin

svn commit: r188256 - head/sys/i386/conf

2009-02-06 Thread Wojciech A. Koszek
Author: wkoszek Date: Sat Feb 7 00:06:13 2009 New Revision: 188256 URL: http://svn.freebsd.org/changeset/base/188256 Log: Tidy NOTES a bit: - leave pmtimer comment that is common to other architectures. - bring pbio explanation to the block comment relating to other drivers in the same

svn commit: r188255 - in stable/7/sys: . contrib/pf dev/ath/ath_hal dev/cxgb security/mac

2009-02-06 Thread Robert Watson
Author: rwatson Date: Sat Feb 7 00:05:10 2009 New Revision: 188255 URL: http://svn.freebsd.org/changeset/base/188255 Log: Merge r187667 from head to stable/7: Use __FBSDID() for $FreeBSD$ version strings in .c files. Obtained from:TrustedBSD Project Modified: stable/7/s

svn commit: r188254 - head/sys/amd64/conf

2009-02-06 Thread Wojciech A. Koszek
Author: wkoszek Date: Sat Feb 7 00:01:10 2009 New Revision: 188254 URL: http://svn.freebsd.org/changeset/base/188254 Log: Tidy NOTES a bit: - remove misleading nve/nfe comments, which make it hard to distinguish those two at a first glance - bring pbio documentation to the block comment

svn commit: r188253 - in stable/7/sys: . contrib/pf dev/ath/ath_hal dev/cxgb kern

2009-02-06 Thread Robert Watson
Author: rwatson Date: Fri Feb 6 23:56:02 2009 New Revision: 188253 URL: http://svn.freebsd.org/changeset/base/188253 Log: Merge r186684 from head to stable/7: White space and comment tweaks. Modified: stable/7/sys/ (props changed) stable/7/sys/contrib/pf/ (props changed) stabl

svn commit: r188251 - head/sys/fs/udf

2009-02-06 Thread John Baldwin
Author: jhb Date: Fri Feb 6 22:24:03 2009 New Revision: 188251 URL: http://svn.freebsd.org/changeset/base/188251 Log: Add rudimentary support for symbolic links on UDF. Links are stored as a sequence of pathname components. We walk the list building a string in the caller's passed in buff

svn commit: r188250 - head/sys/i386/conf

2009-02-06 Thread Wojciech A. Koszek
Author: wkoszek Date: Fri Feb 6 22:22:08 2009 New Revision: 188250 URL: http://svn.freebsd.org/changeset/base/188250 Log: Comment about ural(4) isn't approprate here, since the driver is present in global NOTES file. cx(4) driver isn't present in this file, though it could be. However, c

svn commit: r188249 - head/sys/amd64/conf

2009-02-06 Thread Wojciech A. Koszek
Author: wkoszek Date: Fri Feb 6 21:56:55 2009 New Revision: 188249 URL: http://svn.freebsd.org/changeset/base/188249 Log: ural(4) is already present in global NOTES, thus there is no need to explicitly list it here once again. This removes: WARNING: duplicate option `DEV_URAL' enco

svn commit: r188247 - in head/sys: amd64/conf conf dev/agp i386/conf pc98/conf

2009-02-06 Thread Wojciech A. Koszek
Author: wkoszek Date: Fri Feb 6 20:57:10 2009 New Revision: 188247 URL: http://svn.freebsd.org/changeset/base/188247 Log: Fix AGP debugging code: - correct format strings - fill opt_agp.h if AGP_DEBUG is defined - bring AGP_DEBUG to LINT by mentioning it in NOTES This should hopefull

svn commit: r188245 - head/sys/fs/udf

2009-02-06 Thread John Baldwin
Author: jhb Date: Fri Feb 6 20:09:14 2009 New Revision: 188245 URL: http://svn.freebsd.org/changeset/base/188245 Log: Add support for fifos to UDF: - Add a separate set of vnode operations that inherits from the fifo ops and use it for fifo nodes. - Add a VOP_SETATTR() method that allow

svn commit: r188244 - in head/sys: fs/fifofs kern

2009-02-06 Thread John Baldwin
Author: jhb Date: Fri Feb 6 20:06:48 2009 New Revision: 188244 URL: http://svn.freebsd.org/changeset/base/188244 Log: Tweak the output of VOP_PRINT/vn_printf() some. - Align the fifo output in fifo_print() with other vn_printf() output. - Remove the leading space from lockmgr_printinfo() so

svn commit: r188243 - in head/sys: kern sys

2009-02-06 Thread Edward Tomasz Napierala
Author: trasz Date: Fri Feb 6 18:16:01 2009 New Revision: 188243 URL: http://svn.freebsd.org/changeset/base/188243 Log: Add KASSERTs to make it easier to debug problems like the one fixed in r188141. Reviewed by: kib,attilio Approved by: rwatson (mentor) Tested by:pho Sponsor

svn commit: r188242 - stable/6/share/man/man5

2009-02-06 Thread Thomas Abthorpe
Author: tabthorpe (ports committer) Date: Fri Feb 6 17:21:41 2009 New Revision: 188242 URL: http://svn.freebsd.org/changeset/base/188242 Log: - MFC the portindex(5) manual page PR: docs/70652 Reviewed by: keramida Approved by: trhodes Added: stable/6/share/man/man5/porti

svn commit: r188241 - stable/7/share/man/man5

2009-02-06 Thread Thomas Abthorpe
Author: tabthorpe (ports committer) Date: Fri Feb 6 17:19:02 2009 New Revision: 188241 URL: http://svn.freebsd.org/changeset/base/188241 Log: - MFC the portindex(5) manual page PR: docs/70652 Approved by: trhodes Added: stable/7/share/man/man5/portindex.5 - copied, cha

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

2009-02-06 Thread Edward Tomasz Napierala
Author: trasz Date: Fri Feb 6 17:14:07 2009 New Revision: 188240 URL: http://svn.freebsd.org/changeset/base/188240 Log: When a device containing mounted UFS filesystem disappears, the type of devvp becomes VBAD, which UFS incorrectly interprets as snapshot vnode, which in turns causes panic

svn commit: r188239 - in stable/7/sys: . contrib/pf dev/ath/ath_hal dev/cxgb kern

2009-02-06 Thread John Baldwin
Author: jhb Date: Fri Feb 6 16:05:00 2009 New Revision: 188239 URL: http://svn.freebsd.org/changeset/base/188239 Log: MFC: Push down Giant in the vlnru kproc main loop so that it is only acquired around calls to vlrureclaim() on non-MPSAFE filesystems. Modified: stable/7/sys/ (props chan

svn commit: r188238 - in stable/7/sys: . contrib/pf dev/ath/ath_hal dev/cxgb net

2009-02-06 Thread John Baldwin
Author: jhb Date: Fri Feb 6 15:28:08 2009 New Revision: 188238 URL: http://svn.freebsd.org/changeset/base/188238 Log: MFC: Only start the if_slowtimo timer if it is needed. Modified: stable/7/sys/ (props changed) stable/7/sys/contrib/pf/ (props changed) stable/7/sys/dev/ath/ath_hal/

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

2009-02-06 Thread Kevin Lo
Author: kevlo Date: Fri Feb 6 15:27:40 2009 New Revision: 188237 URL: http://svn.freebsd.org/changeset/base/188237 Log: In urtw_init() call urtw_stop(ifp, 0) rather than urtw_stop(ifp, 1) to stop the device. Modified: head/sys/dev/usb/if_urtw.c Modified: head/sys/dev/usb/if_urtw.c ===

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

2009-02-06 Thread John Baldwin
Author: jhb Date: Fri Feb 6 15:09:31 2009 New Revision: 188236 URL: http://svn.freebsd.org/changeset/base/188236 Log: Note that the slave address passed to smb(4) commands must be left-justified (LSB is 0). The iic(4) manpage probably needs similar language to describe the format it expect

svn commit: r188235 - head/sys/dev/usb2/include

2009-02-06 Thread Kevin Lo
Author: kevlo Date: Fri Feb 6 15:04:06 2009 New Revision: 188235 URL: http://svn.freebsd.org/changeset/base/188235 Log: Regen Modified: head/sys/dev/usb2/include/usb2_devid.h head/sys/dev/usb2/include/usb2_devtable.h Modified: head/sys/dev/usb2/include/usb2_devid.h ===

svn commit: r188234 - in head: share/man/man4 sys/dev/usb sys/dev/usb2/wlan

2009-02-06 Thread Kevin Lo
Author: kevlo Date: Fri Feb 6 15:03:17 2009 New Revision: 188234 URL: http://svn.freebsd.org/changeset/base/188234 Log: Add the Buffalo WLI-U2-SG54HG Modified: head/share/man/man4/rum.4 head/sys/dev/usb/if_rum.c head/sys/dev/usb/usbdevs head/sys/dev/usb2/wlan/if_rum2.c Modified: head/

svn commit: r188233 - head

2009-02-06 Thread John Baldwin
Author: jhb Date: Fri Feb 6 15:03:14 2009 New Revision: 188233 URL: http://svn.freebsd.org/changeset/base/188233 Log: Add a note to document that ichsmb(4) now uses left-justified SMBus slave addresses. Modified: head/UPDATING Modified: head/UPDATING ==

svn commit: r188232 - in head/sys: kern sys

2009-02-06 Thread John Baldwin
Author: jhb Date: Fri Feb 6 14:51:32 2009 New Revision: 188232 URL: http://svn.freebsd.org/changeset/base/188232 Log: Expand the scope of the sysctllock sx lock to protect the sysctl tree itself. Back in 1.1 of kern_sysctl.c the sysctl() routine wired the "old" userland buffer for most sysc

svn commit: r188231 - in stable/7/sys: . contrib/pf dev/ath/ath_hal dev/cxgb ufs/ffs

2009-02-06 Thread Robert Watson
Author: rwatson Date: Fri Feb 6 12:39:42 2009 New Revision: 188231 URL: http://svn.freebsd.org/changeset/base/188231 Log: Merge r187790 from head to stable/7: Following a fair amount of real world experience with ACLs and extended attributes since FreeBSD 5, make the following semant

svn commit: r188230 - in stable/7/sys: . contrib/pf dev/ath/ath_hal dev/cxgb kern

2009-02-06 Thread Robert Watson
Author: rwatson Date: Fri Feb 6 12:33:39 2009 New Revision: 188230 URL: http://svn.freebsd.org/changeset/base/188230 Log: Merge r187881 from head to stable/7: If a process is a zombie and we couldn't identify another useful state, print out the state as "zombine" in preference to "un

svn commit: r188229 - in stable/7/sys: . contrib/pf dev/ath/ath_hal dev/cxgb kern

2009-02-06 Thread Robert Watson
Author: rwatson Date: Fri Feb 6 12:27:25 2009 New Revision: 188229 URL: http://svn.freebsd.org/changeset/base/188229 Log: Merge r186603 from head to stabl/7: Rename mbcnt to mbcnt_delta in uipc_send() -- unlike other local variables named mbcnt in uipc_usrreq.c, this instance is a de

svn commit: r188228 - in stable/7/sys: . contrib/pf dev/ath/ath_hal dev/cxgb security/audit

2009-02-06 Thread Robert Watson
Author: rwatson Date: Fri Feb 6 12:24:30 2009 New Revision: 188228 URL: http://svn.freebsd.org/changeset/base/188228 Log: Merge r184488 from head to stable/7: Break out single audit_pipe_mtx into two types of locks: a global rwlock protecting the list of audit pipes, and a per-pipe m

svn commit: r188227 - in stable/7/sys: . contrib/pf dev/ath/ath_hal dev/cxgb security/audit

2009-02-06 Thread Robert Watson
Author: rwatson Date: Fri Feb 6 12:22:00 2009 New Revision: 188227 URL: http://svn.freebsd.org/changeset/base/188227 Log: Merge r184489 from head to stable/7: When we drop an audit record going to and audit pipe because the audit pipe has overflowed, drop the newest, rather than olde

svn commit: r188226 - in stable/7/sys: . contrib/pf dev/ath/ath_hal dev/cxgb netipx

2009-02-06 Thread Robert Watson
Author: rwatson Date: Fri Feb 6 12:20:08 2009 New Revision: 188226 URL: http://svn.freebsd.org/changeset/base/188226 Log: Merge r185928 from head to stable/7: Add missing "goto set_head" for SO_IPX_CHECKSUM; otherwise we fall through to the SO_HEADERS_ON_OUTPUT case and set that inst

svn commit: r188225 - in stable/7/sys: . contrib/pf dev/ath/ath_hal dev/cxgb security/audit

2009-02-06 Thread Robert Watson
Author: rwatson Date: Fri Feb 6 12:14:57 2009 New Revision: 188225 URL: http://svn.freebsd.org/changeset/base/188225 Log: Merge r185293 from head to stable/7: Regularize /* FALLTHROUGH */ comments in the BSM event type switch, and add one that was missing. Coverity ID: 3960

svn commit: r188224 - in stable/7/sys: . contrib/pf dev/ath/ath_hal dev/cxgb security/audit

2009-02-06 Thread Robert Watson
Author: rwatson Date: Fri Feb 6 12:10:28 2009 New Revision: 188224 URL: http://svn.freebsd.org/changeset/base/188224 Log: Merge r184948 from head to stable/7: When repeatedly accessing a thread credential, cache the credential pointer in a local thread. While this is unlikely to sig

svn commit: r188223 - in stable/7/sys: . contrib/pf dev/ath/ath_hal dev/cxgb security/audit

2009-02-06 Thread Robert Watson
Author: rwatson Date: Fri Feb 6 12:06:39 2009 New Revision: 188223 URL: http://svn.freebsd.org/changeset/base/188223 Log: Merge r184482 from head to stable/7: Protect the event->class lookup database using an rwlock instead of a mutex, as it's rarely changed but frequently accessed r

svn commit: r188222 - in stable/7/sys: . contrib/pf dev/ath/ath_hal dev/cxgb security/audit

2009-02-06 Thread Robert Watson
Author: rwatson Date: Fri Feb 6 11:03:51 2009 New Revision: 188222 URL: http://svn.freebsd.org/changeset/base/188222 Log: Merge r184904 from head to stable/7: The audit queue limit variables are size_t, so use size_t for the audit queue length variables as well, avoiding storing the

svn commit: r188221 - head/sys/conf

2009-02-06 Thread Wojciech A. Koszek
Author: wkoszek Date: Fri Feb 6 10:30:46 2009 New Revision: 188221 URL: http://svn.freebsd.org/changeset/base/188221 Log: Consistently use instead of spaces as option name and file separator. Modified: head/sys/conf/options head/sys/conf/options.mips Modified: head/sys/conf/options ===

svn commit: r188220 - head/sys/dev/exca

2009-02-06 Thread Warner Losh
Author: imp Date: Fri Feb 6 09:34:17 2009 New Revision: 188220 URL: http://svn.freebsd.org/changeset/base/188220 Log: fix spelling error Submitted by: trasz Modified: head/sys/dev/exca/exca.c Modified: head/sys/dev/exca/exca.c ===