svn commit: r237184 - in head/sys/dev/ath/ath_hal: . ar9002

2012-06-16 Thread Adrian Chadd
Author: adrian Date: Sun Jun 17 05:56:27 2012 New Revision: 237184 URL: http://svn.freebsd.org/changeset/base/237184 Log: AR9287 tidyups: * Add an OS_A_REG_WRITE() routine - analog writes require a 100usec delay on AR9280 and later, so create a method to do it. * Use it for the AR9

svn commit: r237183 - head/sys/dev/ath/ath_hal/ar9002

2012-06-16 Thread Adrian Chadd
Author: adrian Date: Sun Jun 17 05:34:41 2012 New Revision: 237183 URL: http://svn.freebsd.org/changeset/base/237183 Log: Add an disabled workaround for the AR9285SE. This just requires a little HAL change (add a new config parameter) and some glue in if_ath_pci.c, however I'm leaving thi

svn commit: r237182 - head/sys/dev/ath/ath_hal/ar9002

2012-06-16 Thread Adrian Chadd
Author: adrian Date: Sun Jun 17 04:48:47 2012 New Revision: 237182 URL: http://svn.freebsd.org/changeset/base/237182 Log: Bring over the AR9285 specific PCIe suspend/resume/ASPM workarounds. Obtained from:Qualcomm Atheros, Linux ath9k Modified: head/sys/dev/ath/ath_hal/ar9002/ar9

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

2012-06-16 Thread Eitan Adler
Author: eadler Date: Sun Jun 17 03:54:10 2012 New Revision: 237180 URL: http://svn.freebsd.org/changeset/base/237180 Log: Fix mdoc style nits PR: kern/168910 Submitted by: gjb Approved by: gjb MFC after:3 days X-MFC-With: r237178 Modified: head/share/man/man4/hpt

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

2012-06-16 Thread Adrian Chadd
Author: adrian Date: Sun Jun 17 03:08:33 2012 New Revision: 237179 URL: http://svn.freebsd.org/changeset/base/237179 Log: After some discussion with bschmidt@, it's likely better to just go through ieee80211_suspend_all() and ieee80211_resume_all(). All the other wireless drivers are doing t

svn commit: r237178 - in head: share/man/man4 sys/dev/hptrr

2012-06-16 Thread Eitan Adler
Author: eadler Date: Sun Jun 17 02:46:27 2012 New Revision: 237178 URL: http://svn.freebsd.org/changeset/base/237178 Log: attach_generic causes missing devices in /dev when the driver interacts with some non-highpoint controollers. Change attach_generic to be off by default. PR:

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

2012-06-16 Thread Adrian Chadd
Author: adrian Date: Sat Jun 16 22:28:36 2012 New Revision: 237174 URL: http://svn.freebsd.org/changeset/base/237174 Log: .. and this wasn't supposed to be in the previous commit either. Modified: head/sys/dev/ath/if_ath_rx.c Modified: head/sys/dev/ath/if_ath_rx.c ===

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

2012-06-16 Thread Adrian Chadd
Author: adrian Date: Sat Jun 16 22:26:45 2012 New Revision: 237173 URL: http://svn.freebsd.org/changeset/base/237173 Log: oops, remove this, it wasn't supposed to be committed. Modified: head/sys/dev/ath/if_ath.c head/sys/dev/ath/if_ath_rx.c Modified: head/sys/dev/ath/if_ath.c

svn commit: r237172 - head/sys/vm

2012-06-16 Thread Attilio Rao
Author: attilio Date: Sat Jun 16 21:39:00 2012 New Revision: 237172 URL: http://svn.freebsd.org/changeset/base/237172 Log: Do a more targeted check on the page cache and avoid to check the cache pointer directly in vnode_pager_setsize() by using newly introduced vm_page_is_cached() function.

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

2012-06-16 Thread Adrian Chadd
Author: adrian Date: Sat Jun 16 21:37:15 2012 New Revision: 237171 URL: http://svn.freebsd.org/changeset/base/237171 Log: A few nitpicks: * Use ATH_RC_NUM instead of '4' when iterating over the ratecontrol series array. * A few style(9) fixes, hopefully no regressions here. *

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

2012-06-16 Thread Konstantin Belousov
Author: kib Date: Sat Jun 16 20:49:08 2012 New Revision: 237170 URL: http://svn.freebsd.org/changeset/base/237170 Log: Fix build. Modified: head/sys/dev/ath/if_ath.c Modified: head/sys/dev/ath/if_ath.c == --- head/sy

svn commit: r237168 - in head/sys: amd64/include arm/include i386/include ia64/include mips/include powerpc/include sparc64/include vm

2012-06-16 Thread Alan Cox
Author: alc Date: Sat Jun 16 18:56:19 2012 New Revision: 237168 URL: http://svn.freebsd.org/changeset/base/237168 Log: The page flag PGA_WRITEABLE is set and cleared exclusively by the pmap layer, but it is read directly by the MI VM layer. This change introduces pmap_page_is_write_mapped()

svn commit: r237167 - stable/7/sys/amd64/amd64

2012-06-16 Thread Konstantin Belousov
Author: kib Date: Sat Jun 16 18:37:54 2012 New Revision: 237167 URL: http://svn.freebsd.org/changeset/base/237167 Log: Move misplaced comment. Discussed with: bz Modified: stable/7/sys/amd64/amd64/trap.c Modified: stable/7/sys/amd64/amd64/trap.c ===

svn commit: r237165 - head/share/mk

2012-06-16 Thread Robert Millan
Author: rmh Date: Sat Jun 16 16:51:42 2012 New Revision: 237165 URL: http://svn.freebsd.org/changeset/base/237165 Log: In CTFCONVERT_CMD initialization, check that ${MAKE_VERSION} is defined before using it. Bootstrap make (as built by usr.bin/make/Makefile.dist) does not define this variabl

svn commit: r237164 - head/sys/netgraph/netflow

2012-06-16 Thread Alexander V. Chernikov
Author: melifaro Date: Sat Jun 16 13:55:31 2012 New Revision: 237164 URL: http://svn.freebsd.org/changeset/base/237164 Log: Use time_uptime instead of getnanotime for accouting integer number of seconds. Reviewed by: glebius Approved by: ae(mentor) MFC after: 1 week Modi

svn commit: r237163 - head/sys/netgraph/netflow

2012-06-16 Thread Alexander V. Chernikov
Author: melifaro Date: Sat Jun 16 13:53:14 2012 New Revision: 237163 URL: http://svn.freebsd.org/changeset/base/237163 Log: Set netflow v9 observation domain value to fib number instead of node id. This fixes multi-fib netflow v9 export. Reviewed by: glebius Approved by: kib(men

svn commit: r237162 - head/sys/netgraph/netflow

2012-06-16 Thread Alexander V. Chernikov
Author: melifaro Date: Sat Jun 16 13:51:01 2012 New Revision: 237162 URL: http://svn.freebsd.org/changeset/base/237162 Log: Fix improper L4 header handling for IPv6 packets passed via DLT_RAW. Reported by: Emil Muratov Reviewed by: glebius Approved by: ae(mentor) MFC afte

svn commit: r237161 - in stable/9/sys: amd64/include i386/include

2012-06-16 Thread Konstantin Belousov
Author: kib Date: Sat Jun 16 13:22:55 2012 New Revision: 237161 URL: http://svn.freebsd.org/changeset/base/237161 Log: MFC r236456: Use plain store for atomic_store_rel on x86, instead of implicitly locked xchg instruction. IA32 memory model guarantees that store has release semantic, sin

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

2012-06-16 Thread Konstantin Belousov
Author: kib Date: Sat Jun 16 13:11:10 2012 New Revision: 237160 URL: http://svn.freebsd.org/changeset/base/237160 Log: More style. MFC after:3 days Modified: head/lib/libc/gen/getnetgrent.c Modified: head/lib/libc/gen/getnetgrent.c ===

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

2012-06-16 Thread Konstantin Belousov
Author: kib Date: Sat Jun 16 13:10:22 2012 New Revision: 237159 URL: http://svn.freebsd.org/changeset/base/237159 Log: Revert part of the r235740 which changed separate allocation of the string buffer for each linelist l_line into one large string. Since linelists parsed out during the previ

svn commit: r237158 - head/sys/kern

2012-06-16 Thread Pawel Jakub Dawidek
Author: pjd Date: Sat Jun 16 12:56:36 2012 New Revision: 237158 URL: http://svn.freebsd.org/changeset/base/237158 Log: Revert r237073. 'td' can be NULL here. MFC after:1 month Modified: head/sys/kern/kern_descrip.c Modified: head/sys/kern/kern_descrip.c =

Re: svn commit: r236976 - head/sbin/fsck_ffs

2012-06-16 Thread Konstantin Belousov
On Sat, Jun 16, 2012 at 11:41:20AM +0200, Tijl Coosemans wrote: > On 12-06-2012 23:37, Konstantin Belousov wrote: > > Author: kib > > Date: Tue Jun 12 21:37:27 2012 > > New Revision: 236976 > > URL: http://svn.freebsd.org/changeset/base/236976 > > > > Log: > > For incompleted block allocations o

Re: svn commit: r236976 - head/sbin/fsck_ffs

2012-06-16 Thread Tijl Coosemans
On 12-06-2012 23:37, Konstantin Belousov wrote: > Author: kib > Date: Tue Jun 12 21:37:27 2012 > New Revision: 236976 > URL: http://svn.freebsd.org/changeset/base/236976 > > Log: > For incompleted block allocations or frees, the inode block count usage > must be recalculated. The blk_check pas

svn commit: r237157 - in stable/7/lib: libcrypt libmd

2012-06-16 Thread Dag-Erling Smorgrav
Author: des Date: Sat Jun 16 09:17:21 2012 New Revision: 237157 URL: http://svn.freebsd.org/changeset/base/237157 Log: Backport sha512 support. Added: stable/7/lib/libcrypt/crypt-sha256.c - copied, changed from r220498, head/lib/libcrypt/crypt-sha256.c stable/7/lib/libcrypt/crypt-sha51