svn commit: r188560 - head/tools/tools/ath/athstats

2009-02-12 Thread Sam Leffler
Author: sam Date: Fri Feb 13 05:45:23 2009 New Revision: 188560 URL: http://svn.freebsd.org/changeset/base/188560 Log: add -z option to zero driver statistics (but note we don't yet zero stats obtained from the hal) Modified: head/tools/tools/ath/athstats/athstats.c head/tools/tools/ath/a

svn commit: r188559 - head/tools/tools/ath/athstats

2009-02-12 Thread Sam Leffler
Author: sam Date: Fri Feb 13 05:44:18 2009 New Revision: 188559 URL: http://svn.freebsd.org/changeset/base/188559 Log: add stats no frags and missing stat for no dma buffers Modified: head/tools/tools/ath/athstats/athstats.c Modified: head/tools/tools/ath/athstats/athstats.c

svn commit: r188558 - head/tools/tools/ath/athstats

2009-02-12 Thread Sam Leffler
Author: sam Date: Fri Feb 13 05:42:25 2009 New Revision: 188558 URL: http://svn.freebsd.org/changeset/base/188558 Log: backout r188327, it broke summary printing Modified: head/tools/tools/ath/athstats/Makefile head/tools/tools/ath/athstats/athstats.c head/tools/tools/ath/athstats/statfoo

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

2009-02-12 Thread Sam Leffler
Author: sam Date: Fri Feb 13 05:38:03 2009 New Revision: 188557 URL: http://svn.freebsd.org/changeset/base/188557 Log: add SIOCZATHSTATS ioctl to zero driver statistics Modified: head/sys/dev/ath/if_ath.c head/sys/dev/ath/if_athioctl.h Modified: head/sys/dev/ath/if_ath.c ==

svn commit: r188556 - head/sys/net80211

2009-02-12 Thread Sam Leffler
Author: sam Date: Fri Feb 13 05:31:18 2009 New Revision: 188556 URL: http://svn.freebsd.org/changeset/base/188556 Log: remove ic_stats; it was intended to accumulate stats from vaps as they were reaped but was never used and is inaccessible Modified: head/sys/net80211/ieee80211.c head/sys

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

2009-02-12 Thread Sam Leffler
Author: sam Date: Fri Feb 13 05:30:22 2009 New Revision: 188555 URL: http://svn.freebsd.org/changeset/base/188555 Log: add driver stat to count tx drops due to insufficient frag buffers Modified: head/sys/dev/ath/if_ath.c head/sys/dev/ath/if_athioctl.h Modified: head/sys/dev/ath/if_ath.c =

svn commit: r188554 - head/sys/net80211

2009-02-12 Thread Sam Leffler
Author: sam Date: Fri Feb 13 05:26:04 2009 New Revision: 188554 URL: http://svn.freebsd.org/changeset/base/188554 Log: strip M_FRAG & co mbufs coming down from ip_output, these flags are re-used within net80211 to mark 802.11 frags so allowing them to leak through to the driver caused packet

svn commit: r188553 - head/sys/dev/usb2/ethernet

2009-02-12 Thread Andrew Thompson
Author: thompsa Date: Fri Feb 13 03:38:08 2009 New Revision: 188553 URL: http://svn.freebsd.org/changeset/base/188553 Log: Restore some of the link handling code that was inadvertently removed in r188412, this broke the GU-1000T adapters. Submitted by: yongari Pointy hat: me Modified

svn commit: r188552 - head/sys/dev/usb2/ethernet

2009-02-12 Thread Andrew Thompson
Author: thompsa Date: Fri Feb 13 02:48:32 2009 New Revision: 188552 URL: http://svn.freebsd.org/changeset/base/188552 Log: Add module dependency on miibus. Submitted by: yongari Modified: head/sys/dev/usb2/ethernet/usb2_ethernet.c Modified: head/sys/dev/usb2/ethernet/usb2_ethernet.c ===

svn commit: r188551 - stable/7/share/man/man4

2009-02-12 Thread Pyun YongHyeon
Author: yongari Date: Fri Feb 13 02:41:15 2009 New Revision: 188551 URL: http://svn.freebsd.org/changeset/base/188551 Log: MFC r186126: Elaborate on the hardware features fxp(4) supports. Modified: stable/7/share/man/man4/ (props changed) stable/7/share/man/man4/fxp.4 stable/7/share

svn commit: r188550 - head/sys/dev/sis

2009-02-12 Thread Pyun YongHyeon
Author: yongari Date: Fri Feb 13 02:08:20 2009 New Revision: 188550 URL: http://svn.freebsd.org/changeset/base/188550 Log: Receving VLAN oversized frames raise SIS_ISR_RX_ERR interrupt, so make sis_rxeof() handle that too. Previously it used to receive the frame and reset controller. PR

svn commit: r188549 - head/sys/dev/ath/ath_hal/ar5312

2009-02-12 Thread Sam Leffler
Author: sam Date: Fri Feb 13 01:50:04 2009 New Revision: 188549 URL: http://svn.freebsd.org/changeset/base/188549 Log: Recognize AR5212_AR2317_REV2 in ar5312Probe() Submitted by: Pavel Roskin Modified: head/sys/dev/ath/ath_hal/ar5312/ar5312_attach.c Modified: head/sys/dev/ath/ath_hal/a

svn commit: r188548 - head/sys/kern

2009-02-12 Thread Andrew Thompson
Author: thompsa Date: Fri Feb 13 01:16:51 2009 New Revision: 188548 URL: http://svn.freebsd.org/changeset/base/188548 Log: Check the exit flag at the start of the taskqueue loop rather than the end. It is possible to tear down the taskqueue before the thread has run and the taskqueue loop wo

svn commit: r188547 - in stable/7/sys: . contrib/pf dev/ath/ath_hal dev/cxgb netgraph/bluetooth/socket

2009-02-12 Thread Maksim Yevmenkin
Author: emax Date: Fri Feb 13 01:14:00 2009 New Revision: 188547 URL: http://svn.freebsd.org/changeset/base/188547 Log: MFC r188452 Update comment. soalloc() is no longer performing M_WAITOK memory allocations. Submitted by: ru Modified: stable/7/sys/ (props changed) stable/7/sy

svn commit: r188546 - head/sys/net

2009-02-12 Thread Robert Watson
Author: rwatson Date: Fri Feb 13 00:01:11 2009 New Revision: 188546 URL: http://svn.freebsd.org/changeset/base/188546 Log: Remove unused ifaddr local variable in ioctl routine. MFC after:3 days Modified: head/sys/net/if_vlan.c Modified: head/sys/net/if_vlan.c ===

svn commit: r188545 - head/sys/dev/cm

2009-02-12 Thread Robert Watson
Author: rwatson Date: Thu Feb 12 23:55:35 2009 New Revision: 188545 URL: http://svn.freebsd.org/changeset/base/188545 Log: Remove unused ifaddr and ifreq local variables. MFC after:3 days Modified: head/sys/dev/cm/smc90cx6.c Modified: head/sys/dev/cm/smc90cx6.c =

svn commit: r188541 - head/sys/net80211

2009-02-12 Thread Sam Leffler
Author: sam Date: Thu Feb 12 23:34:58 2009 New Revision: 188541 URL: http://svn.freebsd.org/changeset/base/188541 Log: o replace ieee80211_node_reclaim by individual operations to release the references to iv_bss and the sta table; this is equivalent and causes direct reclaim of the old

svn commit: r188540 - in head/sys/arm: arm include

2009-02-12 Thread Olivier Houchard
Author: cognet Date: Thu Feb 12 23:23:30 2009 New Revision: 188540 URL: http://svn.freebsd.org/changeset/base/188540 Log: To prevent various race conditions in the RAS code, store and restore the values in ARM_RAS_START and ARM_RAS_END at context switch time. MFC after:1 week Modifie

svn commit: r188539 - head/sys/arm/arm

2009-02-12 Thread Olivier Houchard
Author: cognet Date: Thu Feb 12 22:55:39 2009 New Revision: 188539 URL: http://svn.freebsd.org/changeset/base/188539 Log: Do not set thread0.td_frame to a bogus value, as it's going to overwrite the thread0 pcb, while the board-dependant code already set a good trapframe. Reported by: Ma

svn commit: r188537 - head/sys/modules

2009-02-12 Thread Olivier Houchard
Author: cognet Date: Thu Feb 12 21:01:16 2009 New Revision: 188537 URL: http://svn.freebsd.org/changeset/base/188537 Log: Unbreak build by making svr4 conditional on i386. Modified: head/sys/modules/Makefile Modified: head/sys/modules/Makefile

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

2009-02-12 Thread Ed Schouten
Author: ed Date: Thu Feb 12 19:32:52 2009 New Revision: 188536 URL: http://svn.freebsd.org/changeset/base/188536 Log: Properly invalidate highest pts number when calling setttyent(). When calling setttyent() after calling endttyent(), pts_valid will never be set to 1, because the readdir(

svn commit: r188535 - in head/etc: etc.amd64 etc.arm etc.i386 etc.ia64 etc.mips etc.powerpc etc.sparc64

2009-02-12 Thread Ed Schouten
Author: ed Date: Thu Feb 12 19:21:48 2009 New Revision: 188535 URL: http://svn.freebsd.org/changeset/base/188535 Log: Remove pts(4) entries from /etc/ttys. Even though I increased the amount of pts(4) entries in /etc/ttys some time ago, I didn't realize back then those entries shouldn't h

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

2009-02-12 Thread Ed Schouten
Author: ed Date: Thu Feb 12 19:00:13 2009 New Revision: 188534 URL: http://svn.freebsd.org/changeset/base/188534 Log: Make ttyslot(3) work with pts(4) devices. It seems ttyslot() calls rindex(), to strip the device name to the last slash, but this is obviously invalid. /dev/pts/0 should b

svn commit: r188533 - head/sys/net80211

2009-02-12 Thread Andrew Thompson
Author: thompsa Date: Thu Feb 12 18:57:18 2009 New Revision: 188533 URL: http://svn.freebsd.org/changeset/base/188533 Log: Add a ieee80211_waitfor_parent() function that will wait for all deferred parent interface tasks to complete. This had been added to the ioctl path but it is also need e

svn commit: r188532 - in stable/7/sys: . netinet netinet6

2009-02-12 Thread Randall Stewart
Author: rrs Date: Thu Feb 12 18:50:27 2009 New Revision: 188532 URL: http://svn.freebsd.org/changeset/base/188532 Log: MFC of 185694 - The IETF hack session: Code from the hack-session known as the IETF (and a bit of debugging afterwards): - Fix protection code for notification generation.

svn commit: r188531 - head/sys/dev/mxge

2009-02-12 Thread Roman Divacky
Author: rdivacky Date: Thu Feb 12 18:33:56 2009 New Revision: 188531 URL: http://svn.freebsd.org/changeset/base/188531 Log: Remove obsolete C preprocessor assertions. Approved by:kib (mentor) Modified: head/sys/dev/mxge/if_mxge.c Modified: head/sys/dev/mxge/if_mxge.c ===

svn commit: r188530 - in stable/7/sys: . netinet

2009-02-12 Thread Randall Stewart
Author: rrs Date: Thu Feb 12 18:33:26 2009 New Revision: 188530 URL: http://svn.freebsd.org/changeset/base/188530 Log: MFC 184883 - a pack of bug fixes and misc adjustments: -Improvement: Add '\n' on debug output in sctp_lower_sosend(). -Improvement: panic() on INVARIANTS kernels if memor

svn commit: r188529 - head/etc/etc.arm

2009-02-12 Thread Sam Leffler
Author: sam Date: Thu Feb 12 18:33:13 2009 New Revision: 188529 URL: http://svn.freebsd.org/changeset/base/188529 Log: turn off ttyv*; not aware of any arm-based systems with syscons Reviewed by: imp Modified: head/etc/etc.arm/ttys Modified: head/etc/etc.arm/ttys ==

svn commit: r188528 - in stable/7/sys: . netinet

2009-02-12 Thread Randall Stewart
Author: rrs Date: Thu Feb 12 18:28:42 2009 New Revision: 188528 URL: http://svn.freebsd.org/changeset/base/188528 Log: MFC of 184340 More issues with pre-blocking: a) Need for EEOR mode to take the min of the socket buffer size and the add more threshold, otherwise if you are so si

svn commit: r188527 - in stable/7/sys: . netinet

2009-02-12 Thread Randall Stewart
Author: rrs Date: Thu Feb 12 18:24:54 2009 New Revision: 188527 URL: http://svn.freebsd.org/changeset/base/188527 Log: MFC 184333 Invariants changes that make more sense. Modified: stable/7/sys/ (props changed) stable/7/sys/netinet/sctp_timer.c stable/7/sys/netinet/sctp_timer.h Mo

svn commit: r188526 - in stable/7/sys: . netinet

2009-02-12 Thread Randall Stewart
Author: rrs Date: Thu Feb 12 18:22:11 2009 New Revision: 188526 URL: http://svn.freebsd.org/changeset/base/188526 Log: MFC of 184031: The flags value was not always being copied out in the recv routine like it should be. Obtained from: Michael Tuexen Modified: stable/7/sys/ (props

svn commit: r188525 - in stable/7/sys: . netinet

2009-02-12 Thread Randall Stewart
Author: rrs Date: Thu Feb 12 18:02:46 2009 New Revision: 188525 URL: http://svn.freebsd.org/changeset/base/188525 Log: MFC of 184027: Reported by Yehuda Weinraub (yehud...@gamil.com) - CRC32C algorithm uses incorrect init_bytes value. It SHOULD have the number of bytes to get to a 4 byt

svn commit: r188524 - in stable/7/sys: . netinet

2009-02-12 Thread Randall Stewart
Author: rrs Date: Thu Feb 12 17:57:28 2009 New Revision: 188524 URL: http://svn.freebsd.org/changeset/base/188524 Log: MFC of 182367 and 182403 - Make strict-sacks be the default. - Change it so that without INVARIANTs there are no panics in SCTP. - sctp_timer changes so that we hav

svn commit: r188523 - in stable/7/sys: . netinet

2009-02-12 Thread Randall Stewart
Author: rrs Date: Thu Feb 12 17:31:39 2009 New Revision: 188523 URL: http://svn.freebsd.org/changeset/base/188523 Log: MFC of 184336: Two inter-related bugs. - If we send EXACTLY the size left in the send buffer and then send again, we end up with exactly 0 bytes and don't h

svn commit: r188522 - in stable/7/sys: . netinet

2009-02-12 Thread Randall Stewart
Author: rrs Date: Thu Feb 12 17:26:16 2009 New Revision: 188522 URL: http://svn.freebsd.org/changeset/base/188522 Log: MFC of 184030 - socket accept inherit bug. Basically accepted sockets were not inheriting the proper sock buf size. Modified: stable/7/sys

svn commit: r188521 - in stable/7/sys: . netinet

2009-02-12 Thread Randall Stewart
Author: rrs Date: Thu Feb 12 16:40:48 2009 New Revision: 188521 URL: http://svn.freebsd.org/changeset/base/188521 Log: Merges in 182268 from head close bug where we failed to NULL the sctp_socket. Modified: stable/7/sys/ (props changed) stable/7/sys/netinet/sctp_pcb.c Modified: stable/

svn commit: r188520 - head/sbin/newfs

2009-02-12 Thread Olivier Houchard
Author: cognet Date: Thu Feb 12 15:28:15 2009 New Revision: 188520 URL: http://svn.freebsd.org/changeset/base/188520 Log: Don't add a bwrite() symbol, it breaks the build when building newfs statically. Instead, bring in a stripped down version of sbwrite(), and add the offset to every bwr

svn commit: r188519 - stable/6/sys/dev/sound/pci

2009-02-12 Thread Olivier Houchard
Author: cognet Date: Thu Feb 12 15:26:27 2009 New Revision: 188519 URL: http://svn.freebsd.org/changeset/base/188519 Log: MFC: r188424 | cognet | 2009-02-09 23:59:22 +0100 (Mon, 09 Feb 2009) | 6 lines Hmm... "base? base : 0" and "base" should be equivalent. Modified: stable/6/sys/dev/s

svn commit: r188518 - stable/7/sys/dev/sound/pci

2009-02-12 Thread Olivier Houchard
Author: cognet Date: Thu Feb 12 15:26:00 2009 New Revision: 188518 URL: http://svn.freebsd.org/changeset/base/188518 Log: MFC: r188424 | cognet | 2009-02-09 23:59:22 +0100 (Mon, 09 Feb 2009) | 6 lines Hmm... "base? base : 0" and "base" should be equivalent. Modified: stable/7/sys/dev/s

svn commit: r188517 - in stable/6/sys: . boot/i386/libi386 contrib/pf dev/cxgb

2009-02-12 Thread John Baldwin
Author: jhb Date: Thu Feb 12 14:49:20 2009 New Revision: 188517 URL: http://svn.freebsd.org/changeset/base/188517 Log: MFC: Use CPUID to see if the current CPU supports long mode when attemping to boot an amd64 kernel. Modified: stable/6/sys/ (props changed) stable/6/sys/boot/i386/libi3

svn commit: r188516 - in head/sys/modules: . acpi/acpi agp dtrace/dtrace linux svr4

2009-02-12 Thread Nick Hibma
Author: n_hibma Date: Thu Feb 12 14:44:15 2009 New Revision: 188516 URL: http://svn.freebsd.org/changeset/base/188516 Log: Fix a few problems related to building modules in /sys/modules (not checked whether this applies to builds in /sys/*/compile/* as well): - Create empty opt_*.h files

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

2009-02-12 Thread John Baldwin
Author: jhb Date: Thu Feb 12 14:41:23 2009 New Revision: 188515 URL: http://svn.freebsd.org/changeset/base/188515 Log: MFC: Drop the kernel linker lock while running SYSUNINIT routines and removing sysctls during a linker file unload. Modified: stable/7/sys/ (props changed) stable/7/sys

svn commit: r188514 - in stable/7/sys: . contrib/pf dev/cxgb libkern

2009-02-12 Thread John Baldwin
Author: jhb Date: Thu Feb 12 14:37:58 2009 New Revision: 188514 URL: http://svn.freebsd.org/changeset/base/188514 Log: MFC: Add simple locking for the in-kernel iconv code. Modified: stable/7/sys/ (props changed) stable/7/sys/contrib/pf/ (props changed) stable/7/sys/dev/cxgb/ (props

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

2009-02-12 Thread Alexander Motin
Author: mav Date: Thu Feb 12 13:04:13 2009 New Revision: 188512 URL: http://svn.freebsd.org/changeset/base/188512 Log: Fix spelling a bit. Modified: head/share/man/man4/snd_hda.4 Modified: head/share/man/man4/snd_hda.4 =

svn commit: r188511 - head/sys/dev/puc

2009-02-12 Thread Kevin Lo
Author: kevlo Date: Thu Feb 12 10:39:19 2009 New Revision: 188511 URL: http://svn.freebsd.org/changeset/base/188511 Log: Add support for the Sunix SUN1889-based dual parallel port card. PR: kern/128219 Submitted by: Thinker K.F. Li Modified: head/sys/dev/puc/pucdata.c Modified: head/

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

2009-02-12 Thread Alexander Motin
Author: mav Date: Thu Feb 12 09:37:45 2009 New Revision: 188510 URL: http://svn.freebsd.org/changeset/base/188510 Log: s/succeded/succeeded/ in comments. Modified: head/sys/dev/sound/pci/hda/hdac.c Modified: head/sys/dev/sound/pci/hda/hdac.c ==