Re: svn commit: r257184 - in head/sys/dev: mii usb/net xl

2013-10-27 Thread Gleb Smirnoff
On Sat, Oct 26, 2013 at 06:57:04PM -0700, Adrian Chadd wrote: A hm, so none of the modified PHYs nor their consumers will get upset? A Eg, if the NIC is down, is touching the PHY registers going to be a A problem? The IFF_UP was always an administrative flag. I believe drivers initialize all

svn commit: r257206 - head/sys/dev/usb

2013-10-27 Thread Hans Petter Selasky
Author: hselasky Date: Sun Oct 27 10:09:53 2013 New Revision: 257206 URL: http://svnweb.freebsd.org/changeset/base/257206 Log: Fix a deadlock when trying to power off a USB device. The deadlock happens because the code in question is trying to modify the parent USB port registers outside

Re: svn commit: r257133 - head/sys/dev/iwn

2013-10-27 Thread Stefan Farfeleder
On Fri, Oct 25, 2013 at 07:44:54PM +, Adrian Chadd wrote: Author: adrian Date: Fri Oct 25 19:44:53 2013 New Revision: 257133 URL: http://svnweb.freebsd.org/changeset/base/257133 Log: Temporarily disable multi-rate retry (link quality) and eliminate rate index lookups. * My

svn commit: r257207 - head/lib/msun/arm

2013-10-27 Thread Andrew Turner
Author: andrew Date: Sun Oct 27 10:44:22 2013 New Revision: 257207 URL: http://svnweb.freebsd.org/changeset/base/257207 Log: Update the hard-float version of the fenv functions to use the VFP unit. Any other floating-point unit is unsupported on ARM. Modified: head/lib/msun/arm/fenv.h

svn commit: r257209 - head/sys/powerpc/include

2013-10-27 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sun Oct 27 14:03:51 2013 New Revision: 257209 URL: http://svnweb.freebsd.org/changeset/base/257209 Log: Turn on VM_KMEM_SIZE_SCALE on 32-bit as well as 64-bit PowerPC. Requested by: alc MFC after:1 month Modified: head/sys/powerpc/include/vmparam.h

svn commit: r257210 - head/sys/boot/arm/uboot

2013-10-27 Thread Andrew Turner
Author: andrew Date: Sun Oct 27 14:27:11 2013 New Revision: 257210 URL: http://svnweb.freebsd.org/changeset/base/257210 Log: Always build ubldr as a soft-float binary as there is no support for VFP this early on in the boot process. Modified: head/sys/boot/arm/uboot/Makefile Modified:

svn commit: r257212 - in head/cddl: contrib/opensolaris/cmd/lockstat usr.sbin/lockstat

2013-10-27 Thread Mark Johnston
Author: markj Date: Sun Oct 27 16:01:11 2013 New Revision: 257212 URL: http://svnweb.freebsd.org/changeset/base/257212 Log: Convert the lockstat(1) man page to mdoc and make sure that it gets installed. Additionally, remove Solaris-specific sections and references, and replace example

Re: svn commit: r257184 - in head/sys/dev: mii usb/net xl

2013-10-27 Thread Adrian Chadd
Cool. Just make sure you check the odd ones like USB, where ejecting may occur during or just before the callout runs, and the callout tries accessing registers that aren't there. Sure the previous was racy, but it may have been not racy enough to cause most people to never see a panic.

Re: svn commit: r257133 - head/sys/dev/iwn

2013-10-27 Thread Adrian Chadd
Hm, ok. Can you compile it with IWN_DEBUG and IEEE80211_DEBUG, then do this: sysctl dev.iwn.0.debug=0x1 wlandebug +rate I'd like to see what the selected rate is and what the logged reason for failing to transmit is. I have a 5100 and it works totally fine for me. Thanks! -adrian On 27

svn commit: r257213 - head/cddl/contrib/opensolaris/cmd/lockstat

2013-10-27 Thread Mark Johnston
Author: markj Date: Sun Oct 27 16:18:48 2013 New Revision: 257213 URL: http://svnweb.freebsd.org/changeset/base/257213 Log: If the initial attempt to open /dev/ksyms fails, kldload the ksyms module and retry. Modified: head/cddl/contrib/opensolaris/cmd/lockstat/sym.c Modified:

svn commit: r257214 - head/sys/kern

2013-10-27 Thread Konstantin Belousov
Author: kib Date: Sun Oct 27 16:20:52 2013 New Revision: 257214 URL: http://svnweb.freebsd.org/changeset/base/257214 Log: When reentering kdb, typically due to a bug causing trap or assert in the code executed in the context of debugger, do not be ashamed to inform loudly about the

svn commit: r257215 - in head: contrib/libpcap etc/mtree include sys/contrib/altq/altq sys/net sys/netpfil/ipfw sys/netpfil/pf

2013-10-27 Thread Gleb Smirnoff
Author: glebius Date: Sun Oct 27 16:25:57 2013 New Revision: 257215 URL: http://svnweb.freebsd.org/changeset/base/257215 Log: Move new pf includes to the pf directory. The pfvar.h remain in net, to avoid compatibility breakage for no sake. The future plan is to split most of non-kernel

Re: svn commit: r257199 - in head/sys/arm: allwinner arm broadcom/bcm2835 freescale/imx include lpc mv mv/orion rockchip sa11x0 samsung/exynos tegra ti ti/omap4/pandaboard versatile xilinx xscale/i803

2013-10-27 Thread Bruce Evans
On Sun, 27 Oct 2013, Ian Lepore wrote: Log: Remove all #include machine/pmap.h from arm code. It's already included by vm/pmap.h, which is a prerequisite for arm/machine/pmap.h so there's no reason to ever include it directly. Thanks to alc@ for pointing this out. I noticed this style

svn commit: r257216 - head/sys/amd64/amd64

2013-10-27 Thread Konstantin Belousov
Author: kib Date: Sun Oct 27 16:31:12 2013 New Revision: 257216 URL: http://svnweb.freebsd.org/changeset/base/257216 Log: Several small fixes for the amd64 minidump code. In report_progress(), use nitems(progress_track) instead of manually hard-coding array size. Wrap long line. In

Re: svn commit: r257199 - in head/sys/arm: allwinner arm broadcom/bcm2835 freescale/imx include lpc mv mv/orion rockchip sa11x0 samsung/exynos tegra ti ti/omap4/pandaboard versatile xilinx xscale/i803

2013-10-27 Thread Ian Lepore
On Mon, 2013-10-28 at 03:07 +1100, Bruce Evans wrote: Modified: head/sys/arm/allwinner/a10_machdep.c == --- head/sys/arm/allwinner/a10_machdep.c Sat Oct 26 23:41:11 2013 (r257198) +++

svn commit: r257217 - in head/sys/arm: arm include

2013-10-27 Thread Ian Lepore
Author: ian Date: Sun Oct 27 17:09:23 2013 New Revision: 257217 URL: http://svnweb.freebsd.org/changeset/base/257217 Log: Remove the last dregs of trapframe_t. It turns out only arm was using this type, so remove it to make arm code more consistant with other platforms. Thanks to bde@ for

svn commit: r257218 - head/sys/contrib/ipfilter/netinet

2013-10-27 Thread Gleb Smirnoff
Author: glebius Date: Sun Oct 27 17:12:31 2013 New Revision: 257218 URL: http://svnweb.freebsd.org/changeset/base/257218 Log: Include lock.h before mutex.h. Modified: head/sys/contrib/ipfilter/netinet/ip_compat.h Modified: head/sys/contrib/ipfilter/netinet/ip_compat.h

svn commit: r257219 - head/sys/net

2013-10-27 Thread Gleb Smirnoff
Author: glebius Date: Sun Oct 27 17:14:33 2013 New Revision: 257219 URL: http://svnweb.freebsd.org/changeset/base/257219 Log: Almost all if_clone consumers do not care about if_clone_event. Do not force them to include sys/eventhandler.h. Those who utilize EVENTHANDLER(9), will see the

svn commit: r257220 - head/sys/net

2013-10-27 Thread Gleb Smirnoff
Author: glebius Date: Sun Oct 27 17:27:06 2013 New Revision: 257220 URL: http://svnweb.freebsd.org/changeset/base/257220 Log: Provide forward declaration for struct ifnet. Consumers of this header don't need contents of struct. Modified: head/sys/net/if_media.h Modified:

Re: svn commit: r257200 - in head/sys/arm: allwinner allwinner/a20 arm at91 broadcom/bcm2835 econa freescale/imx include lpc mv rockchip samsung/exynos tegra ti ti/am335x ti/omap4 ti/twl versatile xil

2013-10-27 Thread Bruce Evans
On Sun, 27 Oct 2013, Ian Lepore wrote: Log: Remove #include machine/frame.h from all the arm code that doesn't really need it. That would be almost everywhere it was included. Add it in a couple files that really do need it and were previously getting it by accident via another header.

Re: svn commit: r257203 - head/sys/arm/arm

2013-10-27 Thread Bruce Evans
On Sun, 27 Oct 2013, Ian Lepore wrote: Log: Eliminate a compiler warning about extraneous parens. Wow, what flags give these warnings? Next I'll ask for -Wexcessive-braces, -Wbogus-cast and -Wno-sloppy-format. Modified: head/sys/arm/arm/busdma_machdep.c

Re: svn commit: r252010 - head/sys/geom/mirror

2013-10-27 Thread Slawa Olhovchenkov
On Wed, Jun 19, 2013 at 09:52:32PM +, Scott Long wrote: Author: scottl Date: Wed Jun 19 21:52:32 2013 New Revision: 252010 URL: http://svnweb.freebsd.org/changeset/base/252010 Log: Mark geom_mirror as capable of unmapped i/o Can you add capable of unmapped i/o to geom_stripe?

svn commit: r257221 - head/sys/kern

2013-10-27 Thread Konstantin Belousov
Author: kib Date: Sun Oct 27 18:52:09 2013 New Revision: 257221 URL: http://svnweb.freebsd.org/changeset/base/257221 Log: Fix typo. MFC after:3 days Modified: head/sys/kern/subr_param.c Modified: head/sys/kern/subr_param.c

Re: svn commit: r257203 - head/sys/arm/arm

2013-10-27 Thread Ian Lepore
On Mon, 2013-10-28 at 04:42 +1100, Bruce Evans wrote: On Sun, 27 Oct 2013, Ian Lepore wrote: Log: Eliminate a compiler warning about extraneous parens. Wow, what flags give these warnings? --- busdma_machdep.o ---

Re: svn commit: r257200 - in head/sys/arm: allwinner allwinner/a20 arm at91 broadcom/bcm2835 econa freescale/imx include lpc mv rockchip samsung/exynos tegra ti ti/am335x ti/omap4 ti/twl versatile xil

2013-10-27 Thread Ian Lepore
On Mon, 2013-10-28 at 04:01 +1100, Bruce Evans wrote: On Sun, 27 Oct 2013, Ian Lepore wrote: Log: Remove #include machine/frame.h from all the arm code that doesn't really need it. That would be almost everywhere it was included. Add it in a couple files that really do need it and

Re: svn commit: r257199 - in head/sys/arm: allwinner arm broadcom/bcm2835 freescale/imx include lpc mv mv/orion rockchip sa11x0 samsung/exynos tegra ti ti/omap4/pandaboard versatile xilinx xscale/i803

2013-10-27 Thread Bruce Evans
On Sun, 27 Oct 2013, Ian Lepore wrote: While doing that, I noticed a whole lot of other includes in arm source code that just aren't needed (things like cpu.h and intr.h in virtually every file). So much of our arm code gets created by wholesale pasting some other code and then hacking.

svn commit: r257222 - head/lib/libproc

2013-10-27 Thread Mark Johnston
Author: markj Date: Sun Oct 27 20:39:10 2013 New Revision: 257222 URL: http://svnweb.freebsd.org/changeset/base/257222 Log: Clean up the debug printing in libproc a bit. In particular: * Don't print any error messages to stderr unless DEBUG is defined. * Add a DPRINTFX macro for use when

svn commit: r257223 - head/sys/netpfil/pf

2013-10-27 Thread Baptiste Daroussin
Author: bapt Date: Sun Oct 27 20:44:42 2013 New Revision: 257223 URL: http://svnweb.freebsd.org/changeset/base/257223 Log: Import pf.c 1.635 and pf_lb.c 1.4 from OpenBSD Stricter state checking for ICMP and ICMPv6 packets: include the ICMP type in one port of the state key, using the

svn commit: r257224 - head/sys/netpfil/pf

2013-10-27 Thread Baptiste Daroussin
Author: bapt Date: Sun Oct 27 20:52:09 2013 New Revision: 257224 URL: http://svnweb.freebsd.org/changeset/base/257224 Log: Improt pf.c 1.636 from OpenBSD Original log: Make sure pd2 has a pointer to the icmp header in the payload; fixes panic seen with some some icmp types in icmp

svn commit: r257225 - head/sys/netpfil/pf

2013-10-27 Thread Baptiste Daroussin
Author: bapt Date: Sun Oct 27 20:56:23 2013 New Revision: 257225 URL: http://svnweb.freebsd.org/changeset/base/257225 Log: Import pf.c 1.638 from OpenBSD Original log: Some ICMP types that also have icmp_id, pointed out by markus@ Obtained from:OpenBSD Modified:

svn commit: r257226 - head/usr.sbin/edquota

2013-10-27 Thread Jilles Tjoelker
Author: jilles Date: Sun Oct 27 21:06:17 2013 New Revision: 257226 URL: http://svnweb.freebsd.org/changeset/base/257226 Log: edquota: Don't pass fd for temporary file to editor. The editor opens the temporary file by name. Modified: head/usr.sbin/edquota/edquota.c Modified:

svn commit: r257227 - head/sbin/pfctl

2013-10-27 Thread Baptiste Daroussin
Author: bapt Date: Sun Oct 27 21:07:37 2013 New Revision: 257227 URL: http://svnweb.freebsd.org/changeset/base/257227 Log: Import pf_print_state.c 1.54 from OpenBSD Original log: pfctl -ss printed state levels for ICMPv6. Disable this the same way it has already been done for ICMPv4.

Re: svn commit: r257217 - in head/sys/arm: arm include

2013-10-27 Thread Bruce Evans
On Sun, 27 Oct 2013, Ian Lepore wrote: Log: Remove the last dregs of trapframe_t. It turns out only arm was using this type, so remove it to make arm code more consistant with other platforms. Thanks to bde@ for pointing out only arm used trapframe_t. Thanks. Bruce

Re: svn commit: r252010 - head/sys/geom/mirror

2013-10-27 Thread Alexander Motin
On 27.10.2013 20:36, Slawa Olhovchenkov wrote: On Wed, Jun 19, 2013 at 09:52:32PM +, Scott Long wrote: Author: scottl Date: Wed Jun 19 21:52:32 2013 New Revision: 252010 URL: http://svnweb.freebsd.org/changeset/base/252010 Log: Mark geom_mirror as capable of unmapped i/o Can you add

Re: svn commit: r252010 - head/sys/geom/mirror

2013-10-27 Thread Slawa Olhovchenkov
On Mon, Oct 28, 2013 at 12:27:02AM +0200, Alexander Motin wrote: On 27.10.2013 20:36, Slawa Olhovchenkov wrote: On Wed, Jun 19, 2013 at 09:52:32PM +, Scott Long wrote: Author: scottl Date: Wed Jun 19 21:52:32 2013 New Revision: 252010 URL:

Re: svn commit: r252010 - head/sys/geom/mirror

2013-10-27 Thread Alexander Motin
On 27.10.2013 23:32, Slawa Olhovchenkov wrote: On Mon, Oct 28, 2013 at 12:27:02AM +0200, Alexander Motin wrote: On 27.10.2013 20:36, Slawa Olhovchenkov wrote: On Wed, Jun 19, 2013 at 09:52:32PM +, Scott Long wrote: Author: scottl Date: Wed Jun 19 21:52:32 2013 New Revision: 252010 URL:

svn commit: r257228 - in head/sys: arm/arm ia64/ia64 kern mips/mips powerpc/powerpc sparc64/include sys x86/x86

2013-10-27 Thread Konstantin Belousov
Author: kib Date: Sun Oct 27 21:39:16 2013 New Revision: 257228 URL: http://svnweb.freebsd.org/changeset/base/257228 Log: Add bus_dmamap_load_ma() function to load map with the array of vm_pages. Provide trivial implementation which forwards the load to _bus_dmamap_load_phys() page by

Re: svn commit: r257203 - head/sys/arm/arm

2013-10-27 Thread Bruce Evans
On Sun, 27 Oct 2013, Ian Lepore wrote: On Mon, 2013-10-28 at 04:42 +1100, Bruce Evans wrote: On Sun, 27 Oct 2013, Ian Lepore wrote: Log: Eliminate a compiler warning about extraneous parens. Wow, what flags give these warnings? --- busdma_machdep.o ---

svn commit: r257230 - in head/sys: conf x86/include x86/x86

2013-10-27 Thread Konstantin Belousov
Author: kib Date: Sun Oct 27 22:05:10 2013 New Revision: 257230 URL: http://svnweb.freebsd.org/changeset/base/257230 Log: Add a virtual table for the busdma methods on x86, to allow different busdma implementations to coexist. Copy busdma_machdep.c to busdma_bounce.c, which is still a

Re: svn commit: r257203 - head/sys/arm/arm

2013-10-27 Thread Jilles Tjoelker
On Mon, Oct 28, 2013 at 08:43:37AM +1100, Bruce Evans wrote: On Sun, 27 Oct 2013, Ian Lepore wrote: On Mon, 2013-10-28 at 04:42 +1100, Bruce Evans wrote: On Sun, 27 Oct 2013, Ian Lepore wrote: Log: Eliminate a compiler warning about extraneous parens. Wow, what flags give these

svn commit: r257231 - head/sys/arm/include

2013-10-27 Thread Olivier Houchard
Author: cognet Date: Sun Oct 27 22:15:50 2013 New Revision: 257231 URL: http://svnweb.freebsd.org/changeset/base/257231 Log: Make sure the PCB is aligned on 8 bytes, we may use ldrd/strd to access it, which may have strong alignment requirements. Modified: head/sys/arm/include/pcb.h

svn commit: r257233 - head/lib/csu/arm

2013-10-27 Thread Olivier Houchard
Author: cognet Date: Sun Oct 27 23:48:59 2013 New Revision: 257233 URL: http://svnweb.freebsd.org/changeset/base/257233 Log: Use the size of the MACHINE_ARCH string instead of sizeof(uint32_t). It can happen sizeof(MACHINE_ARCH) is more than 4 bytes, and bad things would happen. This should

svn commit: r257234 - head/usr.bin/procstat

2013-10-27 Thread Mark Johnston
Author: markj Date: Mon Oct 28 00:20:30 2013 New Revision: 257234 URL: http://svnweb.freebsd.org/changeset/base/257234 Log: With r247602, the c flag is no longer printed as a file descriptor flag. Reviewed by: pjd MFC after:3 days Modified: head/usr.bin/procstat/procstat.1

svn commit: r257235 - head/lib/libproc

2013-10-27 Thread Mark Johnston
Author: markj Date: Mon Oct 28 01:41:59 2013 New Revision: 257235 URL: http://svnweb.freebsd.org/changeset/base/257235 Log: Remove an incorrect debug printf. Modified: head/lib/libproc/proc_sym.c Modified: head/lib/libproc/proc_sym.c

svn commit: r257236 - head/sys/dev/lmc

2013-10-27 Thread Sean Bruno
Author: sbruno Date: Mon Oct 28 02:36:34 2013 New Revision: 257236 URL: http://svnweb.freebsd.org/changeset/base/257236 Log: Quiesce warning -Wmissing-variable-declarations from buildworld, which is slightly unnerving. In file included from ioctl.c:48:

svn commit: r257239 - head/gnu/usr.bin/binutils/ld

2013-10-27 Thread Eygene Ryabinkin
Author: rea (ports committer) Date: Mon Oct 28 05:55:47 2013 New Revision: 257239 URL: http://svnweb.freebsd.org/changeset/base/257239 Log: Correct ld(1) manual page for --no-add-needed set as default after r253839 Approved by: dim MFC after:2 weeks Modified: