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

2013-03-08 Thread Adrian Chadd
Author: adrian Date: Sat Mar 9 06:11:58 2013 New Revision: 248090 URL: http://svnweb.freebsd.org/changeset/base/248090 Log: Print out the queue flags during a TX DMA shutdown. Modified: head/sys/dev/ath/if_ath.c Modified: head/sys/dev/ath/if_ath.c ===

svn commit: r248089 - head/sys/net80211

2013-03-08 Thread Adrian Chadd
Author: adrian Date: Sat Mar 9 05:20:33 2013 New Revision: 248089 URL: http://svnweb.freebsd.org/changeset/base/248089 Log: Fix non-invariant compilation. Modified: head/sys/net80211/ieee80211_mesh.c Modified: head/sys/net80211/ieee80211_mesh.c ==

svn commit: r248084 - in head/sys: amd64/amd64 arm/arm cddl/compat/opensolaris/kern cddl/compat/opensolaris/sys cddl/contrib/opensolaris/uts/common/fs/zfs cddl/contrib/opensolaris/uts/common/fs/zfs...

2013-03-08 Thread Attilio Rao
Author: attilio Date: Sat Mar 9 02:32:23 2013 New Revision: 248084 URL: http://svnweb.freebsd.org/changeset/base/248084 Log: Switch the vm_object mutex to be a rwlock. This will enable in the future further optimizations where the vm_object lock will be held in read mode most of the time t

svn commit: r248082 - in head/sys: cddl/compat/opensolaris/sys vm

2013-03-08 Thread Attilio Rao
Author: attilio Date: Sat Mar 9 02:05:29 2013 New Revision: 248082 URL: http://svnweb.freebsd.org/changeset/base/248082 Log: Merge from vmc-playground: Introduce a new KPI that verifies if the page cache is empty for a specified vm_object. This KPI does not make assumptions about the loc

svn commit: r248079 - head/sys/modules/ath

2013-03-08 Thread Adrian Chadd
Author: adrian Date: Sat Mar 9 01:05:36 2013 New Revision: 248079 URL: http://svnweb.freebsd.org/changeset/base/248079 Log: Placeholder for the upcoming AR9300 HAL code. Modified: head/sys/modules/ath/Makefile Modified: head/sys/modules/ath/Makefile =

svn commit: r248078 - in stable/9/sys/dev: age alc ale an ath bce bfe bge bm bwi bwn bxe cas ce cm cp cs ctau cx cxgb cxgb/sys cxgbe cxgbe/tom dc de e1000 ed en ep et ex fatm fe firewire fxp gem ha...

2013-03-08 Thread Marius Strobl
Author: marius Date: Sat Mar 9 00:39:54 2013 New Revision: 248078 URL: http://svnweb.freebsd.org/changeset/base/248078 Log: MFC: r243857 (partial) Mechanically substitute flags from historic mbuf allocator with malloc(9) flags in sys/dev. Modified: stable/9/sys/dev/age/if_age.c stab

Re: svn commit: r248031 - in head/sys: kern sys

2013-03-08 Thread Alfred Perlstein
Agreed, Andre, please stop removing my comments. -Alfred On 3/8/13 10:17 AM, Alan Cox wrote: On 03/08/2013 04:14, Andre Oppermann wrote: Author: andre Date: Fri Mar 8 10:14:58 2013 New Revision: 248031 URL: http://svnweb.freebsd.org/changeset/base/248031 Log: Move the auto-sizing of the

Re: svn commit: r237268 - head/lib/libutil

2013-03-08 Thread Jase Thew
On 19/06/2012 12:39, Baptiste Daroussin wrote: > Author: bapt > Date: Tue Jun 19 11:39:56 2012 > New Revision: 237268 > URL: http://svn.freebsd.org/changeset/base/237268 > > Log: > Revert user comparison back to user names as some user can share uids > (root/toor > for example) > > get t

Re: svn commit: r247919 - head/lib/libutil

2013-03-08 Thread Xin Li
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 03/07/13 11:00, Diane Bruce wrote: > Author: db (ports committer) Date: Thu Mar 7 19:00:00 2013 New > Revision: 247919 URL: > http://svnweb.freebsd.org/changeset/base/247919 > > Log: Cleanup gr_add() so it does not leak mem This is part of > ong

svn commit: r248075 - svnadmin/conf

2013-03-08 Thread Josh Paetzel
Author: jpaetzel Date: Fri Mar 8 21:44:42 2013 New Revision: 248075 URL: http://svnweb.freebsd.org/changeset/base/248075 Log: Enter code freeze for the 8.4 release cycle by turning on approval checking for stable/8. Approved by: core (implicit) Modified: svnadmin/conf/approvers Modi

svn commit: r248074 - stable/8/sys/cddl/dev/dtrace

2013-03-08 Thread Ryan Stone
Author: rstone Date: Fri Mar 8 21:07:31 2013 New Revision: 248074 URL: http://svnweb.freebsd.org/changeset/base/248074 Log: MFC r244631 Correct a series of errors in the hand-rolled locking for drace_debug.c: - Use spinlock_enter()/spinlock_exit() to prevent a thread holding a

svn commit: r248073 - stable/9/sys/cddl/dev/dtrace

2013-03-08 Thread Ryan Stone
Author: rstone Date: Fri Mar 8 21:07:01 2013 New Revision: 248073 URL: http://svnweb.freebsd.org/changeset/base/248073 Log: MFC r244631 Correct a series of errors in the hand-rolled locking for drace_debug.c: - Use spinlock_enter()/spinlock_exit() to prevent a thread holding a

svn commit: r248072 - stable/8/sys/cddl/dev/dtrace

2013-03-08 Thread Ryan Stone
Author: rstone Date: Fri Mar 8 21:04:16 2013 New Revision: 248072 URL: http://svnweb.freebsd.org/changeset/base/248072 Log: MFC r226452 (by marcel@) Define dtrace_cmpset_long in terms of atomic_cmpset_long and not by virtue of inline assembly. Now this file compiles on all suppor

svn commit: r248071 - stable/9/sys/cddl/dev/dtrace

2013-03-08 Thread Ryan Stone
Author: rstone Date: Fri Mar 8 21:03:35 2013 New Revision: 248071 URL: http://svnweb.freebsd.org/changeset/base/248071 Log: MFC r226452 (by marcel@) Define dtrace_cmpset_long in terms of atomic_cmpset_long and not by virtue of inline assembly. Now this file compiles on all suppor

svn commit: r248070 - head/sys/net

2013-03-08 Thread Alexander V. Chernikov
Author: melifaro Date: Fri Mar 8 20:33:50 2013 New Revision: 248070 URL: http://svnweb.freebsd.org/changeset/base/248070 Log: Fix long-standing issue with interface routes being unprotected: Use RTM_PINNED flag to mark route as immutable. Forbid deleting immutable routes without special rtr

svn commit: r248069 - head/sys/net80211

2013-03-08 Thread Adrian Chadd
Author: adrian Date: Fri Mar 8 20:23:55 2013 New Revision: 248069 URL: http://svnweb.freebsd.org/changeset/base/248069 Log: Bring over my initial work from the net80211 TX locking branch. This patchset implements a new TX lock, covering both the per-VAP (and thus per-node) TX locking and

svn commit: r248068 - in head: sbin/geom/class/raid sys/geom/raid

2013-03-08 Thread Sean Bruno
Author: sbruno Date: Fri Mar 8 20:07:32 2013 New Revision: 248068 URL: http://svnweb.freebsd.org/changeset/base/248068 Log: Add legacy support to geom raid to create a /dev/arX device for support of upgrading older machines using ataraid(4) to newer releases. This optional parameter is c

svn commit: r248067 - stable/8/sys/netgraph

2013-03-08 Thread Ryan Stone
Author: rstone Date: Fri Mar 8 19:36:44 2013 New Revision: 248067 URL: http://svnweb.freebsd.org/changeset/base/248067 Log: MFC r241009 Ensure that all cases that enqueue a netgraph item for delivery by a ngthread properly set the item's depth to 1. In particular, prior to this cha

svn commit: r248066 - stable/9/sys/netgraph

2013-03-08 Thread Ryan Stone
Author: rstone Date: Fri Mar 8 19:36:36 2013 New Revision: 248066 URL: http://svnweb.freebsd.org/changeset/base/248066 Log: MFC r241009 Ensure that all cases that enqueue a netgraph item for delivery by a ngthread properly set the item's depth to 1. In particular, prior to this cha

svn commit: r248064 - stable/8/sys/dev/aac

2013-03-08 Thread Ryan Stone
Author: rstone Date: Fri Mar 8 19:02:45 2013 New Revision: 248064 URL: http://svnweb.freebsd.org/changeset/base/248064 Log: MFC r240923 Some aac(4) adapters will always report that a direct access device is offline in response to a INQUIRY command that does not retreive vital pro

svn commit: r248063 - stable/9/sys/dev/aac

2013-03-08 Thread Ryan Stone
Author: rstone Date: Fri Mar 8 19:01:26 2013 New Revision: 248063 URL: http://svnweb.freebsd.org/changeset/base/248063 Log: MFC r240923 Some aac(4) adapters will always report that a direct access device is offline in response to a INQUIRY command that does not retreive vital pro

svn commit: r248062 - in stable: 8/sys/dev/oce 9/sys/dev/oce

2013-03-08 Thread Xin LI
Author: delphij Date: Fri Mar 8 18:46:21 2013 New Revision: 248062 URL: http://svnweb.freebsd.org/changeset/base/248062 Log: MFC r231879,246799,247880,248059: Update driver to version 4.6.95.0. Submitted by: "Duvvuru,Venkat Kumar" Modified: stable/8/sys/dev/oce/oce_hw.c stable/8

svn commit: r248062 - in stable: 8/sys/dev/oce 9/sys/dev/oce

2013-03-08 Thread Xin LI
Author: delphij Date: Fri Mar 8 18:46:21 2013 New Revision: 248062 URL: http://svnweb.freebsd.org/changeset/base/248062 Log: MFC r231879,246799,247880,248059: Update driver to version 4.6.95.0. Submitted by: "Duvvuru,Venkat Kumar" Modified: stable/9/sys/dev/oce/oce_hw.c stable/9

Re: svn commit: r248031 - in head/sys: kern sys

2013-03-08 Thread Alan Cox
On 03/08/2013 04:14, Andre Oppermann wrote: > Author: andre > Date: Fri Mar 8 10:14:58 2013 > New Revision: 248031 > URL: http://svnweb.freebsd.org/changeset/base/248031 > > Log: > Move the auto-sizing of the callout array from init_param2() to > kern_timeout_callwheel_alloc() where it is actu

svn commit: r248061 - head/sys/dev/drm2

2013-03-08 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Fri Mar 8 18:15:07 2013 New Revision: 248061 URL: http://svnweb.freebsd.org/changeset/base/248061 Log: Import Linux commit a1b7736dac5f2d5876e68c47a0fce3f423840070 Author: Sascha Hauer Date: Wed Feb 1 11:38:22 2012 +0100 drm drm_fb_helper: destroy modes

Re: svn commit: r248060 - in head/sys/dev/drm2: . ttm

2013-03-08 Thread Eitan Adler
On 8 March 2013 13:11, Jean-Sebastien Pedron wrote: > @@ -125,8 +125,6 @@ static ssize_t ttm_mem_zone_store(struct > > static void ttm_mem_global_kobj_release(struct ttm_mem_global *glob) > { > - > - free(glob, M_TTM_ZONE); > } Can this function now be removed, because it appears to be e

svn commit: r248060 - in head/sys/dev/drm2: . ttm

2013-03-08 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Fri Mar 8 18:11:02 2013 New Revision: 248060 URL: http://svnweb.freebsd.org/changeset/base/248060 Log: drm: Fix a call to free(9) with an incorrect malloc type While here, the call to free(9) is moved to drm_global.c, near the initial malloc(9). Reviewed by:

svn commit: r248059 - head/sys/dev/oce

2013-03-08 Thread Xin LI
Author: delphij Date: Fri Mar 8 18:08:12 2013 New Revision: 248059 URL: http://svnweb.freebsd.org/changeset/base/248059 Log: Eliminate excessive $FreeBSD$ headers. Noticed by: jmallett Modified: head/sys/dev/oce/oce_hw.h head/sys/dev/oce/oce_sysctl.c Modified: head/sys/dev/oce/oce_

svn commit: r248058 - head/sys/geom/label

2013-03-08 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Fri Mar 8 18:07:43 2013 New Revision: 248058 URL: http://svnweb.freebsd.org/changeset/base/248058 Log: g_label_ntfs_taste: Abort taste is recsize == 0 This will avoid a 0-byte read (in g_read_data()) leading to a panic, if previously read data are erroneous. S

svn commit: r248055 - in head: . sys/sparc64/conf

2013-03-08 Thread Marius Strobl
alse' /etc/malloc.conf".) +20130308: + CTL_DISABLE has also been added to the sparc64 GENERIC (for further + information, see the respective 20130304 entry). + 20130304: Recent commits to callout(9) changed the size of struct callout, so the KBI is probab

svn commit: r248054 - stable/7/sys/dev/pci

2013-03-08 Thread Marius Strobl
Author: marius Date: Fri Mar 8 12:59:06 2013 New Revision: 248054 URL: http://svnweb.freebsd.org/changeset/base/248054 Log: MFC: r247632 - Complete r231621 (MFC'ed to stable/7 in r232094) by also blacklisting the bridge used by VMware for PCIe devices. While at it, update the comment

svn commit: r248053 - stable/8/sys/dev/pci

2013-03-08 Thread Marius Strobl
Author: marius Date: Fri Mar 8 12:58:25 2013 New Revision: 248053 URL: http://svnweb.freebsd.org/changeset/base/248053 Log: - Complete r231621 (MFC'ed to stable/8 in r232093) by also blacklisting the bridge used by VMware for PCIe devices. While at it, update the comment now that we kno

svn commit: r248052 - stable/9/sys/dev/pci

2013-03-08 Thread Marius Strobl
Author: marius Date: Fri Mar 8 12:57:58 2013 New Revision: 248052 URL: http://svnweb.freebsd.org/changeset/base/248052 Log: MFC: r247632 - Complete r231621 (MFC'ed to stable/9 in r232092) by also blacklisting the bridge used by VMware for PCIe devices. While at it, update the comment

svn commit: r248051 - stable/8/sys/sparc64/sbus

2013-03-08 Thread Marius Strobl
Author: marius Date: Fri Mar 8 12:52:57 2013 New Revision: 248051 URL: http://svnweb.freebsd.org/changeset/base/248051 Log: MFC: r247601, r247621 - Correct an incorrect argument to shutdown_nice(9). - Mark unused parameters as such. - Use NULL instead of 0 for pointers. Modified: st

svn commit: r248050 - stable/9/sys/sparc64/sbus

2013-03-08 Thread Marius Strobl
Author: marius Date: Fri Mar 8 12:52:52 2013 New Revision: 248050 URL: http://svnweb.freebsd.org/changeset/base/248050 Log: MFC: r247601, r247621 - Correct an incorrect argument to shutdown_nice(9). - Mark unused parameters as such. - Use NULL instead of 0 for pointers. Modified: st

svn commit: r248049 - in stable/8/sys: conf sparc64/pci

2013-03-08 Thread Marius Strobl
Author: marius Date: Fri Mar 8 12:50:31 2013 New Revision: 248049 URL: http://svnweb.freebsd.org/changeset/base/248049 Log: MFC: r247600, r247620 - While Netra X1 generally show no ill effects when registering a power fail interrupt handler, there seems to be either a broken batch of t

svn commit: r248048 - in stable/9/sys: conf sparc64/pci

2013-03-08 Thread Marius Strobl
Author: marius Date: Fri Mar 8 12:50:29 2013 New Revision: 248048 URL: http://svnweb.freebsd.org/changeset/base/248048 Log: MFC: r247600, r247620 - While Netra X1 generally show no ill effects when registering a power fail interrupt handler, there seems to be either a broken batch of t

svn commit: r248047 - stable/8/sys/dev/cas

2013-03-08 Thread Marius Strobl
Author: marius Date: Fri Mar 8 12:44:40 2013 New Revision: 248047 URL: http://svnweb.freebsd.org/changeset/base/248047 Log: MFC: r223951 Partially merge r223648 and r223949 from gem(4) (committed to stable/8 in r224367): - Consistently use the newly introduced sc_mac_rxcfg throughout t

svn commit: r248046 - stable/9/sys/dev/cas

2013-03-08 Thread Marius Strobl
Author: marius Date: Fri Mar 8 12:44:08 2013 New Revision: 248046 URL: http://svnweb.freebsd.org/changeset/base/248046 Log: MFC: r247579 - Move reporting of failures to disable RX/TX MAC under bootverbose as at least the Saturn chips of 501-6738 cards may fail to do so the first ti

svn commit: r248045 - stable/8/sys/sparc64/pci

2013-03-08 Thread Marius Strobl
Author: marius Date: Fri Mar 8 12:13:33 2013 New Revision: 248045 URL: http://svnweb.freebsd.org/changeset/base/248045 Log: MFC: r247574 - In sbbc_pci_attach() just pass the already obtained bus tag and handle instead of acquiring these anew. - Use NULL instead of 0 for pointers. Mo

svn commit: r248044 - stable/9/sys/sparc64/pci

2013-03-08 Thread Marius Strobl
Author: marius Date: Fri Mar 8 12:13:30 2013 New Revision: 248044 URL: http://svnweb.freebsd.org/changeset/base/248044 Log: MFC: r247574 - In sbbc_pci_attach() just pass the already obtained bus tag and handle instead of acquiring these anew. - Use NULL instead of 0 for pointers. Mo

svn commit: r248043 - stable/8/sys/sparc64/pci

2013-03-08 Thread Marius Strobl
Author: marius Date: Fri Mar 8 12:11:41 2013 New Revision: 248043 URL: http://svnweb.freebsd.org/changeset/base/248043 Log: MFC: r247573 - Remove an unused header. - Use NULL instead of 0 for pointers. - Let ofw_pcib_probe() return BUS_PROBE_DEFAULT instead of 0 so specialized PCI-

svn commit: r248042 - stable/9/sys/sparc64/pci

2013-03-08 Thread Marius Strobl
Author: marius Date: Fri Mar 8 12:11:37 2013 New Revision: 248042 URL: http://svnweb.freebsd.org/changeset/base/248042 Log: MFC: r247573 - Remove an unused header. - Use NULL instead of 0 for pointers. - Let ofw_pcib_probe() return BUS_PROBE_DEFAULT instead of 0 so specialized PCI-

svn commit: r248041 - stable/8/sys/dev/puc

2013-03-08 Thread Marius Strobl
Author: marius Date: Fri Mar 8 12:09:12 2013 New Revision: 248041 URL: http://svnweb.freebsd.org/changeset/base/248041 Log: MFC: r236736 Add support for the Sunix SER5437A dual serial PCI Express card. MFC: r239048 Add additional Perle Speed LE serial cards PR: ker

svn commit: r248040 - stable/9/sys/dev/puc

2013-03-08 Thread Marius Strobl
Author: marius Date: Fri Mar 8 12:08:52 2013 New Revision: 248040 URL: http://svnweb.freebsd.org/changeset/base/248040 Log: MFC: r236736 Add support for the Sunix SER5437A dual serial PCI Express card. Modified: stable/9/sys/dev/puc/pucdata.c Directory Properties: stable/9/sys/ (pro

svn commit: r248039 - stable/8/sys/dev/puc

2013-03-08 Thread Marius Strobl
Author: marius Date: Fri Mar 8 11:41:52 2013 New Revision: 248039 URL: http://svnweb.freebsd.org/changeset/base/248039 Log: MFC: r247571 - Apparently, r186520 was just wrong and the clock of Oxford OX16PCI958 is neither DEFAULT_RCLK * 2 nor DEFAULT_RCLK * 10 but plain DEFAULT_RCLK

svn commit: r248038 - stable/9/sys/dev/puc

2013-03-08 Thread Marius Strobl
Author: marius Date: Fri Mar 8 11:41:48 2013 New Revision: 248038 URL: http://svnweb.freebsd.org/changeset/base/248038 Log: MFC: r247571 - Apparently, r186520 was just wrong and the clock of Oxford OX16PCI958 is neither DEFAULT_RCLK * 2 nor DEFAULT_RCLK * 10 but plain DEFAULT_RCLK

svn commit: r248037 - stable/8/sys/dev/bce

2013-03-08 Thread Marius Strobl
Author: marius Date: Fri Mar 8 11:33:02 2013 New Revision: 248037 URL: http://svnweb.freebsd.org/changeset/base/248037 Log: MFC: r247565, r247590 - Make tables, device ID strings etc const. - Use NULL instead of 0 for pointers. - Remove redundant bzero(9)'ing of the softc. - Remove r

svn commit: r248036 - stable/9/sys/dev/bce

2013-03-08 Thread Marius Strobl
Author: marius Date: Fri Mar 8 11:32:58 2013 New Revision: 248036 URL: http://svnweb.freebsd.org/changeset/base/248036 Log: MFC: r247565, r247590 - Make tables, device ID strings etc const. - Use NULL instead of 0 for pointers. - Remove redundant bzero(9)'ing of the softc. - Remove r

svn commit: r248035 - stable/8/sys/kern

2013-03-08 Thread Marius Strobl
Author: marius Date: Fri Mar 8 11:26:00 2013 New Revision: 248035 URL: http://svnweb.freebsd.org/changeset/base/248035 Log: MFC: r247561 - Use strdup(9) instead of reimplementing it. - Use __DECONST instead of strange casts. - Reduce code duplication and simplify name2oid(). PR:

svn commit: r248034 - stable/9/sys/kern

2013-03-08 Thread Marius Strobl
Author: marius Date: Fri Mar 8 11:25:52 2013 New Revision: 248034 URL: http://svnweb.freebsd.org/changeset/base/248034 Log: MFC: r247561 - Use strdup(9) instead of reimplementing it. - Use __DECONST instead of strange casts. - Reduce code duplication and simplify name2oid(). PR:

svn commit: r248033 - head/usr.sbin/pkg

2013-03-08 Thread Baptiste Daroussin
Author: bapt Date: Fri Mar 8 10:43:03 2013 New Revision: 248033 URL: http://svnweb.freebsd.org/changeset/base/248033 Log: Fix bootstrapping pkgng by not appending "/latest/" to PACKAGESITE. Reporter by : Alexander Yerenkow (via irc) Modified: head/usr.sbin/pkg/pkg.c Modified: head/usr.

svn commit: r248032 - in head/sys: kern sys vm

2013-03-08 Thread Andre Oppermann
Author: andre Date: Fri Mar 8 10:37:17 2013 New Revision: 248032 URL: http://svnweb.freebsd.org/changeset/base/248032 Log: Move the callout subsystem initialization to its own SYSINIT() from being indirectly called via cpu_startup()+vm_ksubmap_init(). The boot order position remains the sam

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

2013-03-08 Thread Andre Oppermann
Author: andre Date: Fri Mar 8 10:14:58 2013 New Revision: 248031 URL: http://svnweb.freebsd.org/changeset/base/248031 Log: Move the auto-sizing of the callout array from init_param2() to kern_timeout_callwheel_alloc() where it is actually used. This is a mechanical move and no tuning par

svn commit: r248030 - stable/8/sys/kern

2013-03-08 Thread Konstantin Belousov
Author: kib Date: Fri Mar 8 08:19:50 2013 New Revision: 248030 URL: http://svnweb.freebsd.org/changeset/base/248030 Log: MFC r247560: Make the default implementation of the VOP_VPTOCNP() fail if the directory entry, matched by the inode number, is ".". Modified: stable/8/sys/kern/vfs_def

svn commit: r248029 - stable/9/sys/kern

2013-03-08 Thread Konstantin Belousov
Author: kib Date: Fri Mar 8 08:09:26 2013 New Revision: 248029 URL: http://svnweb.freebsd.org/changeset/base/248029 Log: MFC r247560: Make the default implementation of the VOP_VPTOCNP() fail if the directory entry, matched by the inode number, is ".". Modified: stable/9/sys/kern/vfs_def