Re: svn commit: r223262 - in head: cddl/contrib/opensolaris/lib/libdtrace/common contrib/binutils/bfd contrib/binutils/gas contrib/binutils/gas/config contrib/binutils/ld contrib/binutils/opcodes cont

2011-06-18 Thread TAKAHASHI Yoshihiro
In article <201106181356.p5iduxhw044...@svn.freebsd.org> Ben Laurie writes: > Author: benl > Date: Sat Jun 18 13:56:33 2011 > New Revision: 223262 > URL: http://svn.freebsd.org/changeset/base/223262 > > Log: > Fix clang warnings. > > Modified: head/sys/sys/diskpc98.h > ===

svn commit: r223287 - stable/8/sys/fs/nfsclient

2011-06-18 Thread Rick Macklem
Author: rmacklem Date: Sun Jun 19 02:39:02 2011 New Revision: 223287 URL: http://svn.freebsd.org/changeset/base/223287 Log: MFC: r222722 Add support for flock(2) locks to the new NFSv4 client. I think this should be ok, since the client now delays NFSv4 Close operations until VOP_INACTIVE(

svn commit: r223286 - in stable/8/sys/fs: nfs nfsclient

2011-06-18 Thread Rick Macklem
Author: rmacklem Date: Sun Jun 19 02:24:36 2011 New Revision: 223286 URL: http://svn.freebsd.org/changeset/base/223286 Log: MFC: r222719 The new NFSv4 client was erroneously using "p" instead of "p_leader" for the "id" for POSIX byte range locking. I think this would only have affected pro

svn commit: r223285 - stable/8/sys/fs/nfsclient

2011-06-18 Thread Rick Macklem
Author: rmacklem Date: Sun Jun 19 02:03:12 2011 New Revision: 223285 URL: http://svn.freebsd.org/changeset/base/223285 Log: MFC: r222718 Fix the new NFSv4 client so that it doesn't crash when a mount is done for a VIMAGE kernel. Modified: stable/8/sys/fs/nfsclient/nfs_clport.c Directory P

svn commit: r223284 - stable/8/sys/fs/nfsserver

2011-06-18 Thread Rick Macklem
Author: rmacklem Date: Sun Jun 19 01:44:50 2011 New Revision: 223284 URL: http://svn.freebsd.org/changeset/base/223284 Log: MFC: r222663 Modify the new NFS server so that the NFSv3 Pathconf RPC doesn't return an error when the underlying file system lacks support for any of the four _PC_xx

Re: svn commit: r223129 - head/release

2011-06-18 Thread Adrian Chadd
On 19 June 2011 04:34, Nathan Whitehorn wrote: > Since all of our install CDs for 9.0 (even the boot-only ones!) will be live > CDs, the full versions of everything in /rescue are on the CD in their usual > locations in /bin, /sbin, etc. and these can be used just as well for fixing > a system as

svn commit: r223283 - head/tools/regression/bin/sh/execution

2011-06-18 Thread Jilles Tjoelker
Author: jilles Date: Sun Jun 19 00:00:36 2011 New Revision: 223283 URL: http://svn.freebsd.org/changeset/base/223283 Log: sh: Add test for r223282. Added: head/tools/regression/bin/sh/execution/bg4.0 (contents, props changed) Added: head/tools/regression/bin/sh/execution/bg4.0

svn commit: r223282 - head/bin/sh

2011-06-18 Thread Jilles Tjoelker
Author: jilles Date: Sat Jun 18 23:58:59 2011 New Revision: 223282 URL: http://svn.freebsd.org/changeset/base/223282 Log: sh: Remove special support for background simple commands. It expands the arguments in the parent shell process, which is incorrect. Modified: head/bin/sh/eval.c he

svn commit: r223281 - head/bin/sh

2011-06-18 Thread Jilles Tjoelker
Author: jilles Date: Sat Jun 18 23:43:28 2011 New Revision: 223281 URL: http://svn.freebsd.org/changeset/base/223281 Log: sh: Add do-nothing -h option. POSIX requires a -h option to sh and set, to locate and remember utilities invoked by functions as they are defined. Given that this lo

svn commit: r223280 - in head/sys: fs/nfs fs/nfsclient modules/dtrace modules/dtrace/dtnfscl modules/dtrace/dtraceall sys

2011-06-18 Thread Rick Macklem
Author: rmacklem Date: Sat Jun 18 23:02:53 2011 New Revision: 223280 URL: http://svn.freebsd.org/changeset/base/223280 Log: Add DTrace support to the new NFS client. This is essentially cloned from the old NFS client, plus additions for NFSv4. A review of this code is in progress, however it

svn commit: r223279 - head/lib/libprocstat

2011-06-18 Thread Jilles Tjoelker
Author: jilles Date: Sat Jun 18 23:01:26 2011 New Revision: 223279 URL: http://svn.freebsd.org/changeset/base/223279 Log: libprocstat: For MAP_PRIVATE, do not consider the file open for writing. If a file is mapped with with MAP_PRIVATE, no write permission is required and changes do not

svn commit: r223278 - head/sbin/ddb

2011-06-18 Thread Pawel Jakub Dawidek
Author: pjd Date: Sat Jun 18 22:32:55 2011 New Revision: 223278 URL: http://svn.freebsd.org/changeset/base/223278 Log: Correct subcommand name 'unset' -> 'unscript'. Modified: head/sbin/ddb/ddb.8 Modified: head/sbin/ddb/ddb.8 ==

svn commit: r223277 - head/sys/cam/ata

2011-06-18 Thread Konstantin Belousov
Author: kib Date: Sat Jun 18 22:26:58 2011 New Revision: 223277 URL: http://svn.freebsd.org/changeset/base/223277 Log: Fix a typo in adagetattr() from r223089. In particular, this restores the ability to use ahci(4) for kernel dumps. Modified: head/sys/cam/ata/ata_da.c Modified: head/sys/c

svn commit: r223276 - head/lib/libprocstat

2011-06-18 Thread Jilles Tjoelker
Author: jilles Date: Sat Jun 18 22:16:55 2011 New Revision: 223276 URL: http://svn.freebsd.org/changeset/base/223276 Log: libprocstat: Fix typo in error messages. Modified: head/lib/libprocstat/libprocstat.c Modified: head/lib/libprocstat/libprocstat.c ===

svn commit: r223275 - stable/7/usr.sbin/mfiutil

2011-06-18 Thread Bjoern A. Zeeb
Author: bz Date: Sat Jun 18 22:12:53 2011 New Revision: 223275 URL: http://svn.freebsd.org/changeset/base/223275 Log: MFC r219722 (by jhb): Preserve errno in an error case. Submitted by: gcooper MFC r222899: Contrary to when returning in all-good cases at the end of functions we

svn commit: r223274 - stable/8/usr.sbin/mfiutil

2011-06-18 Thread Bjoern A. Zeeb
Author: bz Date: Sat Jun 18 22:12:17 2011 New Revision: 223274 URL: http://svn.freebsd.org/changeset/base/223274 Log: MFC r219722 (by jhb): Preserve errno in an error case. Submitted by: gcooper MFC r222899: Contrary to when returning in all-good cases at the end of functi

svn commit: r223273 - in stable/7/sys: netinet netinet6

2011-06-18 Thread Bjoern A. Zeeb
Author: bz Date: Sat Jun 18 22:09:44 2011 New Revision: 223273 URL: http://svn.freebsd.org/changeset/base/223273 Log: MFC r72: Add FEATURE() definitions for IPv4 and IPv6 so that we can use feature_present(3) to dynamically decide whether to use one or the other family. Modif

svn commit: r223272 - in stable/8/sys: netinet netinet6

2011-06-18 Thread Bjoern A. Zeeb
Author: bz Date: Sat Jun 18 22:09:22 2011 New Revision: 223272 URL: http://svn.freebsd.org/changeset/base/223272 Log: MFC r72: Add FEATURE() definitions for IPv4 and IPv6 so that we can use feature_present(3) to dynamically decide whether to use one or the other family. Modif

svn commit: r223271 - head/usr.bin/fstat

2011-06-18 Thread Jilles Tjoelker
Author: jilles Date: Sat Jun 18 21:53:36 2011 New Revision: 223271 URL: http://svn.freebsd.org/changeset/base/223271 Log: fuser: Fix skipping "SIG" on signal names (-s). The code did !strncasecmp(str, "sig", 4) which is not useful. Also change "sig" to "SIG" matching the uppercase si

svn commit: r223270 - head/lib/libprocstat

2011-06-18 Thread Jilles Tjoelker
Author: jilles Date: Sat Jun 18 21:46:11 2011 New Revision: 223270 URL: http://svn.freebsd.org/changeset/base/223270 Log: libprocstat: Remove spaces between function name and open parenthesis. Modified: head/lib/libprocstat/libprocstat.c Modified: head/lib/libprocstat/libprocstat.c =

svn commit: r223269 - head/lib/libprocstat

2011-06-18 Thread Jilles Tjoelker
Author: jilles Date: Sat Jun 18 21:29:25 2011 New Revision: 223269 URL: http://svn.freebsd.org/changeset/base/223269 Log: libprocstat: Correct format for size_t (should be %zu, not %zd). Modified: head/lib/libprocstat/libprocstat.c Modified: head/lib/libprocstat/libprocstat.c ===

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

2011-06-18 Thread Kirk McKusick
Author: mckusick Date: Sat Jun 18 21:10:03 2011 New Revision: 223268 URL: http://svn.freebsd.org/changeset/base/223268 Log: Fixed dereference of a NULL pointer. Reported by: Peter Holm Modified: head/sys/ufs/ffs/ffs_snapshot.c Modified: head/sys/ufs/ffs/ffs_snapshot.c =

svn commit: r223267 - head/usr.sbin/mfiutil

2011-06-18 Thread Bjoern A. Zeeb
Author: bz Date: Sat Jun 18 21:08:27 2011 New Revision: 223267 URL: http://svn.freebsd.org/changeset/base/223267 Log: Add 'show logstate' to usage(). MFC after:1 week Modified: head/usr.sbin/mfiutil/mfiutil.c Modified: head/usr.sbin/mfiutil/mfiutil.c

Re: svn commit: r223262 - in head: cddl/contrib/opensolaris/lib/libdtrace/common contrib/binutils/bfd contrib/binutils/gas contrib/binutils/gas/config contrib/binutils/ld contrib/binutils/opcodes cont

2011-06-18 Thread Jilles Tjoelker
On Sat, Jun 18, 2011 at 01:56:33PM +, Ben Laurie wrote: > Modified: head/cddl/contrib/opensolaris/lib/libdtrace/common/dt_subr.c > == > --- head/cddl/contrib/opensolaris/lib/libdtrace/common/dt_subr.c Sat Jun > 18

Re: svn commit: r223129 - head/release

2011-06-18 Thread Nathan Whitehorn
On 06/17/11 18:17, Peter Jeremy wrote: On 2011-Jun-15 23:38:15 +, Nathan Whitehorn wrote: Log: Do not install the rescue tools onto the install CD. Since it is read only, they are very unlikely to be needed and take up a great deal of space. If I've correctly understood this change,

svn commit: r223264 - in head: etc/defaults etc/rc.d share/man/man5

2011-06-18 Thread Doug Barton
Author: dougb Date: Sat Jun 18 19:41:05 2011 New Revision: 223264 URL: http://svn.freebsd.org/changeset/base/223264 Log: Add rc.d/kld to load kernel modules after local disks are up. This method is many times faster than doing it in /boot/loader.conf. Added: head/etc/rc.d/kld (contents, p

Re: svn commit: r223129 - head/release

2011-06-18 Thread Bjoern A. Zeeb
On Jun 18, 2011, at 4:47 PM, Alexey Dokuchaev wrote: > On Sat, Jun 18, 2011 at 09:17:57AM +1000, Peter Jeremy wrote: >> On 2011-Jun-15 23:38:15 +, Nathan Whitehorn >> wrote: >>> Log: >>> Do not install the rescue tools onto the install CD. Since it is read >>> only, they are very unlikely t

Re: svn commit: r223262 - in head: cddl/contrib/opensolaris/lib/libdtrace/common contrib/binutils/bfd contrib/binutils/gas contrib/binutils/gas/config contrib/binutils/ld contrib/binutils/opcodes cont

2011-06-18 Thread Kostik Belousov
> Modified: head/sys/sys/param.h > == > --- head/sys/sys/param.h Sat Jun 18 13:54:36 2011(r223261) > +++ head/sys/sys/param.h Sat Jun 18 13:56:33 2011(r223262) > @@ -319,4 +319,10 @@ __END_DECLS >

Re: svn commit: r223129 - head/release

2011-06-18 Thread Alexey Dokuchaev
On Sat, Jun 18, 2011 at 09:17:57AM +1000, Peter Jeremy wrote: > On 2011-Jun-15 23:38:15 +, Nathan Whitehorn > wrote: > >Log: > > Do not install the rescue tools onto the install CD. Since it is read > > only, they are very unlikely to be needed and take up a great deal of > > space. > > I

Re: svn commit: r223262 - in head: cddl/contrib/opensolaris/lib/libdtrace/common contrib/binutils/bfd contrib/binutils/gas contrib/binutils/gas/config contrib/binutils/ld contrib/binutils/opcodes cont

2011-06-18 Thread Ben Kaduk
On Sat, Jun 18, 2011 at 9:56 AM, Ben Laurie wrote: > Author: benl > Date: Sat Jun 18 13:56:33 2011 > New Revision: 223262 > URL: http://svn.freebsd.org/changeset/base/223262 > > Log: >  Fix clang warnings. > >  Approved by:  philip (mentor) > > > Modified: head/cddl/contrib/opensolaris/lib/libdtra

Re: svn commit: r223262 - in head: cddl/contrib/opensolaris/lib/libdtrace/common contrib/binutils/bfd contrib/binutils/gas contrib/binutils/gas/config contrib/binutils/ld contrib/binutils/opcodes cont

2011-06-18 Thread Bruce Evans
On Sat, 18 Jun 2011, Ben Laurie wrote: Author: benl Date: Sat Jun 18 13:56:33 2011 New Revision: 223262 URL: http://svn.freebsd.org/changeset/base/223262 Log: Fix clang warnings. Approved by: philip (mentor) Most of these seem to be bugs in clang, so source code can only be broken by avo

svn commit: r223262 - in head: cddl/contrib/opensolaris/lib/libdtrace/common contrib/binutils/bfd contrib/binutils/gas contrib/binutils/gas/config contrib/binutils/ld contrib/binutils/opcodes contr...

2011-06-18 Thread Ben Laurie
Author: benl Date: Sat Jun 18 13:56:33 2011 New Revision: 223262 URL: http://svn.freebsd.org/changeset/base/223262 Log: Fix clang warnings. Approved by: philip (mentor) Modified: head/cddl/contrib/opensolaris/lib/libdtrace/common/dt_subr.c head/contrib/binutils/bfd/coffcode.h head/c

svn commit: r223261 - head/sys/netinet

2011-06-18 Thread Bjoern A. Zeeb
Author: bz Date: Sat Jun 18 13:54:36 2011 New Revision: 223261 URL: http://svn.freebsd.org/changeset/base/223261 Log: Remove a these days incorrect comment left from before new-arp. MFC after:1 week Modified: head/sys/netinet/if_ether.c Modified: head/sys/netinet/if_ether.c

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

2011-06-18 Thread Bjoern A. Zeeb
Author: bz Date: Sat Jun 18 13:08:46 2011 New Revision: 223260 URL: http://svn.freebsd.org/changeset/base/223260 Log: Install symlinks for m_tag_* mbuf tag functions to the mbuf_tags.9 man page. MFC after:1 week Modified: head/share/man/man9/Makefile Modified: head/share/man/man9/Ma

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

2011-06-18 Thread Bjoern A. Zeeb
Author: bz Date: Sat Jun 18 13:03:06 2011 New Revision: 223259 URL: http://svn.freebsd.org/changeset/base/223259 Log: Correct a typo in the function name. MFC after:1 week Modified: head/share/man/man9/device_get_sysctl.9 Modified: head/share/man/man9/device_get_sysctl.9 ===

svn commit: r223258 - stable/8/share/man/man4

2011-06-18 Thread Bernhard Schmidt
Author: bschmidt Date: Sat Jun 18 12:35:08 2011 New Revision: 223258 URL: http://svn.freebsd.org/changeset/base/223258 Log: MFC r220896: Add ref to the latest firmware additions. Modified: stable/8/share/man/man4/iwnfw.4 Directory Properties: stable/8/share/man/man4/ (props changed) Mo

svn commit: r223257 - stable/8/sys/dev/iwn

2011-06-18 Thread Bernhard Schmidt
Author: bschmidt Date: Sat Jun 18 12:32:48 2011 New Revision: 223257 URL: http://svn.freebsd.org/changeset/base/223257 Log: MFC r220895,221634: Now that all bits are in for 1030/6230 adapters enable those. While here pull the adapter names from the Linux driver and sort the list by ID. Mo

svn commit: r223254 - head/sys/amd64/ia32

2011-06-18 Thread Konstantin Belousov
Author: kib Date: Sat Jun 18 12:13:28 2011 New Revision: 223254 URL: http://svn.freebsd.org/changeset/base/223254 Log: Fix vfork. Add comments. Modified: head/sys/amd64/ia32/ia32_sigtramp.S Modified: head/sys/amd64/ia32/ia32_sigtramp.S

svn commit: r223253 - stable/8/sys/dev/iwn

2011-06-18 Thread Bernhard Schmidt
Author: bschmidt Date: Sat Jun 18 12:13:27 2011 New Revision: 223253 URL: http://svn.freebsd.org/changeset/base/223253 Log: MFC r220894: The 6000 series gen2 adapters have 2 firmware images, one with advanced btcoex support and one without. Modified: stable/8/sys/dev/iwn/if_iwn.c Director

svn commit: r223252 - stable/8/sys/dev/iwn

2011-06-18 Thread Bernhard Schmidt
Author: bschmidt Date: Sat Jun 18 12:11:48 2011 New Revision: 223252 URL: http://svn.freebsd.org/changeset/base/223252 Log: MFC r220891: Add basic support for advanced bluetooth coexistence required for 6005 gen2b (1030/6030) adapters. Modified: stable/8/sys/dev/iwn/if_iwn.c stable/8/sy

svn commit: r223251 - stable/8/sys/dev/iwn

2011-06-18 Thread Bernhard Schmidt
Author: bschmidt Date: Sat Jun 18 12:10:06 2011 New Revision: 223251 URL: http://svn.freebsd.org/changeset/base/223251 Log: MFC r220866-220867: - Pull some features out of the firmware: - If a ENH_SENS TLV section exit the firmware is capable of doing enhanced sensitivity calibration

svn commit: r223250 - stable/8/sys/dev/iwn

2011-06-18 Thread Bernhard Schmidt
Author: bschmidt Date: Sat Jun 18 12:07:06 2011 New Revision: 223250 URL: http://svn.freebsd.org/changeset/base/223250 Log: MFC r220729: Add some new features: - 6000 series devices need enhanced sensitivity calibration. - 6000 series devices need a different setting for the shadow reg.

Re: svn commit: r222884 - head/sys/x86/x86

2011-06-18 Thread Bruce Evans
On Wed, 8 Jun 2011, Jung-uk Kim wrote: Log: Tidy up r222866. - Re-add accidentally removed atomic op. for sysctl(9) handler. - Remove a period(`.') at the end of a debugging message. - Consistently spell "low" for "TSC-low" timecounter throughout. Pointed out by:bde Thanks. Bru

Re: svn commit: r222866 - head/sys/x86/x86

2011-06-18 Thread Bruce Evans
Long ago, On Wed, 8 Jun 2011, Jung-uk Kim wrote: On Wednesday 08 June 2011 04:55 pm, Bruce Evans wrote: On Wed, 8 Jun 2011, Jung-uk Kim wrote: Log: Introduce low-resolution TSC timecounter "TSC-low". It replaces the normal TSC timecounter if TSC frequency is higher than ~4.29 MHz (or 2^32-1

svn commit: r223249 - stable/8/sys/dev/iwn

2011-06-18 Thread Bernhard Schmidt
Author: bschmidt Date: Sat Jun 18 12:03:30 2011 New Revision: 223249 URL: http://svn.freebsd.org/changeset/base/223249 Log: MFC r220727-220728: - Read RX/TX chainmasks directly of the EEPROM. Some chips are known to have the wrong/broken information stored, keep the hardcoded values for

svn commit: r223248 - stable/8/sys/dev/iwn

2011-06-18 Thread Bernhard Schmidt
Author: bschmidt Date: Sat Jun 18 12:00:49 2011 New Revision: 223248 URL: http://svn.freebsd.org/changeset/base/223248 Log: MFC r220721,220723-220726: - Rename some stuff in favour of the OpenBSD names: - prefer EDCA over WME - qid for a TXQ ID - reg for register values - Shuffle

svn commit: r223247 - stable/8/sys/dev/iwn

2011-06-18 Thread Bernhard Schmidt
Author: bschmidt Date: Sat Jun 18 11:56:40 2011 New Revision: 223247 URL: http://svn.freebsd.org/changeset/base/223247 Log: MFC r220720: Fix WME/QoS handling: - move the TX queue selection into iwn_tx_data/iwn_tx_data_raw - extract traffic identifier and use it - do not expect ACKs for f

svn commit: r223246 - stable/8/sys/dev/iwn

2011-06-18 Thread Bernhard Schmidt
Author: bschmidt Date: Sat Jun 18 11:54:44 2011 New Revision: 223246 URL: http://svn.freebsd.org/changeset/base/223246 Log: MFC r220719: Remove if_ierrors which do not necessarily indicate a RX error, also do account send packets. While here use the IWN_TX_FAIL constant. Modified: stable/

svn commit: r223245 - stable/8/sys/dev/iwn

2011-06-18 Thread Bernhard Schmidt
Author: bschmidt Date: Sat Jun 18 11:52:58 2011 New Revision: 223245 URL: http://svn.freebsd.org/changeset/base/223245 Log: MFC r220715: Instead of hardcoding TX rates and using that to fill the retry table use the neogotiated ni_rates instead. Modified: stable/8/sys/dev/iwn/if_iwn.c st

svn commit: r223244 - stable/8/sys/dev/iwn

2011-06-18 Thread Bernhard Schmidt
Author: bschmidt Date: Sat Jun 18 11:51:17 2011 New Revision: 223244 URL: http://svn.freebsd.org/changeset/base/223244 Log: MFC r220691-220694,220700-220702,220704,220710-220711: - Remove the flags argument of iwn_dma_contig_alloc(), it is always set as BUS_DMA_NOWAIT. While here also set

svn commit: r223243 - stable/8/sys/dev/iwn

2011-06-18 Thread Bernhard Schmidt
Author: bschmidt Date: Sat Jun 18 11:44:54 2011 New Revision: 223243 URL: http://svn.freebsd.org/changeset/base/223243 Log: MFC r220689: RSSI related syncs with the OpenBSD code: - read RSSI only for the active chains - cast RSSI/NF to int8_t before passing it up to radiotap - remove the

svn commit: r223242 - stable/8/sys/dev/iwn

2011-06-18 Thread Bernhard Schmidt
Author: bschmidt Date: Sat Jun 18 11:43:06 2011 New Revision: 223242 URL: http://svn.freebsd.org/changeset/base/223242 Log: MFC r220688: Pass errors that might happen during state transitions up to net80211. Modified: stable/8/sys/dev/iwn/if_iwn.c Directory Properties: stable/8/sys/ (pr

svn commit: r223241 - stable/8/sys/dev/iwn

2011-06-18 Thread Bernhard Schmidt
Author: bschmidt Date: Sat Jun 18 11:41:06 2011 New Revision: 223241 URL: http://svn.freebsd.org/changeset/base/223241 Log: MFC r220687: Obtain the channel number directly from the laster RXON command, also chan is an uint8_t. Modified: stable/8/sys/dev/iwn/if_iwn.c Directory Properties:

svn commit: r223240 - stable/8/sys/dev/iwn

2011-06-18 Thread Bernhard Schmidt
Author: bschmidt Date: Sat Jun 18 11:39:09 2011 New Revision: 223240 URL: http://svn.freebsd.org/changeset/base/223240 Log: MFC r220676-220677: The 6005 series devices need additional temperature offset calibration as well as the IWN_GP_DRIVER_CALIB_VER6 bit set. Modified: stable/8/sys/de

svn commit: r223239 - stable/8/sys/dev/iwn

2011-06-18 Thread Bernhard Schmidt
Author: bschmidt Date: Sat Jun 18 11:36:57 2011 New Revision: 223239 URL: http://svn.freebsd.org/changeset/base/223239 Log: MFC r220674: Revert some of local calibration changes in favour of the OpenBSD implementation. This includes the fix required for the 6050 series devices. Modified:

svn commit: r223238 - stable/8/sys/dev/iwn

2011-06-18 Thread Bernhard Schmidt
Author: bschmidt Date: Sat Jun 18 11:33:55 2011 New Revision: 223238 URL: http://svn.freebsd.org/changeset/base/223238 Log: MFC r220667+220668: Split up watchdog and calibration callout. This allows us to use different timing on both and to remove some monitor mode specific hacks (which has

svn commit: r223237 - stable/8/sys/dev/iwn

2011-06-18 Thread Bernhard Schmidt
Author: bschmidt Date: Sat Jun 18 11:31:19 2011 New Revision: 223237 URL: http://svn.freebsd.org/changeset/base/223237 Log: MFC r220662: Split out bluetooth coexistence setup. Modified: stable/8/sys/dev/iwn/if_iwn.c Directory Properties: stable/8/sys/ (props changed) stable/8/sys/amd6

svn commit: r223236 - stable/8/sys/dev/iwn

2011-06-18 Thread Bernhard Schmidt
Author: bschmidt Date: Sat Jun 18 11:29:44 2011 New Revision: 223236 URL: http://svn.freebsd.org/changeset/base/223236 Log: MFC r220661: Fixes for firmware handling: - there is a local variable for sc->fw_dma, use that instead - OpenBSD uses 5*hz to wait for firmware to be loaded - in ca

svn commit: r223235 - head/sys/sparc64/sparc64

2011-06-18 Thread Marius Strobl
Author: marius Date: Sat Jun 18 11:27:44 2011 New Revision: 223235 URL: http://svn.freebsd.org/changeset/base/223235 Log: - As with stray vector interrupts limit the reporting of stray level interrupts. Bringup on additional machine models repeatedly reveals firmware that enables interru

svn commit: r223234 - stable/8/sys/dev/iwn

2011-06-18 Thread Bernhard Schmidt
Author: bschmidt Date: Sat Jun 18 11:27:28 2011 New Revision: 223234 URL: http://svn.freebsd.org/changeset/base/223234 Log: MFC r220660: Only handle beacon misses while in RUN state and not scanning. Modified: stable/8/sys/dev/iwn/if_iwn.c Directory Properties: stable/8/sys/ (props chan

svn commit: r223233 - stable/8/sys/dev/iwn

2011-06-18 Thread Bernhard Schmidt
Author: bschmidt Date: Sat Jun 18 11:25:33 2011 New Revision: 223233 URL: http://svn.freebsd.org/changeset/base/223233 Log: MFC r220659: Don't timeout when stopping DMA channels. Obtained from:OpenBSD Modified: stable/8/sys/dev/iwn/if_iwn.c stable/8/sys/dev/iwn/if_iwnreg.h Di

svn commit: r223232 - stable/8/sys/dev/iwn

2011-06-18 Thread Bernhard Schmidt
Author: bschmidt Date: Sat Jun 18 11:23:42 2011 New Revision: 223232 URL: http://svn.freebsd.org/changeset/base/223232 Log: MFC r220636: Instead of trying to figure out which rxon.flags to clear, restart from scratch. Remove htole16() calls, rxon.chan is an uint8_t, ieee80211_chan2ieee() d

svn commit: r223231 - stable/8/sys/dev/iwn

2011-06-18 Thread Bernhard Schmidt
Author: bschmidt Date: Sat Jun 18 11:21:56 2011 New Revision: 223231 URL: http://svn.freebsd.org/changeset/base/223231 Log: MFC r220635: iwn_cleanup() is just a wrapper around iwn_detach(), call it directly instead. Modified: stable/8/sys/dev/iwn/if_iwn.c Directory Properties: stable/8/

svn commit: r223230 - stable/8/sys/dev/iwn

2011-06-18 Thread Bernhard Schmidt
Author: bschmidt Date: Sat Jun 18 11:19:12 2011 New Revision: 223230 URL: http://svn.freebsd.org/changeset/base/223230 Log: MFC r220634: Reuse net80211 code: - IWN_TXOP_TO_US is equal to IEEE80211_TXOP_TO_US - use IEEE80211_DUR_TU - ieee80211_add_rates/ieee80211_add_xrates are public, us

svn commit: r223229 - stable/8/sys/dev/iwn

2011-06-18 Thread Bernhard Schmidt
Author: bschmidt Date: Sat Jun 18 11:17:13 2011 New Revision: 223229 URL: http://svn.freebsd.org/changeset/base/223229 Log: MFC r220633: Remove IWN_FLAG_HAS_5GHZ and IWN_PCI_BAR0, both unused. Modified: stable/8/sys/dev/iwn/if_iwn.c stable/8/sys/dev/iwn/if_iwnreg.h stable/8/sys/dev/iwn/

Re: svn commit: r223211 - head/sys/x86/x86

2011-06-18 Thread Bruce Evans
On Fri, 17 Jun 2011, Jung-uk Kim wrote: Log: Teach the compiler how to shift TSC value efficiently. As noted in r220631, some times compiler inserts redundant instructions to preserve unused upper 32 bits even when it is casted to a 32-bit value. Unfortunately, it seems the problem becomes

svn commit: r223228 - in head/lib/libthr/arch/sparc64: . include sparc64

2011-06-18 Thread Marius Strobl
Author: marius Date: Sat Jun 18 11:07:09 2011 New Revision: 223228 URL: http://svn.freebsd.org/changeset/base/223228 Log: Merge from r161730: o Set TP using inline assembly to avoid dead code elimination. o Eliminate _tcb. Merge from r161840: Stylize: avoid using a global register v

svn commit: r223227 - head/etc

2011-06-18 Thread Jilles Tjoelker
Author: jilles Date: Sat Jun 18 11:05:30 2011 New Revision: 223227 URL: http://svn.freebsd.org/changeset/base/223227 Log: rc.subr: Eliminate about 100 forks from the boot sequence. With the current sh, placing eval in a command substitution always results in a fork(), even if it is the on

svn commit: r223226 - head

2011-06-18 Thread Marius Strobl
Author: marius Date: Sat Jun 18 10:48:00 2011 New Revision: 223226 URL: http://svn.freebsd.org/changeset/base/223226 Log: Add an entry for r221407 forgotten in said revision. Modified: head/UPDATING Modified: head/UPDATING =

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

2011-06-18 Thread Michael Tuexen
Author: tuexen Date: Sat Jun 18 10:36:05 2011 New Revision: 223225 URL: http://svn.freebsd.org/changeset/base/223225 Log: Document the latest changes to sctp_opt_info() in the code. This makes sctp_opt_info() compiliant with the latest version of the socket API ID. Modified: head/lib/libc

svn commit: r223224 - head/usr.sbin/jls

2011-06-18 Thread Bjoern A. Zeeb
Author: bz Date: Sat Jun 18 09:46:39 2011 New Revision: 223224 URL: http://svn.freebsd.org/changeset/base/223224 Log: Add a missing ',' to separate arguments lost for r222465 only found in case a complete world is built without INET support. MFC after:10 days X-MFC with: 222465 M

svn commit: r223223 - head/sys/net

2011-06-18 Thread Bjoern A. Zeeb
Author: bz Date: Sat Jun 18 09:34:03 2011 New Revision: 223223 URL: http://svn.freebsd.org/changeset/base/223223 Log: gre(4) was using a field in the softc to detect possible recursion. On MP systems this is not a usable solution anymore and could easily lead to false positives triggering en

svn commit: r223222 - head/usr.bin/users

2011-06-18 Thread Ed Schouten
Author: ed Date: Sat Jun 18 07:47:15 2011 New Revision: 223222 URL: http://svn.freebsd.org/changeset/base/223222 Log: Let the size of the namebuf depend on the size of the ut_user field. Modified: head/usr.bin/users/users.c Modified: head/usr.bin/users/users.c ===