svn commit: r256500 - in head/sys/dev/usb: . wlan

2013-10-15 Thread Hans Petter Selasky
Author: hselasky Date: Tue Oct 15 06:23:54 2013 New Revision: 256500 URL: http://svnweb.freebsd.org/changeset/base/256500 Log: Add new USB ID. PR: usb/182936 Submitted by: Keith White kwh...@site.uottawa.ca MFC after:1 week Modified: head/sys/dev/usb/usbdevs

svn commit: r256501 - head/sys/fs/devfs

2013-10-15 Thread Konstantin Belousov
Author: kib Date: Tue Oct 15 06:28:11 2013 New Revision: 256501 URL: http://svnweb.freebsd.org/changeset/base/256501 Log: Remove two instances of ARGSUSED comment, and wrap lines nearby the code that is to be changed. Sponsored by: The FreeBSD Foundation MFC after:1 week Modified:

svn commit: r256502 - in head/sys: fs/devfs kern sys

2013-10-15 Thread Konstantin Belousov
Author: kib Date: Tue Oct 15 06:33:10 2013 New Revision: 256502 URL: http://svnweb.freebsd.org/changeset/base/256502 Log: Similar to debug.iosize_max_clamp sysctl, introduce devfs_iosize_max_clamp sysctl, which allows/disables SSIZE_MAX-sized i/o requests on the devfs files. Sponsored

svn commit: r256503 - head/sys/kern

2013-10-15 Thread Konstantin Belousov
Author: kib Date: Tue Oct 15 06:35:22 2013 New Revision: 256503 URL: http://svnweb.freebsd.org/changeset/base/256503 Log: By default, allow up to SSIZE_MAX i/o for non-devfs files. Sponsored by: The FreeBSD Foundation Reminded by: Dmitry Sivachenko trtrmi...@gmail.com MFC after:1

svn commit: r256504 - in head/sys: kern sys

2013-10-15 Thread Konstantin Belousov
Author: kib Date: Tue Oct 15 06:38:40 2013 New Revision: 256504 URL: http://svnweb.freebsd.org/changeset/base/256504 Log: Add a sysctl kern.disallow_high_osrel which disables executing the images compiled on the world with higher major version number than the high version number of the

svn commit: r256505 - head/sys/netinet

2013-10-15 Thread Kevin Lo
Author: kevlo Date: Tue Oct 15 07:35:39 2013 New Revision: 256505 URL: http://svnweb.freebsd.org/changeset/base/256505 Log: Treat INADDR_NONE as uint32_t. Reviewed by: glebius Modified: head/sys/netinet/in.h Modified: head/sys/netinet/in.h

svn commit: r256510 - head/usr.bin/netstat

2013-10-15 Thread Gleb Smirnoff
Author: glebius Date: Tue Oct 15 09:21:05 2013 New Revision: 256510 URL: http://svnweb.freebsd.org/changeset/base/256510 Log: Remove obtained, but never used data. Found by: gcc Modified: head/usr.bin/netstat/mbuf.c Modified: head/usr.bin/netstat/mbuf.c

svn commit: r256511 - head/sys/arm/mv

2013-10-15 Thread Kevin Lo
Author: kevlo Date: Tue Oct 15 09:29:36 2013 New Revision: 256511 URL: http://svnweb.freebsd.org/changeset/base/256511 Log: Remove unsigned comparison 0 Found by: LLVM Reviewed by: zbb Modified: head/sys/arm/mv/mv_localbus.c Modified: head/sys/arm/mv/mv_localbus.c

svn commit: r256514 - in head: lib/libkvm sys/sys

2013-10-15 Thread Gleb Smirnoff
Author: glebius Date: Tue Oct 15 10:05:37 2013 New Revision: 256514 URL: http://svnweb.freebsd.org/changeset/base/256514 Log: - While we are spreading the counter(9) across network stack, more userland tools would need to know about the counter_u64_t type. Allow to include sys/counter.h

svn commit: r256515 - head/sys/netinet6

2013-10-15 Thread Gleb Smirnoff
Author: glebius Date: Tue Oct 15 10:09:33 2013 New Revision: 256515 URL: http://svnweb.freebsd.org/changeset/base/256515 Log: Now counter_u64_t is known to userland, thus remove hack from r253086. Sponsored by: Netflix Sponsored by: Nginx, Inc. Modified: head/sys/netinet6/in6_var.h

svn commit: r256516 - head/sys/netinet6

2013-10-15 Thread Gleb Smirnoff
Author: glebius Date: Tue Oct 15 10:11:23 2013 New Revision: 256516 URL: http://svnweb.freebsd.org/changeset/base/256516 Log: Remove useless check of ia6 against NULL, right after dereferencing it. Modified: head/sys/netinet6/ip6_input.c Modified: head/sys/netinet6/ip6_input.c

svn commit: r256519 - in head/sys: net netatalk netinet netinet6 netipx

2013-10-15 Thread Gleb Smirnoff
Author: glebius Date: Tue Oct 15 10:31:42 2013 New Revision: 256519 URL: http://svnweb.freebsd.org/changeset/base/256519 Log: Remove ifa_init() and provide ifa_alloc() that will allocate and setup struct ifaddr internally. Sponsored by: Netflix Sponsored by: Nginx, Inc. Modified:

svn commit: r256521 - head/sys/net

2013-10-15 Thread Gleb Smirnoff
Author: glebius Date: Tue Oct 15 10:41:22 2013 New Revision: 256521 URL: http://svnweb.freebsd.org/changeset/base/256521 Log: Remove ifa_mtx. It was used only in one place in kernel, and ifnet's ifaddr lock can substitute it there. Discussed with: melifaro, ae Sponsored by:

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

2013-10-15 Thread Gleb Smirnoff
Author: glebius Date: Tue Oct 15 11:37:57 2013 New Revision: 256525 URL: http://svnweb.freebsd.org/changeset/base/256525 Log: - Utilize counter(9) to accumulate statistics on interface addresses. Add four counters to struct ifaddr. This kills '+=' on a variables shared between

svn commit: r256533 - head/sys/cam

2013-10-15 Thread Alexander Motin
Author: mav Date: Tue Oct 15 12:59:40 2013 New Revision: 256533 URL: http://svnweb.freebsd.org/changeset/base/256533 Log: Unhide Serial Number lines from bootverbose. That information may be useful for system administration to have in hard copy (in logs) if one of several devices suddenly

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

2013-10-15 Thread Gleb Smirnoff
Author: glebius Date: Tue Oct 15 13:32:01 2013 New Revision: 256537 URL: http://svnweb.freebsd.org/changeset/base/256537 Log: Make getutxent(3) more robust against bad utx.log files. Whenever we read zeroes, don't stop processing the file, but read until its end or valid data. In

Re: svn commit: r256533 - head/sys/cam

2013-10-15 Thread Gleb Smirnoff
On Tue, Oct 15, 2013 at 12:59:40PM +, Alexander Motin wrote: A Author: mav A Date: Tue Oct 15 12:59:40 2013 A New Revision: 256533 A URL: http://svnweb.freebsd.org/changeset/base/256533 A A Log: A Unhide Serial Number lines from bootverbose. That information may be A useful for system

Re: svn commit: r256505 - head/sys/netinet

2013-10-15 Thread Bruce Evans
On Tue, 15 Oct 2013, Kevin Lo wrote: Log: Treat INADDR_NONE as uint32_t. Reviewed by: glebius Modified: head/sys/netinet/in.h Modified: head/sys/netinet/in.h == --- head/sys/netinet/in.h Tue Oct 15

svn commit: r256539 - head/lib/libkvm

2013-10-15 Thread Gleb Smirnoff
Author: glebius Date: Tue Oct 15 13:53:35 2013 New Revision: 256539 URL: http://svnweb.freebsd.org/changeset/base/256539 Log: Revert r256514 for libkvm. It wasn't correct actually and breaks build. Modified: head/lib/libkvm/kvm_pcpu.c Modified: head/lib/libkvm/kvm_pcpu.c

Re: svn commit: r256537 - head/lib/libc/gen

2013-10-15 Thread Gleb Smirnoff
On Tue, Oct 15, 2013 at 01:32:02PM +, Gleb Smirnoff wrote: T Author: glebius T Date: Tue Oct 15 13:32:01 2013 T New Revision: 256537 T URL: http://svnweb.freebsd.org/changeset/base/256537 T T Log: T Make getutxent(3) more robust against bad utx.log files. Whenever we read T zeroes,

svn commit: r256540 - head/usr.sbin/bsdinstall/scripts

2013-10-15 Thread Devin Teske
Author: dteske Date: Tue Oct 15 14:18:15 2013 New Revision: 256540 URL: http://svnweb.freebsd.org/changeset/base/256540 Log: gjb writes: when doing encrypted zfs install, loader.conf should be updated so bootpool is imported after boot: zpool_cache_load=YES

svn commit: r256541 - head/usr.sbin/bsdinstall

2013-10-15 Thread Devin Teske
Author: dteske Date: Tue Oct 15 14:46:37 2013 New Revision: 256541 URL: http://svnweb.freebsd.org/changeset/base/256541 Log: Document BSDINSTALL_TMPBOOT environment variable introduced by SVN r256343. Modified: head/usr.sbin/bsdinstall/bsdinstall.8 Modified:

svn commit: r256542 - head/sys/powerpc/aim

2013-10-15 Thread Justin Hibbits
Author: jhibbits Date: Tue Oct 15 14:52:44 2013 New Revision: 256542 URL: http://svnweb.freebsd.org/changeset/base/256542 Log: Move the PMC handling to the first level interrupt handler where it belongs. Also add the pmc_hook use, to handle callchain tracing. MFC after:1 week

Re: svn commit: r256343 - in head/usr.sbin/bsdinstall: . scripts

2013-10-15 Thread Bryan Drewery
On Fri, Oct 11, 2013 at 08:41:35PM +, Devin Teske wrote: Author: dteske Date: Fri Oct 11 20:41:35 2013 New Revision: 256343 URL: http://svnweb.freebsd.org/changeset/base/256343 Log: Add zfsboot module as an option for automatic configuration. Default is to run interactively but it

Re: svn commit: r256343 - in head/usr.sbin/bsdinstall: . scripts

2013-10-15 Thread Teske, Devin
CC'ing Allan Jude for feedback (I didn't have a hand in the selection of those values) -- Devin On Oct 15, 2013, at 7:50 AM, Bryan Drewery wrote: On Fri, Oct 11, 2013 at 08:41:35PM +, Devin Teske wrote: Author: dteske Date: Fri Oct 11 20:41:35 2013 New Revision: 256343 URL:

svn commit: r256544 - head/usr.sbin/bsdinstall/scripts

2013-10-15 Thread Devin Teske
Author: dteske Date: Tue Oct 15 15:00:53 2013 New Revision: 256544 URL: http://svnweb.freebsd.org/changeset/base/256544 Log: Fix SVN r256540: s/TMPETC/TMPBOOT/ for loader.conf(5) GELI entries. Modified: head/usr.sbin/bsdinstall/scripts/zfsboot Modified:

svn commit: r256543 - in head: cddl/contrib/opensolaris/lib/libdtrace/common cddl/contrib/opensolaris/lib/libdtrace/powerpc sys/cddl/contrib/opensolaris/uts/powerpc/dtrace sys/cddl/contrib/opensola...

2013-10-15 Thread Justin Hibbits
Author: jhibbits Date: Tue Oct 15 15:00:29 2013 New Revision: 256543 URL: http://svnweb.freebsd.org/changeset/base/256543 Log: Add fasttrap for PowerPC. This is the last piece of the dtrace/ppc puzzle. It's incomplete, it doesn't contain full instruction emulation, but it should be

Re: svn commit: r256343 - in head/usr.sbin/bsdinstall: . scripts

2013-10-15 Thread Allan Jude
On 2013-10-15 11:00, Teske, Devin wrote: CC'ing Allan Jude for feedback (I didn't have a hand in the selection of those values) -- Devin On Oct 15, 2013, at 7:50 AM, Bryan Drewery wrote: On Fri, Oct 11, 2013 at 08:41:35PM +, Devin Teske wrote: Author: dteske Date: Fri Oct 11 20:41:35

svn commit: r256546 - head/sys/ofed/include/linux

2013-10-15 Thread Alfred Perlstein
Author: alfred Date: Tue Oct 15 15:50:43 2013 New Revision: 256546 URL: http://svnweb.freebsd.org/changeset/base/256546 Log: Fix __free_pages() in the linux shim. __free_pages() is actaully supposed to take a struct page * not an address. Modified: head/sys/ofed/include/linux/gfp.h

Re: svn commit: r256343 - in head/usr.sbin/bsdinstall: . scripts

2013-10-15 Thread Teske, Devin
On Oct 15, 2013, at 8:23 AM, Allan Jude wrote: On 2013-10-15 11:00, Teske, Devin wrote: CC'ing Allan Jude for feedback (I didn't have a hand in the selection of those values) -- Devin On Oct 15, 2013, at 7:50 AM, Bryan Drewery wrote: On Fri, Oct 11, 2013 at 08:41:35PM +,

Re: svn commit: r256343 - in head/usr.sbin/bsdinstall: . scripts

2013-10-15 Thread Allan Jude
On 2013-10-15 12:28, Teske, Devin wrote: On Oct 15, 2013, at 8:23 AM, Allan Jude wrote: On 2013-10-15 11:00, Teske, Devin wrote: CC'ing Allan Jude for feedback (I didn't have a hand in the selection of those values) -- Devin On Oct 15, 2013, at 7:50 AM, Bryan Drewery wrote: On Fri,

Re: svn commit: r256343 - in head/usr.sbin/bsdinstall: . scripts

2013-10-15 Thread Andriy Gapon
on 15/10/2013 19:32 Allan Jude said the following: Lets change ZFSBOOT_BEROOT_NAME to 'ROOT' and remove the /usr/local and /var/db/pkg datasets entirely (so they become part of the BE). Based on IRC discussion with bdrewery and Shawn Webb I want to note that a good implementation of BEs should

Re: svn commit: r256343 - in head/usr.sbin/bsdinstall: . scripts

2013-10-15 Thread Allan Jude
On 2013-10-15 12:43, Andriy Gapon wrote: on 15/10/2013 19:32 Allan Jude said the following: Lets change ZFSBOOT_BEROOT_NAME to 'ROOT' and remove the /usr/local and /var/db/pkg datasets entirely (so they become part of the BE). Based on IRC discussion with bdrewery and Shawn Webb I want to

svn commit: r256547 - in head/sys/cam: ata scsi

2013-10-15 Thread Steven Hartland
Author: smh Date: Tue Oct 15 17:03:02 2013 New Revision: 256547 URL: http://svnweb.freebsd.org/changeset/base/256547 Log: Added 4K quirks for Corsair Neutron GTX SSD's Modified: head/sys/cam/ata/ata_da.c head/sys/cam/scsi/scsi_da.c Modified: head/sys/cam/ata/ata_da.c

svn commit: r256548 - head/sys/dev/usb/controller

2013-10-15 Thread Hans Petter Selasky
Author: hselasky Date: Tue Oct 15 17:11:13 2013 New Revision: 256548 URL: http://svnweb.freebsd.org/changeset/base/256548 Log: Correct programming of XXX_MAXP register. This register is 16-bit wide and not 8-bit. Fix support for isochronous transfers in USB host mode. Fix a whitespace while

Re: svn commit: r256343 - in head/usr.sbin/bsdinstall: . scripts

2013-10-15 Thread Teske, Devin
On Oct 15, 2013, at 9:55 AM, Allan Jude wrote: On 2013-10-15 12:43, Andriy Gapon wrote: on 15/10/2013 19:32 Allan Jude said the following: Lets change ZFSBOOT_BEROOT_NAME to 'ROOT' and remove the /usr/local and /var/db/pkg datasets entirely (so they become part of the BE). Based on IRC

svn commit: r256549 - head/usr.sbin/bsdinstall

2013-10-15 Thread Devin Teske
Author: dteske Date: Tue Oct 15 17:33:30 2013 New Revision: 256549 URL: http://svnweb.freebsd.org/changeset/base/256549 Log: Man page updates to go along with SVN r256343, introducing zfsboot. Modified: head/usr.sbin/bsdinstall/bsdinstall.8 Modified: head/usr.sbin/bsdinstall/bsdinstall.8

svn commit: r256550 - head/sys/netgraph

2013-10-15 Thread Alexander V. Chernikov
Author: melifaro Date: Tue Oct 15 17:44:35 2013 New Revision: 256550 URL: http://svnweb.freebsd.org/changeset/base/256550 Log: Improve locking model used to protect netgraph topology: use rwlocks instead of mutexes on node traversal. Reviewed by: glebius Tested by:Eugene Grosbein

Re: svn commit: r256549 - head/usr.sbin/bsdinstall

2013-10-15 Thread Glen Barber
On Tue, Oct 15, 2013 at 05:33:30PM +, Devin Teske wrote: Author: dteske Date: Tue Oct 15 17:33:30 2013 New Revision: 256549 URL: http://svnweb.freebsd.org/changeset/base/256549 Log: Man page updates to go along with SVN r256343, introducing zfsboot. Modified:

Re: svn commit: r256549 - head/usr.sbin/bsdinstall

2013-10-15 Thread Teske, Devin
On Oct 15, 2013, at 10:48 AM, Glen Barber wrote: On Tue, Oct 15, 2013 at 05:33:30PM +, Devin Teske wrote: Author: dteske Date: Tue Oct 15 17:33:30 2013 New Revision: 256549 URL: http://svnweb.freebsd.org/changeset/base/256549 Log: Man page updates to go along with SVN r256343,

svn commit: r256551 - head/usr.sbin/bsdinstall

2013-10-15 Thread Devin Teske
Author: dteske Date: Tue Oct 15 17:52:44 2013 New Revision: 256551 URL: http://svnweb.freebsd.org/changeset/base/256551 Log: Bump .Dd date (should have been part of SVN r256549) Modified: head/usr.sbin/bsdinstall/bsdinstall.8 Modified: head/usr.sbin/bsdinstall/bsdinstall.8

Re: svn commit: r256343 - in head/usr.sbin/bsdinstall: . scripts

2013-10-15 Thread Allan Jude
On 2013-10-15 13:26, Teske, Devin wrote: On Oct 15, 2013, at 9:55 AM, Allan Jude wrote: On 2013-10-15 12:43, Andriy Gapon wrote: on 15/10/2013 19:32 Allan Jude said the following: Lets change ZFSBOOT_BEROOT_NAME to 'ROOT' and remove the /usr/local and /var/db/pkg datasets entirely (so they

Re: svn commit: r256343 - in head/usr.sbin/bsdinstall: . scripts

2013-10-15 Thread Teske, Devin
On Oct 15, 2013, at 10:53 AM, Allan Jude wrote: On 2013-10-15 13:26, Teske, Devin wrote: On Oct 15, 2013, at 9:55 AM, Allan Jude wrote: On 2013-10-15 12:43, Andriy Gapon wrote: on 15/10/2013 19:32 Allan Jude said the following: Lets change ZFSBOOT_BEROOT_NAME to 'ROOT' and remove the

svn commit: r256552 - in head/sys/cam: . ata scsi

2013-10-15 Thread Alexander Motin
Author: mav Date: Tue Oct 15 17:59:41 2013 New Revision: 256552 URL: http://svnweb.freebsd.org/changeset/base/256552 Log: Unify periph invalidation and destruction reporting. Print message containing device model and serial number on invalidation. Requested by: glebius MFC after:

svn commit: r256553 - head/usr.sbin/bsdinstall/scripts

2013-10-15 Thread Devin Teske
Author: dteske Date: Tue Oct 15 18:06:33 2013 New Revision: 256553 URL: http://svnweb.freebsd.org/changeset/base/256553 Log: Make ZFSBOOT_BEROOT_NAME be ROOT by default. This is what sysutils/beadm and OpenSolaris/Illumos beadm use. Remove /usr/local and /var/db/pkg datasets. Andriy

Re: svn commit: r256552 - in head/sys/cam: . ata scsi

2013-10-15 Thread Gleb Smirnoff
On Tue, Oct 15, 2013 at 05:59:42PM +, Alexander Motin wrote: A Author: mav A Date: Tue Oct 15 17:59:41 2013 A New Revision: 256552 A URL: http://svnweb.freebsd.org/changeset/base/256552 A A Log: A Unify periph invalidation and destruction reporting. A Print message containing device model

svn commit: r256556 - head/sys/netinet

2013-10-15 Thread Michael Tuexen
Author: tuexen Date: Tue Oct 15 20:21:27 2013 New Revision: 256556 URL: http://svnweb.freebsd.org/changeset/base/256556 Log: Remove a buggy comparision when setting manually the path MTU. After fixing, the comparision would have become redundant. Thanks to Andrew Galante for reporting the

svn commit: r256557 - head/usr.bin/uname

2013-10-15 Thread Peter Wemm
Author: peter Date: Tue Oct 15 20:57:40 2013 New Revision: 256557 URL: http://svnweb.freebsd.org/changeset/base/256557 Log: Add -K (__FreeBSD_version of kernel) and -U (__FreeBSD_version of userland). Things like Makefile.inc1 resort to parsing /usr/include/osreldate.h with awk because this

svn commit: r256561 - head/sbin/gvinum

2013-10-15 Thread Xin LI
Author: delphij Date: Tue Oct 15 21:04:46 2013 New Revision: 256561 URL: http://svnweb.freebsd.org/changeset/base/256561 Log: Prevent an unlikely, but real double free issue in gvinum(8). Coverity ID: 1018965 Modified: head/sbin/gvinum/gvinum.c Modified: head/sbin/gvinum/gvinum.c

svn commit: r256563 - head/sys/net

2013-10-15 Thread Maksim Yevmenkin
Author: emax Date: Tue Oct 15 21:28:51 2013 New Revision: 256563 URL: http://svnweb.freebsd.org/changeset/base/256563 Log: In the flowtable scanner, restart the scan at the last found position, not at position 0. Changes the scanner from O(N^2) to O(N). Submitted by: scottl Obtained

svn commit: r256570 - head/sys/amd64/vmm

2013-10-15 Thread Neel Natu
Author: neel Date: Wed Oct 16 00:58:47 2013 New Revision: 256570 URL: http://svnweb.freebsd.org/changeset/base/256570 Log: Fix the witness warning that warned against calling uiomove() while holding the 'vmmdev_mtx' in vmmdev_rw(). Rely on the 'si_threadcount' accounting to ensure that

svn commit: r256571 - in head: cddl/contrib/opensolaris/lib/libdtrace/common cddl/lib/libdtrace sys/cddl/contrib/opensolaris/uts/common/dtrace sys/cddl/contrib/opensolaris/uts/common/sys sys/cddl/d...

2013-10-15 Thread Mark Johnston
Author: markj Date: Wed Oct 16 01:39:26 2013 New Revision: 256571 URL: http://svnweb.freebsd.org/changeset/base/256571 Log: Add a function, memstr, which can be used to convert a buffer of null-separated strings to a single string. This can be used to print the full arguments of a process

Re: svn commit: r256542 - head/sys/powerpc/aim

2013-10-15 Thread Glen Barber
On Tue, Oct 15, 2013 at 02:52:45PM +, Justin Hibbits wrote: Author: jhibbits Date: Tue Oct 15 14:52:44 2013 New Revision: 256542 URL: http://svnweb.freebsd.org/changeset/base/256542 Log: Move the PMC handling to the first level interrupt handler where it belongs. Also add the

svn commit: r256572 - head/sys/mips/atheros

2013-10-15 Thread Adrian Chadd
Author: adrian Date: Wed Oct 16 02:10:35 2013 New Revision: 256572 URL: http://svnweb.freebsd.org/changeset/base/256572 Log: Add bus space barriers to the AR71xx SPI code. This is required for correct, stable operation on the MIPS74k SoCs that are dual-issue, superscalar pipelines.

svn commit: r256573 - head/sys/mips/atheros

2013-10-15 Thread Adrian Chadd
Author: adrian Date: Wed Oct 16 02:46:00 2013 New Revision: 256573 URL: http://svnweb.freebsd.org/changeset/base/256573 Log: Add in a write barrier after each if_arge write. Without correct barriers, this code just plain doesn't work on the mips74k cores (specifically the AR9344.)

svn commit: r256574 - head/usr.sbin/ppp

2013-10-15 Thread Kevin Lo
Author: kevlo Date: Wed Oct 16 02:55:31 2013 New Revision: 256574 URL: http://svnweb.freebsd.org/changeset/base/256574 Log: Fix logic error. MPPE only accepts protocol numbers 0x21 through 0xFA. PR: bin/175974 Modified: head/usr.sbin/ppp/mppe.c Modified: head/usr.sbin/ppp/mppe.c

svn commit: r256575 - head/sys/mips/atheros

2013-10-15 Thread Adrian Chadd
Author: adrian Date: Wed Oct 16 03:11:18 2013 New Revision: 256575 URL: http://svnweb.freebsd.org/changeset/base/256575 Log: Add in the platform specific quirks to get the AR934x SoC ethernet up and running. * The MAC FIFO configurations needed updating; * Reset the MDIO block at the

svn commit: r256576 - head/sys/dev/etherswitch/arswitch

2013-10-15 Thread Adrian Chadd
Author: adrian Date: Wed Oct 16 03:15:52 2013 New Revision: 256576 URL: http://svnweb.freebsd.org/changeset/base/256576 Log: Initial commit of AR9340 switch SoC support. This is just the chip initialisation code (for now.) It's not linked into the main build as it requires a bunch of

svn commit: r256577 - head/sys/dev/etherswitch/arswitch

2013-10-15 Thread Adrian Chadd
Author: adrian Date: Wed Oct 16 03:19:05 2013 New Revision: 256577 URL: http://svnweb.freebsd.org/changeset/base/256577 Log: Prepare to link in the AR934x SoC switch support. * Add an AR9340 switch version entry; * Support the switch being connected via MII; * Add a flag to note that a

svn commit: r256580 - head/sys/conf

2013-10-15 Thread Adrian Chadd
Author: adrian Date: Wed Oct 16 04:10:28 2013 New Revision: 256580 URL: http://svnweb.freebsd.org/changeset/base/256580 Log: Add AR9340 switch support to the build. Modified: head/sys/conf/files Modified: head/sys/conf/files

svn commit: r256581 - head/sys/powerpc/aim

2013-10-15 Thread Justin Hibbits
Author: jhibbits Date: Wed Oct 16 04:11:42 2013 New Revision: 256581 URL: http://svnweb.freebsd.org/changeset/base/256581 Log: Fix the Wii build, and remove an extraneous critical_enter(). Modified: head/sys/powerpc/aim/interrupt.c Modified: head/sys/powerpc/aim/interrupt.c

svn commit: r256582 - head/sys/dev/etherswitch/arswitch

2013-10-15 Thread Adrian Chadd
Author: adrian Date: Wed Oct 16 04:15:03 2013 New Revision: 256582 URL: http://svnweb.freebsd.org/changeset/base/256582 Log: Add support for the AR9340 switch to the switch framework. * Do the hardware setup in the right order! * Modify/improve the chip probe check so it can actually

svn commit: r256583 - head/sys/dev/etherswitch/arswitch

2013-10-15 Thread Adrian Chadd
Author: adrian Date: Wed Oct 16 04:15:35 2013 New Revision: 256583 URL: http://svnweb.freebsd.org/changeset/base/256583 Log: Add a big, big note to the vlan code that it needs to be taught about the new VLAN options for the AR9340 and AR8327 chips. Modified:

svn commit: r256584 - head/sys/mips/conf

2013-10-15 Thread Adrian Chadd
Author: adrian Date: Wed Oct 16 04:16:54 2013 New Revision: 256584 URL: http://svnweb.freebsd.org/changeset/base/256584 Log: Yes, this board has 128mb of RAM. Modified: head/sys/mips/conf/DB120 Modified: head/sys/mips/conf/DB120

svn commit: r256586 - head/sys/net

2013-10-15 Thread Gleb Smirnoff
Author: glebius Date: Wed Oct 16 04:59:59 2013 New Revision: 256586 URL: http://svnweb.freebsd.org/changeset/base/256586 Log: Rename Free() macro to R_Free(). This matches R_Malloc() and has much lower probability to clash with other headers. Submitted by: Eric van Gyzen eric_van_gyzen

svn commit: r256587 - in head/sys: kern sys

2013-10-15 Thread Gleb Smirnoff
Author: glebius Date: Wed Oct 16 05:02:01 2013 New Revision: 256587 URL: http://svnweb.freebsd.org/changeset/base/256587 Log: For VIMAGE kernels store vnet in the struct task, and set vnet context during task processing. Reported tested by: mm Modified: head/sys/kern/subr_taskqueue.c