svn commit: r228797 - in head: lib/libarchive lib/libarchive/libarchive_fe lib/libarchive/test usr.bin/cpio usr.bin/cpio/test usr.bin/tar usr.bin/tar/test

2011-12-22 Thread Martin Matuska
Author: mm Date: Thu Dec 22 08:42:07 2011 New Revision: 228797 URL: http://svn.freebsd.org/changeset/base/228797 Log: Use contrib sources for building libarchive, tar and cpio. Make "make test" fully operational. MFC after:2 weeks Deleted: head/lib/libarchive/COPYING head/lib/lib

Re: svn commit: r228783 - head/sys/conf

2011-12-22 Thread Adrian Chadd
.. and once this LLVM regression has been fixed, do you plan on reverting this change to conf? Adrian On 21 December 2011 09:01, Dimitry Andric wrote: > Author: dim > Date: Wed Dec 21 17:01:13 2011 > New Revision: 228783 > URL: http://svn.freebsd.org/changeset/base/228783 > > Log: >  When build

Re: svn commit: r228785 - in head/sys/dev/ath/ath_hal: ar5210 ar5211

2011-12-22 Thread Pawel Jakub Dawidek
On Wed, Dec 21, 2011 at 11:27:54PM +, Alexander Best wrote: > the commits should stay. after all this is HEAD. this way all developers > running HEAD and with the appropriate ath hardware will test the changes. if > dim@ really broke something, people will notice. > > the changes should *not*

svn commit: r228798 - head/lib/libstand

2011-12-22 Thread Ed Schouten
Author: ed Date: Thu Dec 22 09:36:37 2011 New Revision: 228798 URL: http://svn.freebsd.org/changeset/base/228798 Log: Add placeholder code for prepending pathnames to tftp. At work we have a single tftp server that provides installation data for a variety of operating systems. I'd rather

Re: svn commit: r228785 - in head/sys/dev/ath/ath_hal: ar5210 ar5211

2011-12-22 Thread Alexander Best
On Thu Dec 22 11, Pawel Jakub Dawidek wrote: > On Wed, Dec 21, 2011 at 11:27:54PM +, Alexander Best wrote: > > the commits should stay. after all this is HEAD. this way all developers > > running HEAD and with the appropriate ath hardware will test the changes. if > > dim@ really broke somethin

Re: svn commit: r228797 - in head: lib/libarchive lib/libarchive/libarchive_fe lib/libarchive/test usr.bin/cpio usr.bin/cpio/test usr.bin/tar usr.bin/tar/test

2011-12-22 Thread John Baldwin
On Thursday, December 22, 2011 3:42:08 am Martin Matuska wrote: > Author: mm > Date: Thu Dec 22 08:42:07 2011 > New Revision: 228797 > URL: http://svn.freebsd.org/changeset/base/228797 > > Log: > Use contrib sources for building libarchive, tar and cpio. > Make "make test" fully operational. >

Re: svn commit: r228796 - head/sys/fs/msdosfs

2011-12-22 Thread John Baldwin
On Thursday, December 22, 2011 1:31:29 am Kevin Lo wrote: > Author: kevlo > Date: Thu Dec 22 06:31:29 2011 > New Revision: 228796 > URL: http://svn.freebsd.org/changeset/base/228796 > > Log: > Discarding local array based on return values Is this an incomplete log message? This doesn't really

Re: svn commit: r228785 - in head/sys/dev/ath/ath_hal: ar5210 ar5211

2011-12-22 Thread John Baldwin
On Wednesday, December 21, 2011 6:27:54 pm Alexander Best wrote: > On Wed Dec 21 11, John Baldwin wrote: > > On Wednesday, December 21, 2011 4:52:04 pm Adrian Chadd wrote: > > > Erm, why did you do this without first getting clearance from someone > > > who has the hardware to test it? > > > > > >

svn commit: r228799 - in head/sys/dev/ath/ath_hal: ar5210 ar5211

2011-12-22 Thread Dimitry Andric
Author: dim Date: Thu Dec 22 13:47:36 2011 New Revision: 228799 URL: http://svn.freebsd.org/changeset/base/228799 Log: Revert r228785. We'll need to work around the warnings in another way. Requested by: adrian MFC after:1 week Modified: head/sys/dev/ath/ath_hal/ar5210/ar5210reg.h

Re: svn commit: r228783 - head/sys/conf

2011-12-22 Thread Dimitry Andric
On 2011-12-22 09:43, Adrian Chadd wrote: On 21 December 2011 09:01, Dimitry Andric wrote: Author: dim Date: Wed Dec 21 17:01:13 2011 New Revision: 228783 URL: http://svn.freebsd.org/changeset/base/228783 ... Both warnings are false positives, caused by LLVM PR 10030. For global initializ

svn commit: r228800 - in head/sys/dev/ath/ath_hal: ar5212 ar5416

2011-12-22 Thread Dimitry Andric
Author: dim Date: Thu Dec 22 14:09:08 2011 New Revision: 228800 URL: http://svn.freebsd.org/changeset/base/228800 Log: Revert r228786. We'll need to work around the warnings in another way. Requested by: adrian MFC after:1 week Modified: head/sys/dev/ath/ath_hal/ar5212/ar5212_misc

svn commit: r228801 - head

2011-12-22 Thread Dimitry Andric
Author: dim Date: Thu Dec 22 15:03:48 2011 New Revision: 228801 URL: http://svn.freebsd.org/changeset/base/228801 Log: Remove -mfancy-math from LIB32CPUFLAGS for amd64. It has been default for our gcc since more than three years (see r181534, which is also in stable/9 and stable/8). This f

svn commit: r228802 - head/sys/dev/viawd

2011-12-22 Thread Fabien Thomas
Author: fabient Date: Thu Dec 22 15:13:32 2011 New Revision: 228802 URL: http://svn.freebsd.org/changeset/base/228802 Log: Correctly spell my email address. Modified: head/sys/dev/viawd/viawd.c head/sys/dev/viawd/viawd.h Modified: head/sys/dev/viawd/viawd.c

svn commit: r228803 - head/sys/dev/e1000

2011-12-22 Thread Luigi Rizzo
Author: luigi Date: Thu Dec 22 15:33:41 2011 New Revision: 228803 URL: http://svn.freebsd.org/changeset/base/228803 Log: put back netmap support, deleted by mistake in a previous commit Modified: head/sys/dev/e1000/if_igb.c Modified: head/sys/dev/e1000/if_igb.c ==

svn commit: r228804 - head/sys/kern

2011-12-22 Thread John Baldwin
Author: jhb Date: Thu Dec 22 16:01:10 2011 New Revision: 228804 URL: http://svn.freebsd.org/changeset/base/228804 Log: Use TASK_INITIALIZER() for dev_dtr_task rather than a dedicated SYSINIT(). Modified: head/sys/kern/kern_conf.c Modified: head/sys/kern/kern_conf.c ==

svn commit: r228805 - in head/sys/modules/aic7xxx: ahc/ahc_pci ahd

2011-12-22 Thread Dimitry Andric
Author: dim Date: Thu Dec 22 16:16:12 2011 New Revision: 228805 URL: http://svn.freebsd.org/changeset/base/228805 Log: Disable -Wconstant-conversion warnings for the aic7xxx module in a more fine-grained way: only add the option for the specific .c files that need them, like via sys/conf/fil

Re: svn commit: r228800 - in head/sys/dev/ath/ath_hal: ar5212 ar5416

2011-12-22 Thread Adrian Chadd
Just to be silly :) I reviewed this patchset early this morning and it's fine. Nothing in the FreeBSD HAL uses the compression code, so unless someone out there has proprietary extensions which does, this patch is fine. I promise to get the AR5210 and AR5211 stuff tested tonight. The AR5210 at le

svn commit: r228808 - head/sys/cam/scsi

2011-12-22 Thread Alexander Motin
Author: mav Date: Thu Dec 22 16:40:35 2011 New Revision: 228808 URL: http://svn.freebsd.org/changeset/base/228808 Log: Make cd driver to handle Audio CDs, reporting their 2352 bytes sectors to GEOM and using READ CD command for reading data, same as acd driver does. Audio CDs identified by c

Re: svn commit: r228785 - in head/sys/dev/ath/ath_hal: ar5210 ar5211

2011-12-22 Thread Alexander Best
On Thu Dec 22 11, John Baldwin wrote: > On Wednesday, December 21, 2011 6:27:54 pm Alexander Best wrote: > > On Wed Dec 21 11, John Baldwin wrote: > > > On Wednesday, December 21, 2011 4:52:04 pm Adrian Chadd wrote: > > > > Erm, why did you do this without first getting clearance from someone > > >

svn commit: r228810 - head/contrib/openpam/lib

2011-12-22 Thread Dag-Erling Smorgrav
Author: des Date: Thu Dec 22 18:12:51 2011 New Revision: 228810 URL: http://svn.freebsd.org/changeset/base/228810 Log: Merge upstream r509: don't log an error in the common case (ENOENT). Modified: head/contrib/openpam/lib/openpam_check_owner_perms.c Directory Properties: head/contrib/openp

Re: svn commit: r228808 - head/sys/cam/scsi

2011-12-22 Thread Andriy Gapon
on 22/12/2011 18:40 Alexander Motin said the following: > Author: mav > Date: Thu Dec 22 16:40:35 2011 > New Revision: 228808 > URL: http://svn.freebsd.org/changeset/base/228808 > > Log: > Make cd driver to handle Audio CDs, reporting their 2352 bytes sectors to > GEOM and using READ CD comman

svn commit: r228811 - in head/sys: contrib/pf/net modules/pfsync

2011-12-22 Thread Gleb Smirnoff
Author: glebius Date: Thu Dec 22 18:31:47 2011 New Revision: 228811 URL: http://svn.freebsd.org/changeset/base/228811 Log: In FreeBSD we always have bpf(4) API, either real or stub. No need in detecting presense of 'device bpf'. Modified: head/sys/contrib/pf/net/if_pfsync.c head/sys/modul

svn commit: r228812 - head/sys/netinet

2011-12-22 Thread Gleb Smirnoff
Author: glebius Date: Thu Dec 22 18:48:21 2011 New Revision: 228812 URL: http://svn.freebsd.org/changeset/base/228812 Log: Use a better log message for master down event. Modified: head/sys/netinet/ip_carp.c Modified: head/sys/netinet/ip_carp.c ===

svn commit: r228813 - head/sys/contrib/pf/net

2011-12-22 Thread Gleb Smirnoff
Author: glebius Date: Thu Dec 22 18:51:35 2011 New Revision: 228813 URL: http://svn.freebsd.org/changeset/base/228813 Log: We really mean MTU of the real interface here, not of our pseudo. Modified: head/sys/contrib/pf/net/if_pfsync.c Modified: head/sys/contrib/pf/net/if_pfsync.c ===

svn commit: r228814 - head/sys/contrib/pf/net

2011-12-22 Thread Gleb Smirnoff
Author: glebius Date: Thu Dec 22 18:56:27 2011 New Revision: 228814 URL: http://svn.freebsd.org/changeset/base/228814 Log: Merge couple more fixes from OpenBSD to bulk processing: revision 1.118 date: 2009/03/23 06:19:59; author: dlg; state: Exp; lines: +8 -6 wait an appropriat

svn commit: r228815 - head/sys/contrib/pf/net

2011-12-22 Thread Gleb Smirnoff
Author: glebius Date: Thu Dec 22 19:05:58 2011 New Revision: 228815 URL: http://svn.freebsd.org/changeset/base/228815 Log: Merge from OpenBSD: revision 1.120 date: 2009/04/04 13:09:29; author: dlg; state: Exp; lines: +5 -5 use time_uptime instead of time_second internally. time_up

svn commit: r228816 - head/sys/contrib/pf/net

2011-12-22 Thread Gleb Smirnoff
Author: glebius Date: Thu Dec 22 19:09:55 2011 New Revision: 228816 URL: http://svn.freebsd.org/changeset/base/228816 Log: Merge from OpenBSD: revision 1.122 date: 2009/05/13 01:01:34; author: dlg; state: Exp; lines: +6 -4 only keep track of the number of updates on tcp connection

Re: svn commit: r228785 - in head/sys/dev/ath/ath_hal: ar5210 ar5211

2011-12-22 Thread Adrian Chadd
On 22 December 2011 10:08, Alexander Best wrote: >> You don't think changes should be reviewed (that's what I said above, I did >> not necessarily say it should be reverted)?  That's way out in left field if >> that is what you really think. > > no of course not. let's handle it this way: > > kee

Re: svn commit: r228808 - head/sys/cam/scsi

2011-12-22 Thread Andriy Gapon
on 22/12/2011 21:41 Alexander Motin said the following: > On 22.12.2011 20:24, Andriy Gapon wrote: >> on 22/12/2011 18:40 Alexander Motin said the following: >>> Author: mav >>> Date: Thu Dec 22 16:40:35 2011 >>> New Revision: 228808 >>> URL: http://svn.freebsd.org/changeset/base/228808 >>> >>> Log

Re: svn commit: r228808 - head/sys/cam/scsi

2011-12-22 Thread Alexander Motin
On 22.12.2011 21:46, Andriy Gapon wrote: BTW, acd(4) ... not sure which tense I should use here ... used to create individual devices for each track - e.g. acd0t1, acd0t2 - where each track could have its own properties. Yes, I know. But that's a bigger blood, and I am not sure we need it. I a

Re: svn commit: r228808 - head/sys/cam/scsi

2011-12-22 Thread Alexander Motin
On 22.12.2011 20:24, Andriy Gapon wrote: on 22/12/2011 18:40 Alexander Motin said the following: Author: mav Date: Thu Dec 22 16:40:35 2011 New Revision: 228808 URL: http://svn.freebsd.org/changeset/base/228808 Log: Make cd driver to handle Audio CDs, reporting their 2352 bytes sectors to

Re: svn commit: r228808 - head/sys/cam/scsi

2011-12-22 Thread Andriy Gapon
on 22/12/2011 22:05 Alexander Motin said the following: > On 22.12.2011 21:46, Andriy Gapon wrote: >> BTW, acd(4) ... not sure which tense I should use here ... used to create >> individual devices for each track - e.g. acd0t1, acd0t2 - where each track >> could >> have its own properties. > > Ye

svn commit: r228817 - in head/sys/dev/ath/ath_hal: ar5212 ar5416

2011-12-22 Thread Adrian Chadd
Author: adrian Date: Thu Dec 22 21:54:53 2011 New Revision: 228817 URL: http://svn.freebsd.org/changeset/base/228817 Log: Use the correct types when calling the decompression mask function. There's currently no public code which uses this feature and the current reference driver doesn't e

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

2011-12-22 Thread Dimitry Andric
Author: dim Date: Thu Dec 22 23:40:52 2011 New Revision: 228818 URL: http://svn.freebsd.org/changeset/base/228818 Log: Disable various warnings for the ath module in a more fine-grained way: only add the option for the specific .c files that need them, like via sys/conf/files. MFC after

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

2011-12-22 Thread Alexander Motin
Author: mav Date: Thu Dec 22 23:50:31 2011 New Revision: 228819 URL: http://svn.freebsd.org/changeset/base/228819 Log: Update list of 4K physical sector hard drives. Modified: head/sys/cam/ata/ata_da.c Modified: head/sys/cam/ata/ata_da.c ==

svn commit: r228820 - head/sys/cam/scsi

2011-12-22 Thread Alexander Motin
Author: mav Date: Fri Dec 23 00:10:17 2011 New Revision: 228820 URL: http://svn.freebsd.org/changeset/base/228820 Log: Merge to da driver quirks hinting 4K physical sector sizes for SATA disks connected via SAS or USB. Unluckily I've found that SAS (mps) and USB-SATA I have translate models

svn commit: r228822 - head/sys/conf

2011-12-22 Thread Dimitry Andric
Author: dim Date: Fri Dec 23 00:23:37 2011 New Revision: 228822 URL: http://svn.freebsd.org/changeset/base/228822 Log: When building the kernel with clang, it produces several warnings which might be useful in some cases, but which are not severe enough to error out the whole kernel build.

svn commit: r228823 - in head/usr.bin: ar hexdump rctl

2011-12-22 Thread Glen Barber
Author: gjb (doc committer) Date: Fri Dec 23 00:29:01 2011 New Revision: 228823 URL: http://svn.freebsd.org/changeset/base/228823 Log: Formatting fixes: hexdump/od.1: - Enclose tabbed content in quotes [1] ar/ar.1: - Enclose tabbed content in quotes [1] rctl/rctl.8: - Enc

svn commit: r228824 - head/usr.bin/ar

2011-12-22 Thread Glen Barber
Author: gjb (doc committer) Date: Fri Dec 23 00:31:26 2011 New Revision: 228824 URL: http://svn.freebsd.org/changeset/base/228824 Log: Whitespace cleanup: ar/ar.1: - Remove trailing whitespace Reported by: igor MFC after:1 week X-MFC-With: r228823

Re: svn commit: r228823 - in head/usr.bin: ar hexdump rctl

2011-12-22 Thread Glen Barber
On Fri, Dec 23, 2011 at 12:29:01AM +, Glen Barber wrote: > hexdump/od.1: >- Enclose tabbed content in quotes [1] [...] > Modified: head/usr.bin/ar/ar.1 > == > --- head/usr.bin/ar/ar.1 Fri Dec 23 00:23:37 20

Re: svn commit: r228822 - head/sys/conf

2011-12-22 Thread Alexander Best
On Fri Dec 23 11, Dimitry Andric wrote: > Author: dim > Date: Fri Dec 23 00:23:37 2011 > New Revision: 228822 > URL: http://svn.freebsd.org/changeset/base/228822 > > Log: > When building the kernel with clang, it produces several warnings which > might be useful in some cases, but which are no

Re: svn commit: r228822 - head/sys/conf

2011-12-22 Thread Alexander Best
On Fri Dec 23 11, Alexander Best wrote: > On Fri Dec 23 11, Dimitry Andric wrote: > > Author: dim > > Date: Fri Dec 23 00:23:37 2011 > > New Revision: 228822 > > URL: http://svn.freebsd.org/changeset/base/228822 > > > > Log: > > When building the kernel with clang, it produces several warnings w

svn commit: r228825 - head/sys/dev/cxgb/common

2011-12-22 Thread Navdeep Parhar
Author: np Date: Fri Dec 23 01:39:10 2011 New Revision: 228825 URL: http://svn.freebsd.org/changeset/base/228825 Log: Fix return value of function. Submitted by: Dan McGregor Modified: head/sys/dev/cxgb/common/cxgb_aq100x.c Modified: head/sys/dev/cxgb/common/cxgb_aq100x.c =

svn commit: r228826 - head/lib/libc/yp

2011-12-22 Thread Guy Helmer
Author: ghelmer Date: Fri Dec 23 01:56:25 2011 New Revision: 228826 URL: http://svn.freebsd.org/changeset/base/228826 Log: Handle failures to malloc memory to hold key or val copies. PR: bin/83348 Modified: head/lib/libc/yp/xdryp.c Modified: head/lib/libc/yp/xdryp.c ==

svn commit: r228827 - head/sys/fs/nfsclient

2011-12-22 Thread Rick Macklem
Author: rmacklem Date: Fri Dec 23 02:04:35 2011 New Revision: 228827 URL: http://svn.freebsd.org/changeset/base/228827 Log: During investigation of an NFSv4 client crash reported by glebius@, jhb@ spotted that nfscl_getstateid() might modify credentials when called from nfsrpc_read() for the

svn commit: r228828 - head/lib/libc/yp

2011-12-22 Thread Guy Helmer
Author: ghelmer Date: Fri Dec 23 02:13:42 2011 New Revision: 228828 URL: http://svn.freebsd.org/changeset/base/228828 Log: Handle malloc failures in yplib.c. PR: bin/83349 Modified: head/lib/libc/yp/yplib.c Modified: head/lib/libc/yp/yplib.c ===

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

2011-12-22 Thread Adrian Chadd
Author: adrian Date: Fri Dec 23 02:21:22 2011 New Revision: 228829 URL: http://svn.freebsd.org/changeset/base/228829 Log: Add a temporary debugging statement in order to try and identify what's going on with the occasional garbage rs_antenna field reported by AR9285 users. I've discover

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

2011-12-22 Thread Adrian Chadd
Author: adrian Date: Fri Dec 23 02:40:35 2011 New Revision: 228830 URL: http://svn.freebsd.org/changeset/base/228830 Log: Make some more of the 11n specific code conditional. This doesn't fix compilation w/out AH_SUPPORT_AR5416 as all of the software aggregation support in if_ath_tx.c and

svn commit: r228831 - head/tools/tools/ath

2011-12-22 Thread Adrian Chadd
Author: adrian Date: Fri Dec 23 02:57:18 2011 New Revision: 228831 URL: http://svn.freebsd.org/changeset/base/228831 Log: Add in ath_ee_9287_print. Modified: head/tools/tools/ath/Makefile Modified: head/tools/tools/ath/Makefile

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

2011-12-22 Thread Adrian Chadd
Author: adrian Date: Fri Dec 23 03:59:49 2011 New Revision: 228832 URL: http://svn.freebsd.org/changeset/base/228832 Log: Rework this ugly mess that tries to handle reset serialisation. Some users were reporting concurrent resets _were_ occuring - ie, either two ath_reset()s ran at the sa

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

2011-12-22 Thread Adrian Chadd
Author: adrian Date: Fri Dec 23 04:05:39 2011 New Revision: 228833 URL: http://svn.freebsd.org/changeset/base/228833 Log: Remove unused #define's. Pointy hat to: adrian, for not properly reading things when he copied ar9285.h to ar9287.h. Modified: head/sys/dev/ath/ath_hal/ar9002/ar9