Re: svn commit: r238936 - in head/sys: fs/fifofs kern sys

2012-07-31 Thread Giovanni Trematerra
On Tue, Jul 31, 2012 at 7:48 AM, David Xu davi...@freebsd.org wrote: Author: davidxu Date: Tue Jul 31 05:48:35 2012 New Revision: 238936 URL: http://svn.freebsd.org/changeset/base/238936 Log: I am comparing current pipe code with the one in 8.3-STABLE r236165, I found 8.3 is a history

svn commit: r238938 - head/sys/dev/wtap

2012-07-31 Thread Monthadar Al Jaberi
Author: monthadar Date: Tue Jul 31 07:22:50 2012 New Revision: 238938 URL: http://svn.freebsd.org/changeset/base/238938 Log: Fix wtap to not panic in wtap_beacon_intrp. * Changed KASSERT to be debug printf (DWTAP_PRINTF). If state is not IEEE80211_S_RUN we return without scheduling a new

svn commit: r238939 - head/sys/net80211

2012-07-31 Thread Monthadar Al Jaberi
Author: monthadar Date: Tue Jul 31 07:31:47 2012 New Revision: 238939 URL: http://svn.freebsd.org/changeset/base/238939 Log: Fix bugs in net80211s found with wtap simulator. For description of the test scripts refer to projects/net80211_testsuite/wtap. * Test 007 showed a bug in

svn commit: r238940 - head/sys/net80211

2012-07-31 Thread Monthadar Al Jaberi
Author: monthadar Date: Tue Jul 31 07:36:27 2012 New Revision: 238940 URL: http://svn.freebsd.org/changeset/base/238940 Log: Fix a PREQ comparison error in 11s HWMP. * Earlier we compared two not equal metrics, one was what we recevied in the 'new PREQ' while the other was what we

svn commit: r238941 - head/sys/netinet

2012-07-31 Thread Luigi Rizzo
Author: luigi Date: Tue Jul 31 08:04:49 2012 New Revision: 238941 URL: http://svn.freebsd.org/changeset/base/238941 Log: nobody uses this file except the userspace ipfw code, but the cast of a pointer to an integer needs a cast to prevent a warning for size mismatch. MFC after:1

svn commit: r238942 - head/sys/net80211

2012-07-31 Thread Monthadar Al Jaberi
Author: monthadar Date: Tue Jul 31 08:05:40 2012 New Revision: 238942 URL: http://svn.freebsd.org/changeset/base/238942 Log: Fixed some debug output in hwmp_recv_prep. Modified: head/sys/net80211/ieee80211_hwmp.c Modified: head/sys/net80211/ieee80211_hwmp.c

Re: svn commit: r238942 - head/sys/net80211

2012-07-31 Thread Adrian Chadd
.. these are all approved-by: me. :-) Adrian On 31 July 2012 01:05, Monthadar Al Jaberi montha...@freebsd.org wrote: Author: monthadar Date: Tue Jul 31 08:05:40 2012 New Revision: 238942 URL: http://svn.freebsd.org/changeset/base/238942 Log: Fixed some debug output in hwmp_recv_prep.

Re: svn commit: r238936 - in head/sys: fs/fifofs kern sys

2012-07-31 Thread David Xu
On 2012/7/31 15:22, Giovanni Trematerra wrote: On Tue, Jul 31, 2012 at 7:48 AM, David Xu davi...@freebsd.org wrote: Author: davidxu Date: Tue Jul 31 05:48:35 2012 New Revision: 238936 URL: http://svn.freebsd.org/changeset/base/238936 Log: I am comparing current pipe code with the one in

svn commit: r238943 - head/sys/dev/acpica

2012-07-31 Thread Alexander Motin
Author: mav Date: Tue Jul 31 10:58:50 2012 New Revision: 238943 URL: http://svn.freebsd.org/changeset/base/238943 Log: Add several performance optimizations to acpi_cpu_idle(). For C1 and C2 states use cpu_ticks() to measure sleep time instead of much slower ACPI timer. We can't do it

svn commit: r238945 - in head/sys: net netinet netinet6

2012-07-31 Thread Gleb Smirnoff
Author: glebius Date: Tue Jul 31 11:31:12 2012 New Revision: 238945 URL: http://svn.freebsd.org/changeset/base/238945 Log: Some style(9) and whitespace changes. Together with:Andrey Zonov andrey zonov.org Modified: head/sys/net/if_llatbl.c head/sys/net/if_llatbl.h

Re: svn commit: r238943 - head/sys/dev/acpica

2012-07-31 Thread Andriy Gapon
on 31/07/2012 13:58 Alexander Motin said the following: To help with diagnostics, add C-state type into dev.cpu.X.cx_supported I think that this really should have been a separate commit. Besides it is a POLA violation for those who may parse output of this sysctl for whatever reason.

Re: svn commit: r238936 - in head/sys: fs/fifofs kern sys

2012-07-31 Thread Bruce Evans
On Tue, 31 Jul 2012, David Xu wrote: On 2012/7/31 15:22, Giovanni Trematerra wrote: On Tue, Jul 31, 2012 at 7:48 AM, David Xu davi...@freebsd.org wrote: Log: I am comparing current pipe code with the one in 8.3-STABLE r236165, I found 8.3 is a history BSD version using socket to

Re: svn commit: r238933 - head/sys/dev/puc

2012-07-31 Thread John Baldwin
On Tuesday, July 31, 2012 1:23:23 am Max Khon wrote: Author: fjoe Date: Tue Jul 31 05:23:23 2012 New Revision: 238933 URL: http://svn.freebsd.org/changeset/base/238933 Log: - Change back d_ofs to int8_t to not pessimize padding and size of struct puc_cfg. - Use puc_config_moxa for

Re: svn commit: r238765 - head/sys/dev/e1000

2012-07-31 Thread Andrey Zonov
On 7/28/12 2:09 AM, Adrian Chadd wrote: Hi, Can you please revert this commit for now? * it has some netmap stuff in it that isn't related to the commit; * it's causing panics due to lock recursion; I can confirm panics with the latest HEAD running under ESX. _mtx_lock_sleep: recursed on

Re: svn commit: r238765 - head/sys/dev/e1000

2012-07-31 Thread Garrett Cooper
On Tue, Jul 31, 2012 at 8:13 AM, Andrey Zonov and...@zonov.org wrote: On 7/28/12 2:09 AM, Adrian Chadd wrote: Hi, Can you please revert this commit for now? * it has some netmap stuff in it that isn't related to the commit; * it's causing panics due to lock recursion; I can confirm

Re: svn commit: r238943 - head/sys/dev/acpica

2012-07-31 Thread Sean Bruno
On Tue, 2012-07-31 at 03:58 -0700, Alexander Motin wrote: To help with diagnostics, add C-state type into dev.cpu.X.cx_supported. Pretty sure that this breaks /etc/rc.d/power_profile Andiry and I went back and forth on this specific thing quite a bit. If you note my commit/revert at svn

Re: svn commit: r238765 - head/sys/dev/e1000

2012-07-31 Thread John Baldwin
On Tuesday, July 31, 2012 11:16:07 am Garrett Cooper wrote: On Tue, Jul 31, 2012 at 8:13 AM, Andrey Zonov and...@zonov.org wrote: On 7/28/12 2:09 AM, Adrian Chadd wrote: Hi, Can you please revert this commit for now? * it has some netmap stuff in it that isn't related to the commit;

Re: svn commit: r238765 - head/sys/dev/e1000

2012-07-31 Thread Jack Vogel
Yes, I agree John, that was ugly, I'm already taking care of it with my changes, I'll send you a copy to check out. Jack On Tue, Jul 31, 2012 at 9:12 AM, John Baldwin j...@freebsd.org wrote: On Tuesday, July 31, 2012 11:16:07 am Garrett Cooper wrote: On Tue, Jul 31, 2012 at 8:13 AM, Andrey

Re: svn commit: r238765 - head/sys/dev/e1000

2012-07-31 Thread Garrett Cooper
On Tue, Jul 31, 2012 at 9:20 AM, Jack Vogel jfvo...@gmail.com wrote: Yes, I agree John, that was ugly, I'm already taking care of it with my changes, I'll send you a copy to check out. Like so: --- //depot/user/gcooper/atf-head/src/sys/dev/e1000/if_lem.c 2012-07-25 17:11:00.0 +++

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

2012-07-31 Thread Adrian Chadd
Author: adrian Date: Tue Jul 31 16:41:09 2012 New Revision: 238947 URL: http://svn.freebsd.org/changeset/base/238947 Log: Push the rate control and descriptor chaining into the descriptor set functions, for both legacy and 802.11n. This will simplify supporting the EDMA chipsets as these

svn commit: r238948 - head/usr.bin/find

2012-07-31 Thread Jilles Tjoelker
Author: jilles Date: Tue Jul 31 16:55:41 2012 New Revision: 238948 URL: http://svn.freebsd.org/changeset/base/238948 Log: find: Remove unnecessary and inconsistent initialization. Submitted by: jhb Modified: head/usr.bin/find/main.c Modified: head/usr.bin/find/main.c

Re: svn commit: r238943 - head/sys/dev/acpica

2012-07-31 Thread Alexander Motin
On 31.07.2012 19:12, Sean Bruno wrote: On Tue, 2012-07-31 at 03:58 -0700, Alexander Motin wrote: To help with diagnostics, add C-state type into dev.cpu.X.cx_supported. Pretty sure that this breaks /etc/rc.d/power_profile No, it doesn't. I've checked it beforehand. At least in my case

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

2012-07-31 Thread Adrian Chadd
Author: adrian Date: Tue Jul 31 17:08:29 2012 New Revision: 238949 URL: http://svn.freebsd.org/changeset/base/238949 Log: Shuffle the call to ath_hal_setuplasttxdesc() to _after_ the rate control code is called and remove it from ath_buf_set_rate(). For the legacy (non-11n API) TX

svn commit: r238950 - head/cddl/contrib/opensolaris/cmd/zpool

2012-07-31 Thread Martin Matuska
Author: mm Date: Tue Jul 31 17:28:28 2012 New Revision: 238950 URL: http://svn.freebsd.org/changeset/base/238950 Log: Fix reporting of root pool upgrade notice. MFC after:2 weeks Modified: head/cddl/contrib/opensolaris/cmd/zpool/zpool_main.c Modified:

svn commit: r238951 - head/cddl/contrib/opensolaris/cmd/zpool

2012-07-31 Thread Martin Matuska
Author: mm Date: Tue Jul 31 17:32:28 2012 New Revision: 238951 URL: http://svn.freebsd.org/changeset/base/238951 Log: Fix wrong indent according to style(9) MFC after:2 weeks Description of fields to fill in above: 76 columns --| PR:If a GNATS PR

Re: svn commit: r238765 - head/sys/dev/e1000

2012-07-31 Thread Jack Vogel
No, like so: --- if_lem.c2012-07-31 18:32:50.0 -0700 +++ if_lem.jfv.c2012-07-31 18:31:25.0 -0700 @@ -1,6 +1,6 @@ /** - Copyright (c) 2001-2011, Intel Corporation + Copyright (c) 2001-2012,

Re: svn commit: r238765 - head/sys/dev/e1000

2012-07-31 Thread John Baldwin
On Tuesday, July 31, 2012 12:29:32 pm Garrett Cooper wrote: On Tue, Jul 31, 2012 at 9:20 AM, Jack Vogel jfvo...@gmail.com wrote: Yes, I agree John, that was ugly, I'm already taking care of it with my changes, I'll send you a copy to check out. Like so: ---

Re: svn commit: r238943 - head/sys/dev/acpica

2012-07-31 Thread Sean Bruno
On Tue, 2012-07-31 at 09:12 -0700, Sean Bruno wrote: On Tue, 2012-07-31 at 03:58 -0700, Alexander Motin wrote: To help with diagnostics, add C-state type into dev.cpu.X.cx_supported. Pretty sure that this breaks /etc/rc.d/power_profile Andiry and I went back and forth on this specific

Re: svn commit: r238765 - head/sys/dev/e1000

2012-07-31 Thread John Baldwin
On Tuesday, July 31, 2012 1:46:59 pm Jack Vogel wrote: No, like so: This looks good to me. The 82574 is supported by em(4) and not lem(4) it seems, hence removing that? -- John Baldwin ___ svn-src-head@freebsd.org mailing list

Re: svn commit: r238765 - head/sys/dev/e1000

2012-07-31 Thread Jack Vogel
Right, that code got left in lem when i split it off from em by mistake, just cleaning that up. Will commit this then. Jack On Tue, Jul 31, 2012 at 11:09 AM, John Baldwin j...@freebsd.org wrote: On Tuesday, July 31, 2012 1:46:59 pm Jack Vogel wrote: No, like so: This looks good to me.

svn commit: r238952 - head/sys/kern

2012-07-31 Thread John Baldwin
Author: jhb Date: Tue Jul 31 18:25:00 2012 New Revision: 238952 URL: http://svn.freebsd.org/changeset/base/238952 Log: Reorder the managament of advisory locks on open files so that the advisory lock is obtained before the write count is increased during open() and the lock is released

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

2012-07-31 Thread Jack F Vogel
Author: jfv Date: Tue Jul 31 18:44:10 2012 New Revision: 238953 URL: http://svn.freebsd.org/changeset/base/238953 Log: Clean up some unused leftover code from em Make IRQ style a tuneable Fix lock handling in the interrupt handler MFC after:3 days Modified:

svn commit: r238954 - head/sys/dev/pccbb

2012-07-31 Thread Adrian Chadd
Author: adrian Date: Tue Jul 31 18:47:17 2012 New Revision: 238954 URL: http://svn.freebsd.org/changeset/base/238954 Log: Restore the PCI bridge configuration upon resume. This allows my TI1510 cardbus/PCI bridge to work after a suspend/resume, without having to unload/reload the cbb

Re: svn commit: r238952 - head/sys/kern

2012-07-31 Thread John Baldwin
On Tuesday, July 31, 2012 2:25:01 pm John Baldwin wrote: Author: jhb Date: Tue Jul 31 18:25:00 2012 New Revision: 238952 URL: http://svn.freebsd.org/changeset/base/238952 Log: Reorder the managament of advisory locks on open files so that the advisory lock is obtained before the write

svn commit: r238955 - head/sys/arm/at91

2012-07-31 Thread Warner Losh
Author: imp Date: Tue Jul 31 19:14:22 2012 New Revision: 238955 URL: http://svn.freebsd.org/changeset/base/238955 Log: Allow chip selects other than 0. The SAM9260EK board has its dataflash on CS1. Modified: head/sys/arm/at91/at91_spi.c Modified: head/sys/arm/at91/at91_spi.c

svn commit: r238956 - head/sys/arm/conf

2012-07-31 Thread Warner Losh
Author: imp Date: Tue Jul 31 19:39:21 2012 New Revision: 238956 URL: http://svn.freebsd.org/changeset/base/238956 Log: Note about where we can boot this. Modified: head/sys/arm/conf/ATMEL Modified: head/sys/arm/conf/ATMEL

svn commit: r238957 - head/sys/arm/conf

2012-07-31 Thread Warner Losh
Author: imp Date: Tue Jul 31 19:41:12 2012 New Revision: 238957 URL: http://svn.freebsd.org/changeset/base/238957 Log: Prefer ate over macb. macb doesn't work anymore, and ate has more errata workarounds in it. Modified: head/sys/arm/conf/HL201 head/sys/arm/conf/QILA9G20

svn commit: r238960 - head/sys/netinet6

2012-07-31 Thread Bjoern A. Zeeb
Author: bz Date: Tue Jul 31 23:34:06 2012 New Revision: 238960 URL: http://svn.freebsd.org/changeset/base/238960 Log: In case of IPsec he have to do delayed checksum calculations before adding any extension header, or rather before calling into IPsec processing as we may send the packet and

svn commit: r238961 - in head/sys/dev/ath: . ath_rate/sample

2012-07-31 Thread Adrian Chadd
Author: adrian Date: Tue Jul 31 23:54:15 2012 New Revision: 238961 URL: http://svn.freebsd.org/changeset/base/238961 Log: Allow 802.11n hardware to support multi-rate retry when RTS/CTS is enabled. The legacy (pre-802.11n) hardware doesn't support this - although the AR5212 era

svn commit: r238962 - head/sys/dev/ath/ath_rate/sample

2012-07-31 Thread Adrian Chadd
Author: adrian Date: Wed Aug 1 00:18:02 2012 New Revision: 238962 URL: http://svn.freebsd.org/changeset/base/238962 Log: Fix a case of mis-located braces. PR: kern/170302 Modified: head/sys/dev/ath/ath_rate/sample/sample.c Modified: head/sys/dev/ath/ath_rate/sample/sample.c

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

2012-07-31 Thread Xin LI
Author: delphij Date: Wed Aug 1 00:21:55 2012 New Revision: 238963 URL: http://svn.freebsd.org/changeset/base/238963 Log: Use calloc(). Modified: head/lib/libc/gen/fts.c Modified: head/lib/libc/gen/fts.c == ---

Re: svn commit: r238962 - head/sys/dev/ath/ath_rate/sample

2012-07-31 Thread Ben Kaduk
On Tue, Jul 31, 2012 at 8:18 PM, Adrian Chadd adr...@freebsd.org wrote: --- head/sys/dev/ath/ath_rate/sample/sample.c Tue Jul 31 23:54:15 2012 (r238961) +++ head/sys/dev/ath/ath_rate/sample/sample.c Wed Aug 1 00:18:02 2012 (r238962) @@ -504,7 +504,7 @@

svn commit: r238964 - head/sbin/md5

2012-07-31 Thread Xin LI
Author: delphij Date: Wed Aug 1 00:36:12 2012 New Revision: 238964 URL: http://svn.freebsd.org/changeset/base/238964 Log: Teach md5(1) about sha512. MFC after:1 month Modified: head/sbin/md5/Makefile head/sbin/md5/md5.1 head/sbin/md5/md5.c Modified: head/sbin/md5/Makefile

svn commit: r238965 - head/sys/dev/spibus

2012-07-31 Thread Warner Losh
Author: imp Date: Wed Aug 1 01:18:36 2012 New Revision: 238965 URL: http://svn.freebsd.org/changeset/base/238965 Log: Add the chip select glue. Modified: head/sys/dev/spibus/spi.h head/sys/dev/spibus/spibus.c Modified: head/sys/dev/spibus/spi.h