Re: svn commit: r249790 - in head/sys/mips: include mips

2013-04-23 Thread Juli Mallett
Also: the comment says that the trapframe layout must match regnum.h — I don't think that's really true. Why can't we just store things in the trapframe in whatever order we want? Why do they need to match the register numbers. More worrying, however, is that looking at regnum.h brought to my at

svn commit: r249827 - head/usr.sbin/bsdconfig/include

2013-04-23 Thread Devin Teske
Author: dteske Date: Wed Apr 24 03:15:55 2013 New Revision: 249827 URL: http://svnweb.freebsd.org/changeset/base/249827 Log: Fix copy/paste error. Modified: head/usr.sbin/bsdconfig/include/messages.subr Modified: head/usr.sbin/bsdconfig/include/messages.subr =

svn commit: r249830 - head/sys/dev/sound/usb

2013-04-23 Thread Hans Petter Selasky
Author: hselasky Date: Wed Apr 24 06:05:33 2013 New Revision: 249830 URL: http://svnweb.freebsd.org/changeset/base/249830 Log: Fix playback for Focusrite Scarlett 2i2 USB recording interface. Submitted by: Ed Maste, emaste @ Modified: head/sys/dev/sound/usb/uaudio.c Modified: head/sys/d

svn commit: r249790 - in head/sys/mips: include mips

2013-04-23 Thread Warner Losh
Author: imp Date: Tue Apr 23 09:38:18 2013 New Revision: 249790 URL: http://svnweb.freebsd.org/changeset/base/249790 Log: Update trapframe to be consistent with the changes made to regnum.h. This should fix the booting problems people have been seeing. Modified: head/sys/mips/include/frame.

svn commit: r249791 - head/sys/conf

2013-04-23 Thread Warner Losh
Author: imp Date: Tue Apr 23 09:40:42 2013 New Revision: 249791 URL: http://svnweb.freebsd.org/changeset/base/249791 Log: Add an option for the GE FES based packet engines. Its board IDs overlap with the standard ones, so kernels for this family of boards need the option OCTEON_VENDOR_GEFES.

svn commit: r249795 - in head/sys/dev/usb: . controller

2013-04-23 Thread Hans Petter Selasky
Author: hselasky Date: Tue Apr 23 10:42:15 2013 New Revision: 249795 URL: http://svnweb.freebsd.org/changeset/base/249795 Log: Add convenience wrapper functions to run callbacks in the context of the USB explore thread. Modified: head/sys/dev/usb/controller/usb_controller.c head/sys/dev/u

svn commit: r249796 - head/sys/dev/sound/usb

2013-04-23 Thread Hans Petter Selasky
Author: hselasky Date: Tue Apr 23 10:48:14 2013 New Revision: 249796 URL: http://svnweb.freebsd.org/changeset/base/249796 Log: Add support for runtime switching of sample rate for USB audio devices. Previously the highest sample rate was unconditionally selected. Requested by: Craig Ler

svn commit: r249797 - head/sys/dev/acpi_support

2013-04-23 Thread Eitan Adler
Author: eadler Date: Tue Apr 23 13:02:48 2013 New Revision: 249797 URL: http://svnweb.freebsd.org/changeset/base/249797 Log: Remove tautological compare. PR: kern/176712 Submitted by: Hiren Panchasara Approved by: cperciva (mentor) Modified: head/sys/dev/acpi_support/acpi

svn commit: r249798 - head/sys/dev/bktr

2013-04-23 Thread Eitan Adler
Author: eadler Date: Tue Apr 23 13:02:51 2013 New Revision: 249798 URL: http://svnweb.freebsd.org/changeset/base/249798 Log: Make temp, temp1 the same type that they will later be used for. PR: kern/176712 Submitted by: Hiren Panchasara Reviewed by: jmg (earlier version) A

svn commit: r249799 - head/sys/dev/drm

2013-04-23 Thread Eitan Adler
Author: eadler Date: Tue Apr 23 13:02:55 2013 New Revision: 249799 URL: http://svnweb.freebsd.org/changeset/base/249799 Log: Remove always-true conditions from if statement. PR: kern/176712 Submitted by: Hiren Panchasara Approved by: cperciva (mentor) Modified: head/sys/d

svn commit: r249800 - head/sys/dev/bwn

2013-04-23 Thread Eitan Adler
Author: eadler Date: Tue Apr 23 13:02:57 2013 New Revision: 249800 URL: http://svnweb.freebsd.org/changeset/base/249800 Log: Avoid warning about uninitalized variable PR: kern/176712 Submitted by: Hiren Panchasara (earlier vesion) Approved by: cperciva (mentor) Modified:

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

2013-04-23 Thread Eitan Adler
Author: eadler Date: Tue Apr 23 13:03:01 2013 New Revision: 249801 URL: http://svnweb.freebsd.org/changeset/base/249801 Log: Switch from K&R prototypes to modern C Reviewed by: jilles Approved by: cperciva (mentor) MFC After:3 days Modified: head/lib/libc/gen/stringlist.c Modi

svn commit: r249802 - in head: include lib/libc/gen

2013-04-23 Thread Eitan Adler
Author: eadler Date: Tue Apr 23 13:03:03 2013 New Revision: 249802 URL: http://svnweb.freebsd.org/changeset/base/249802 Log: - sl_find does not modify 'name' - make the prototype of sl_find match NetBSD Reviewed by: jilles Approved by: cperciva (mentor) MFC After:3 days Modifie

svn commit: r249803 - head/sys/dev/uart

2013-04-23 Thread Eitan Adler
Author: eadler Date: Tue Apr 23 13:03:08 2013 New Revision: 249803 URL: http://svnweb.freebsd.org/changeset/base/249803 Log: Add support for Intel C600/X79 Series Chipset KT Controller. PR: kern/177072 Submitted by: Kurt Lidl Modified: head/sys/dev/uart/uart_bus_pci.c Modif

svn commit: r249804 - head/bin/cat

2013-04-23 Thread Eitan Adler
Author: eadler Date: Tue Apr 23 13:03:11 2013 New Revision: 249804 URL: http://svnweb.freebsd.org/changeset/base/249804 Log: - Add the __dead2 attribute since it is a function that never returns - Add an empty line in usage() according to style(9) PR: bin/177076 Submitted by:

svn commit: r249805 - head/usr.bin/touch

2013-04-23 Thread Eitan Adler
Author: eadler Date: Tue Apr 23 13:03:14 2013 New Revision: 249805 URL: http://svnweb.freebsd.org/changeset/base/249805 Log: Cleanups to touch.c - use const where appropriate - use static where appropriate - use explicit checks checks for error conditions Reviewed by

svn commit: r249806 - head/usr.bin/touch

2013-04-23 Thread Eitan Adler
Author: eadler Date: Tue Apr 23 13:03:17 2013 New Revision: 249806 URL: http://svnweb.freebsd.org/changeset/base/249806 Log: Constify where appropriate. Reported by: emaste Approved by: cperciva (mentor) MFC After:3 days Modified: head/usr.bin/touch/touch.c Modified: head/usr.

svn commit: r249807 - head

2013-04-23 Thread Bryan Drewery
Author: bdrewery (ports committer) Date: Tue Apr 23 13:07:58 2013 New Revision: 249807 URL: http://svnweb.freebsd.org/changeset/base/249807 Log: Fix installkernel requiring users/groups defined in CHECK_UIDS and CHECK_GIDS to exist since r152680. This is only needed for installworld. The doc

svn commit: r249808 - head/lib/libc/stdio

2013-04-23 Thread Ed Maste
Author: emaste Date: Tue Apr 23 13:33:13 2013 New Revision: 249808 URL: http://svnweb.freebsd.org/changeset/base/249808 Log: Renumber clauses to reduce diffs to other versions NetBSD, OpenBSD, and Android's Bionic all number the clauses 1 through 3, so follow suit to make comparison easie

svn commit: r249809 - head/sys/netinet

2013-04-23 Thread Andre Oppermann
Author: andre Date: Tue Apr 23 14:06:32 2013 New Revision: 249809 URL: http://svnweb.freebsd.org/changeset/base/249809 Log: When doing RFC3042 limited transmit on the first on second duplicate ACK make sure we actually have new data to send. This prevents us from sending unneccessary pure AC

svn commit: r249810 - head/lib/libc/stdio

2013-04-23 Thread Ed Maste
Author: emaste Date: Tue Apr 23 14:36:44 2013 New Revision: 249810 URL: http://svnweb.freebsd.org/changeset/base/249810 Log: Convert libc/stdio from K&R to ANSI C And add '__restrict' where it appeared in the header prototypes Modified: head/lib/libc/stdio/clrerr.c head/lib/libc/stdio/

Re: svn commit: r249800 - head/sys/dev/bwn

2013-04-23 Thread John Baldwin
On Tuesday, April 23, 2013 9:02:58 am Eitan Adler wrote: > Author: eadler > Date: Tue Apr 23 13:02:57 2013 > New Revision: 249800 > URL: http://svnweb.freebsd.org/changeset/base/249800 > > Log: > Avoid warning about uninitalized variable > > PR: kern/176712 > Submitted by: H

svn commit: r249811 - head/bin/dd

2013-04-23 Thread Konstantin Belousov
Author: kib Date: Tue Apr 23 16:08:24 2013 New Revision: 249811 URL: http://svnweb.freebsd.org/changeset/base/249811 Log: Literally follow POSIX: If the bs= expr operand is specified and no conversions other than sync, noerror, or notrunc are requested, the data returned from each input bl

Re: svn commit: r249800 - head/sys/dev/bwn

2013-04-23 Thread Adrian Chadd
... you know, even though it doesn't have an active maintainer, do you have test hardware, and why didn't you just bounce a patch to -wireless for review? We don't bite you know! adrian (Who yes, does have lots of bwn hardware. if you have a cardbus or expresscard slot you can have one.) On 2

svn commit: r249812 - head/sys/dev/bwn

2013-04-23 Thread Eitan Adler
Author: eadler Date: Tue Apr 23 16:33:25 2013 New Revision: 249812 URL: http://svnweb.freebsd.org/changeset/base/249812 Log: Revert r249800 as - it is incorrect: In the 'back' case you want to reuse the previous mbuf. - it was not reviewed by wireless@ Requested b

Re: svn commit: r249800 - head/sys/dev/bwn

2013-04-23 Thread Eitan Adler
On 23 April 2013 12:19, Adrian Chadd wrote: > ... you know, even though it doesn't have an active maintainer, do you > have test hardware, and why didn't you just bounce a patch to > -wireless for review? > > We don't bite you know! that you need to emphasize this does not comfort me. ;) reverte

svn commit: r249813 - head/usr.sbin/bhyve

2013-04-23 Thread Neel Natu
Author: neel Date: Tue Apr 23 16:40:39 2013 New Revision: 249813 URL: http://svnweb.freebsd.org/changeset/base/249813 Log: Teach the virtio block device to deal with direct as well as indirect descriptors. Prior to this change the device would only work with guests that chose to use indirect

Re: svn commit: r249800 - head/sys/dev/bwn

2013-04-23 Thread hiren panchasara
On Tue, Apr 23, 2013 at 9:34 AM, Eitan Adler wrote: > On 23 April 2013 12:19, Adrian Chadd wrote: >> ... you know, even though it doesn't have an active maintainer, do you >> have test hardware, and why didn't you just bounce a patch to >> -wireless for review? My bad. I proposed this change ini

svn commit: r249815 - head/sys/dev/ciss

2013-04-23 Thread Sean Bruno
Author: sbruno Date: Tue Apr 23 18:29:51 2013 New Revision: 249815 URL: http://svnweb.freebsd.org/changeset/base/249815 Log: Return a lun count of 1 and a lun id of 0 when CAM attempts a REPORT_LUNS command on a disk device. This quieseces some noise on the console that recently appeared.

svn commit: r249816 - in head/sys/dev: acpi_support bktr drm

2013-04-23 Thread Jung-uk Kim
Author: jkim Date: Tue Apr 23 18:30:33 2013 New Revision: 249816 URL: http://svnweb.freebsd.org/changeset/base/249816 Log: Fix white spaces. Modified: head/sys/dev/acpi_support/acpi_toshiba.c head/sys/dev/bktr/bktr_core.c head/sys/dev/drm/mach64_dma.c Modified: head/sys/dev/acpi_support/

svn commit: r249817 - head/contrib/llvm/lib/Transforms/Vectorize

2013-04-23 Thread Dimitry Andric
Author: dim Date: Tue Apr 23 18:58:39 2013 New Revision: 249817 URL: http://svnweb.freebsd.org/changeset/base/249817 Log: Pull in r180121 from upstream llvm trunk: LoopVectorizer: Fix 15830. When scalarizing and unrolling stores make sure that the order in which the elements are scala

svn commit: r249818 - head/usr.sbin/acpi/iasl

2013-04-23 Thread Jung-uk Kim
Author: jkim Date: Tue Apr 23 19:29:49 2013 New Revision: 249818 URL: http://svnweb.freebsd.org/changeset/base/249818 Log: Clean up generated files added in r233250. Modified: head/usr.sbin/acpi/iasl/Makefile Modified: head/usr.sbin/acpi/iasl/Makefile

svn commit: r249821 - head/usr.sbin/acpi/acpidb

2013-04-23 Thread Jung-uk Kim
Author: jkim Date: Tue Apr 23 19:42:45 2013 New Revision: 249821 URL: http://svnweb.freebsd.org/changeset/base/249821 Log: Fix declarations to slightly increase WARNS level. Modified: head/usr.sbin/acpi/acpidb/Makefile head/usr.sbin/acpi/acpidb/acpidb.c Modified: head/usr.sbin/acpi/acpidb/

Re: svn commit: r249790 - in head/sys/mips: include mips

2013-04-23 Thread Juli Mallett
On Tue, Apr 23, 2013 at 2:38 AM, Warner Losh wrote: > Modified: head/sys/mips/include/frame.h > == > --- head/sys/mips/include/frame.h Tue Apr 23 06:37:50 2013 > (r249789) > +++ head/sys/mips/include/frame.h

svn commit: r249823 - head/usr.sbin/bsdconfig/share/media

2013-04-23 Thread Devin Teske
Author: dteske Date: Tue Apr 23 22:55:59 2013 New Revision: 249823 URL: http://svnweb.freebsd.org/changeset/base/249823 Log: Add missing include. Modified: head/usr.sbin/bsdconfig/share/media/common.subr Modified: head/usr.sbin/bsdconfig/share/media/common.subr ==

svn commit: r249824 - head/share/misc

2013-04-23 Thread Eitan Adler
Author: eadler Date: Wed Apr 24 00:41:36 2013 New Revision: 249824 URL: http://svnweb.freebsd.org/changeset/base/249824 Log: iso639: Add Standard Moroccan Tamazight. See http://www.loc.gov/standards/iso639-2/php/code_changes.php Obtained from:DragonflyBSD (commit 2d64ea1d0ec1b

svn commit: r249825 - head/sys/conf

2013-04-23 Thread Rui Paulo
Author: rpaulo Date: Wed Apr 24 01:20:10 2013 New Revision: 249825 URL: http://svnweb.freebsd.org/changeset/base/249825 Log: wiigpio depends on options WII. Modified: head/sys/conf/files.powerpc Modified: head/sys/conf/files.powerpc ===

svn commit: r249826 - head/sys/powerpc/wii

2013-04-23 Thread Rui Paulo
Author: rpaulo Date: Wed Apr 24 01:36:35 2013 New Revision: 249826 URL: http://svnweb.freebsd.org/changeset/base/249826 Log: Handle the IRQ for the reset button. Modified: head/sys/powerpc/wii/wii_bus.c head/sys/powerpc/wii/wii_pic.c head/sys/powerpc/wii/wii_picreg.h Modified: head/sys/p