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

2012-09-13 Thread Adrian Chadd
Author: adrian Date: Thu Sep 13 07:17:29 2012 New Revision: 240444 URL: http://svn.freebsd.org/changeset/base/240444 Log: Compensate for half/quarter rate differences in MAC clock speed. This fixes the incorrect slot (and likely ACK/RTS timeout) values which I see when enabling half/quart

svn commit: r240445 - head/sys/dev/ath/ath_hal/ar5416

2012-09-13 Thread Adrian Chadd
Author: adrian Date: Thu Sep 13 07:17:58 2012 New Revision: 240445 URL: http://svn.freebsd.org/changeset/base/240445 Log: Add register defintions for the AR5416 TX/RX latency fields. Obtained from:Qualcomm Atheros Modified: head/sys/dev/ath/ath_hal/ar5416/ar5416reg.h Modified: h

svn commit: r240446 - head/sys/dev/ath/ath_hal/ar5416

2012-09-13 Thread Adrian Chadd
Author: adrian Date: Thu Sep 13 07:19:53 2012 New Revision: 240446 URL: http://svn.freebsd.org/changeset/base/240446 Log: Call the ar5212SetCoverageClass() function for now. Some of the math is a little wrong thanks to clocks in 11a mode running at 44MHz when in fast clock mode (rather th

svn commit: r240447 - head/sys/dev/ath/ath_hal/ar5416

2012-09-13 Thread Adrian Chadd
Author: adrian Date: Thu Sep 13 07:22:40 2012 New Revision: 240447 URL: http://svn.freebsd.org/changeset/base/240447 Log: Introduce an AR5416 flavour of the IFS and mac usec/timing configuration used when running the chips in half/quarter rate. This sets up some default parameters which a

svn commit: r240448 - head/sys/dev/ath/ath_hal/ar5416

2012-09-13 Thread Adrian Chadd
Author: adrian Date: Thu Sep 13 07:24:14 2012 New Revision: 240448 URL: http://svn.freebsd.org/changeset/base/240448 Log: Flip on half/quarter rate support. No, this isn't HT/5 and HT/10 support. This is the 11a half/quarter rate support primarily used by the 4.9GHz and GSM band regulato

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

2012-09-13 Thread Adrian Chadd
Author: adrian Date: Thu Sep 13 07:25:41 2012 New Revision: 240449 URL: http://svn.freebsd.org/changeset/base/240449 Log: Enable fractional 5G mode on half/quarter rate channels. Obtained from:Linux ath9k Modified: head/sys/dev/ath/ath_hal/ar9002/ar9280.c Modified: head/sys/dev/

svn commit: r240450 - head/sys/sys

2012-09-13 Thread Ed Schouten
Author: ed Date: Thu Sep 13 08:13:01 2012 New Revision: 240450 URL: http://svn.freebsd.org/changeset/base/240450 Log: Rename __member2struct() to __containerof(). Compared to __member2struct(), this macro has the following advantages: - It ensures that the type of the pointer is compat

svn commit: r240451 - head/sys/conf

2012-09-13 Thread Navdeep Parhar
Author: np Date: Thu Sep 13 09:01:52 2012 New Revision: 240451 URL: http://svn.freebsd.org/changeset/base/240451 Log: Allow cxgbe to be built into a kernel with "device cxgbe." MFC after:1 week Modified: head/sys/conf/files head/sys/conf/kern.pre.mk Modified: head/sys/conf/files =

svn commit: r240452 - in head/sys/dev/cxgbe: . tom

2012-09-13 Thread Navdeep Parhar
Author: np Date: Thu Sep 13 09:10:10 2012 New Revision: 240452 URL: http://svn.freebsd.org/changeset/base/240452 Log: Use native FreeBSD facilities everywhere except the shared code in common/ MFC after:1 week Modified: head/sys/dev/cxgbe/osdep.h head/sys/dev/cxgbe/t4_l2t.h head/

svn commit: r240453 - head/sys/dev/cxgbe

2012-09-13 Thread Navdeep Parhar
Author: np Date: Thu Sep 13 09:18:13 2012 New Revision: 240453 URL: http://svn.freebsd.org/changeset/base/240453 Log: Install interrupt handlers early, during attach, for the reason explained in r239913 by jhb. MFC after:1 week Modified: head/sys/dev/cxgbe/t4_main.c Modified: head

svn commit: r240454 - vendor/tzdata/dist

2012-09-13 Thread Edwin Groothuis
Author: edwin Date: Thu Sep 13 10:11:40 2012 New Revision: 240454 URL: http://svn.freebsd.org/changeset/base/240454 Log: Vendor import of tzdata2012f - Pacific/Fiji will go into DST from 21 October 2012 till 20 January 2013. - Fix offset for Pacific/Tokelau. - Gaza and West Bank had DST

svn commit: r240455 - in head/sys: amd64/conf conf dev/random i386/conf

2012-09-13 Thread Konstantin Belousov
Author: kib Date: Thu Sep 13 10:12:16 2012 New Revision: 240455 URL: http://svn.freebsd.org/changeset/base/240455 Log: Rename the IVY_RNG option to RDRAND_RNG. Based on submission by: Arthur Mesh MFC after:2 weeks Modified: head/sys/amd64/conf/GENERIC head/sys/conf/files.a

svn commit: r240456 - vendor/tzdata/tzdata2012f

2012-09-13 Thread Edwin Groothuis
Author: edwin Date: Thu Sep 13 10:12:45 2012 New Revision: 240456 URL: http://svn.freebsd.org/changeset/base/240456 Log: Tag of tzdata2012f Added: vendor/tzdata/tzdata2012f/ - copied from r240455, vendor/tzdata/dist/ ___ svn-src-all@freebsd.org

svn commit: r240457 - head/contrib/tzdata

2012-09-13 Thread Edwin Groothuis
Author: edwin Date: Thu Sep 13 10:17:01 2012 New Revision: 240457 URL: http://svn.freebsd.org/changeset/base/240457 Log: MFV of 240454, tzdata2012f - Pacific/Fiji will go into DST from 21 October 2012 till 20 January 2013. - Fix offset for Pacific/Tokelau. - Gaza and West Bank had DST f

Re: svn commit: r240135 - in head/sys: amd64/conf conf dev/random i386/conf modules/random

2012-09-13 Thread Konstantin Belousov
On Wed, Sep 12, 2012 at 08:49:41AM -0700, Arthur Mesh wrote: > On Wed, Sep 12, 2012 at 07:33:02AM +0300, Konstantin Belousov wrote: > > Can you submit the desired patch ? > > Sure, > > Index: sys/i386/conf/GENERIC ... This did not compile, since the files.{i386,amd64} missed the required changes

svn commit: r240460 - stable/8/share/zoneinfo

2012-09-13 Thread Edwin Groothuis
Author: edwin Date: Thu Sep 13 10:25:30 2012 New Revision: 240460 URL: http://svn.freebsd.org/changeset/base/240460 Log: MFC of 240457, tzdata2012f - Pacific/Fiji will go into DST from 21 October 2012 till 20 January 2013. - Fix offset for Pacific/Tokelau. - Gaza and West Bank had DS

svn commit: r240461 - stable/9/contrib/tzdata

2012-09-13 Thread Edwin Groothuis
Author: edwin Date: Thu Sep 13 10:25:42 2012 New Revision: 240461 URL: http://svn.freebsd.org/changeset/base/240461 Log: MFC of 240457, tzdata2012f - Pacific/Fiji will go into DST from 21 October 2012 till 20 January 2013. - Fix offset for Pacific/Tokelau. - Gaza and West Bank had DS

svn commit: r240458 - stable/6/share/zoneinfo

2012-09-13 Thread Edwin Groothuis
Author: edwin Date: Thu Sep 13 10:24:59 2012 New Revision: 240458 URL: http://svn.freebsd.org/changeset/base/240458 Log: MFC of 240457, tzdata2012f - Pacific/Fiji will go into DST from 21 October 2012 till 20 January 2013. - Fix offset for Pacific/Tokelau. - Gaza and West Bank had DST f

svn commit: r240459 - stable/7/share/zoneinfo

2012-09-13 Thread Edwin Groothuis
Author: edwin Date: Thu Sep 13 10:25:18 2012 New Revision: 240459 URL: http://svn.freebsd.org/changeset/base/240459 Log: iMFC of 240457, tzdata2012f - Pacific/Fiji will go into DST from 21 October 2012 till 20 January 2013. - Fix offset for Pacific/Tokelau. - Gaza and West Bank had D

svn commit: r240462 - head/share/man/man5

2012-09-13 Thread Ivan Voras
Author: ivoras Date: Thu Sep 13 10:26:55 2012 New Revision: 240462 URL: http://svn.freebsd.org/changeset/base/240462 Log: Document the *_chroot, *_user, *_group and *_nice knobs for services started by rcng. Reviewed by: wblock, dougb Modified: head/share/man/man5/rc.conf.5 Modified:

svn commit: r240463 - head/sbin/fsck_ffs

2012-09-13 Thread Andrey Zonov
Author: zont Date: Thu Sep 13 12:55:10 2012 New Revision: 240463 URL: http://svn.freebsd.org/changeset/base/240463 Log: - Fix a typo in debug message. Approved by: kib (mentor) MFC after:3 days Modified: head/sbin/fsck_ffs/suj.c Modified: head/sbin/fsck_ffs/suj.c

svn commit: r240464 - head/sys/fs/deadfs

2012-09-13 Thread Konstantin Belousov
Author: kib Date: Thu Sep 13 13:05:45 2012 New Revision: 240464 URL: http://svn.freebsd.org/changeset/base/240464 Log: The deadfs VOPs for vop_ioctl and vop_bmap call itself recursively, which is an elaborate way to cause kernel panic. Change the VOPs implementation to return EBADF for a rec

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

2012-09-13 Thread Alexander Motin
Author: mav Date: Thu Sep 13 13:27:09 2012 New Revision: 240465 URL: http://svn.freebsd.org/changeset/base/240465 Log: Add global and per-module sysctls/tunables to enable/disable metadata taste. That should help to handle some cases when disk has some RAID metadata that should be ignored, e

Re: svn commit: r240427 - head/sys/dev/virtio

2012-09-13 Thread John Baldwin
On Wednesday, September 12, 2012 8:36:47 pm Peter Grehan wrote: > Author: grehan > Date: Thu Sep 13 00:36:46 2012 > New Revision: 240427 > URL: http://svn.freebsd.org/changeset/base/240427 > > Log: > Relax requirement of certain mb()s > > Submitted by: Bryan Venteicher bryanv at daemo

svn commit: r240466 - head/sys/dev/ixgbe

2012-09-13 Thread Eitan Adler
Author: eadler Date: Thu Sep 13 14:40:24 2012 New Revision: 240466 URL: http://svn.freebsd.org/changeset/base/240466 Log: Define missing DEBUGOUT# macros. DEBUGOUT[45] are not yet used but are being defined pre-emptively to avoid future build breakage PR: kern/168967 Submitted

svn commit: r240467 - head/sys/kern

2012-09-13 Thread John Baldwin
Author: jhb Date: Thu Sep 13 15:51:18 2012 New Revision: 240467 URL: http://svn.freebsd.org/changeset/base/240467 Log: Ignore stop and continue signals sent to an exiting process. Stop signals set p_xstat to the signal that triggered the stop, but p_xstat is also used to hold the exit statu

svn commit: r240468 - in head: . share/mk sys/conf

2012-09-13 Thread Brooks Davis
Author: brooks Date: Thu Sep 13 16:00:46 2012 New Revision: 240468 URL: http://svn.freebsd.org/changeset/base/240468 Log: Introduce a new make variable COMPILER_TYPE that specifies what type of compiler is being used (currently clang or gcc). COMPILER_TYPE is set in the new bsd.compiler.mk

Re: svn commit: r240427 - head/sys/dev/virtio

2012-09-13 Thread Bryan Venteicher
Hi, - Original Message - > From: "John Baldwin" > To: "Peter Grehan" > Cc: svn-src-h...@freebsd.org, svn-src-all@freebsd.org, > src-committ...@freebsd.org > Sent: Thursday, September 13, 2012 7:59:38 AM > Subject: Re: svn commit: r240427 - head/sys/dev/virtio > > On Wednesday, Septembe

svn commit: r240469 - head/share/man/man5

2012-09-13 Thread Joel Dahl
Author: joel (doc committer) Date: Thu Sep 13 16:59:20 2012 New Revision: 240469 URL: http://svn.freebsd.org/changeset/base/240469 Log: Minor mdoc fix. Modified: head/share/man/man5/rc.conf.5 Modified: head/share/man/man5/rc.conf.5

svn commit: r240470 - in head/tools: diag diag/ac tools tools/backout_commit tools/mfc

2012-09-13 Thread Eitan Adler
Author: eadler Date: Thu Sep 13 17:49:11 2012 New Revision: 240470 URL: http://svn.freebsd.org/changeset/base/240470 Log: Remove scripts and tools which only functioned when src was using CVS Approved by: cperciva MFC after:1 week Deleted: head/tools/diag/ac/ head/tools/tools/ba

svn commit: r240471 - in head/sys/dev/ath/ath_hal: ar5416 ar9002

2012-09-13 Thread Adrian Chadd
Author: adrian Date: Thu Sep 13 18:24:13 2012 New Revision: 240471 URL: http://svn.freebsd.org/changeset/base/240471 Log: Don't use AR_PHY_MODE to setup half/quarter rate. I'm not sure where in the deep, distant past I found the AR_PHY_MODE registers for half/quarter rate mode, but unfort

Re: svn commit: r240427 - head/sys/dev/virtio

2012-09-13 Thread John Baldwin
On Thursday, September 13, 2012 12:40:42 pm Bryan Venteicher wrote: > Hi, > > - Original Message - > > From: "John Baldwin" > > To: "Peter Grehan" > > Cc: svn-src-h...@freebsd.org, svn-src-all@freebsd.org, src- committ...@freebsd.org > > Sent: Thursday, September 13, 2012 7:59:38 AM > >

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

2012-09-13 Thread Navdeep Parhar
Author: np Date: Thu Sep 13 18:47:24 2012 New Revision: 240472 URL: http://svn.freebsd.org/changeset/base/240472 Log: MFC r227689: Do not increment the parent firmware's reference count when any other firmware image in the module is registered. Instead, do it when the other image is it

svn commit: r240473 - head/sys/dev/pci

2012-09-13 Thread John Baldwin
Author: jhb Date: Thu Sep 13 19:05:24 2012 New Revision: 240473 URL: http://svn.freebsd.org/changeset/base/240473 Log: - Add some registers defined in PCI 3.0 including new AER bits. - Add constants for the rest of the fields in the PCI-express device capability and control registers. -

svn commit: r240474 - head/usr.sbin/pciconf

2012-09-13 Thread John Baldwin
Author: jhb Date: Thu Sep 13 19:08:31 2012 New Revision: 240474 URL: http://svn.freebsd.org/changeset/base/240474 Log: - Denote PCI-e endpoints that support FLR. - Make parsing of PCI-e extended capabilities assume that future version numbers are backwards compatible. - Add new AER error

Re: svn commit: r240427 - head/sys/dev/virtio

2012-09-13 Thread John Baldwin
On Thursday, September 13, 2012 12:40:42 pm Bryan Venteicher wrote: > > Would it be possible to use atomic_load/store() instead of direct > > memory barriers? For example: > > > > I've been sitting on a (lightly tested) patch [1] for awhile that > does just that, but am not very happy with it. A

svn commit: r240475 - in head/sys: dev/hwpmc kern

2012-09-13 Thread Attilio Rao
Author: attilio Date: Thu Sep 13 22:26:22 2012 New Revision: 240475 URL: http://svn.freebsd.org/changeset/base/240475 Log: Remove all the checks on curthread != NULL with the exception of some MD trap checks (eg. printtrap()). Generally this check is not needed anymore, as there is not a

svn commit: r240476 - in head/usr.sbin/pkg_install: add lib

2012-09-13 Thread Jung-uk Kim
crease whenever you make a change * in the code that is not cosmetic only. */ -#define PKG_INSTALL_VERSION20120530 +#define PKG_INSTALL_VERSION20120913 #define PKG_WRAPCONF_FNAME "/var/db/pkg_install.conf" #define main(argc, argv) real_main(argc, argv) __

svn commit: r240477 - stable/9/share/misc

2012-09-13 Thread Eitan Adler
Author: eadler Date: Fri Sep 14 00:37:11 2012 New Revision: 240477 URL: http://svn.freebsd.org/changeset/base/240477 Log: MFC r240328: Follow up to doc r39516: Update the Vendor Relations Team information to reflect that incoming email is now handled by

svn commit: r240478 - stable/8/share/misc

2012-09-13 Thread Eitan Adler
Author: eadler Date: Fri Sep 14 00:37:12 2012 New Revision: 240478 URL: http://svn.freebsd.org/changeset/base/240478 Log: MFC r240328: Follow up to doc r39516: Update the Vendor Relations Team information to reflect that incoming email is now handled by

svn commit: r240479 - stable/7/share/misc

2012-09-13 Thread Eitan Adler
Author: eadler Date: Fri Sep 14 00:37:12 2012 New Revision: 240479 URL: http://svn.freebsd.org/changeset/base/240479 Log: MFC r240328: Follow up to doc r39516: Update the Vendor Relations Team information to reflect that incoming email is now handled by

svn commit: r240480 - head/share/misc

2012-09-13 Thread Eitan Adler
Author: eadler Date: Fri Sep 14 01:23:28 2012 New Revision: 240480 URL: http://svn.freebsd.org/changeset/base/240480 Log: Belatedly add myself MFC after:3 days Modified: head/share/misc/committers-src.dot Modified: head/share/misc/committers-src.dot =

Re: svn commit: r240475 - in head/sys: dev/hwpmc kern

2012-09-13 Thread Konstantin Belousov
On Thu, Sep 13, 2012 at 10:26:22PM +, Attilio Rao wrote: > Author: attilio > Date: Thu Sep 13 22:26:22 2012 > New Revision: 240475 > URL: http://svn.freebsd.org/changeset/base/240475 > > Log: > Remove all the checks on curthread != NULL with the exception of some MD > trap checks (eg. prin

svn commit: r240481 - head/sys/boot/common

2012-09-13 Thread Tim Kientzle
Author: kientzle Date: Fri Sep 14 05:24:06 2012 New Revision: 240481 URL: http://svn.freebsd.org/changeset/base/240481 Log: The MBR data is not necessarily aligned. This is a problem on ARM. Modified: head/sys/boot/common/part.c Modified: head/sys/boot/common/part.c

Re: svn commit: r240427 - head/sys/dev/virtio

2012-09-13 Thread Bryan Venteicher
Hi - Original Message - > From: "John Baldwin" > To: "Bryan Venteicher" > Cc: svn-src-h...@freebsd.org, svn-src-all@freebsd.org, > src-committ...@freebsd.org, "Peter Grehan" > > Sent: Thursday, September 13, 2012 1:56:03 PM > Subject: Re: svn commit: r240427 - head/sys/dev/virtio > >