svn commit: r261151 - head/sys/dev/virtio/network

2014-01-24 Thread Bryan Venteicher
Author: bryanv Date: Sat Jan 25 07:35:09 2014 New Revision: 261151 URL: http://svnweb.freebsd.org/changeset/base/261151 Log: Also include the mbuf's csum_flags in an assert message Modified: head/sys/dev/virtio/network/if_vtnet.c Modified: head/sys/dev/virtio/network/if_vtnet.c =

Re: svn commit: r261150 - head/sys/dev/virtio/network

2014-01-24 Thread Bryan Venteicher
On Sat, Jan 25, 2014 at 1:24 AM, Alexey Dokuchaev wrote: > On Sat, Jan 25, 2014 at 07:13:47AM +, Bryan Venteicher wrote: > > New Revision: 261150 > > URL: http://svnweb.freebsd.org/changeset/base/261150 > > > > Log: > > Read and write the MAC address in the config space byte by byte > > Com

Re: svn commit: r261150 - head/sys/dev/virtio/network

2014-01-24 Thread Alexey Dokuchaev
On Sat, Jan 25, 2014 at 07:13:47AM +, Bryan Venteicher wrote: > New Revision: 261150 > URL: http://svnweb.freebsd.org/changeset/base/261150 > > Log: > Read and write the MAC address in the config space byte by byte Commit log looks incomplete: it does not tell what is the problem and how (w

svn commit: r261150 - head/sys/dev/virtio/network

2014-01-24 Thread Bryan Venteicher
Author: bryanv Date: Sat Jan 25 07:13:47 2014 New Revision: 261150 URL: http://svnweb.freebsd.org/changeset/base/261150 Log: Read and write the MAC address in the config space byte by byte Modified: head/sys/dev/virtio/network/if_vtnet.c Modified: head/sys/dev/virtio/network/if_vtnet.c =

svn commit: r261149 - head/sys/dev/virtio/scsi

2014-01-24 Thread Bryan Venteicher
Author: bryanv Date: Sat Jan 25 07:01:51 2014 New Revision: 261149 URL: http://svnweb.freebsd.org/changeset/base/261149 Log: Read each field of the configuration individually In the forthcoming VirtIO spec, the device configuration is always in little endian instead of guest edian. This i

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

2014-01-24 Thread Peter Grehan
Author: grehan Date: Sat Jan 25 06:58:41 2014 New Revision: 261148 URL: http://svnweb.freebsd.org/changeset/base/261148 Log: Change RWX to XWR in comments to match intent and bit patterns in discussion of valid EPT pte protections. Discussed with: neel MFC after:3 days Modifi

svn commit: r261147 - head/sys/dev/virtio/scsi

2014-01-24 Thread Bryan Venteicher
Author: bryanv Date: Sat Jan 25 06:54:04 2014 New Revision: 261147 URL: http://svnweb.freebsd.org/changeset/base/261147 Log: Remove spaces before tabs in the function prototype list Modified: head/sys/dev/virtio/scsi/virtio_scsi.c Modified: head/sys/dev/virtio/scsi/virtio_scsi.c

Re: svn commit: r261118 - head/sys/dev/usb/wlan

2014-01-24 Thread Adrian Chadd
oooh. Sorry, I shouldn't read code whilst medicated. I see now. Yes, memmove() is fine, you're just removing an invalid use of it. Sorry! -a ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe,

svn commit: r261146 - head/usr.sbin/cron/cron

2014-01-24 Thread Andrey A. Chernov
Author: ache Date: Sat Jan 25 02:16:09 2014 New Revision: 261146 URL: http://svnweb.freebsd.org/changeset/base/261146 Log: Bad timespec_subtract() calculations produce negative tv_nsec on i386 which cause EINVAL returned from nanosleep() which cause loop in cron_sleep() and making all cron j

svn commit: r261145 - stable/10/sys/cam

2014-01-24 Thread Alexander Motin
Author: mav Date: Sat Jan 25 01:58:15 2014 New Revision: 261145 URL: http://svnweb.freebsd.org/changeset/base/261145 Log: MFC r260549: Move xpt_run_devq() call before request completion callback where it was originally. I am not sure why exactly have I moved it during one of many refact

svn commit: r261144 - stable/10/usr.sbin/pkg

2014-01-24 Thread Baptiste Daroussin
Author: bapt Date: Sat Jan 25 01:08:35 2014 New Revision: 261144 URL: http://svnweb.freebsd.org/changeset/base/261144 Log: Implicit include of sys/queue.h instead of relying on gelf.h/libelf.h to bring it Newer version of gelf.h and libelf.h does not include sys/queue.h anymore Submitted

svn commit: r261143 - stable/10/etc/defaults

2014-01-24 Thread Baptiste Daroussin
Author: bapt Date: Sat Jan 25 01:06:20 2014 New Revision: 261143 URL: http://svnweb.freebsd.org/changeset/base/261143 Log: MFH: r261027 Remove pkg_* related info from periodic.conf Reported by Robin Brocks Modified: stable/10/etc/defaults/periodic.conf Directory Properties: sta

svn commit: r261142 - head/etc

2014-01-24 Thread Glen Barber
Author: gjb Date: Sat Jan 25 00:03:33 2014 New Revision: 261142 URL: http://svnweb.freebsd.org/changeset/base/261142 Log: Temporarily turn off the services.db generation during distributeworld. I'll work on an update to test for endianness-compatibility. Submitted by: many Sponsored by:

svn commit: r261141 - head/bin/sh/tests/parser

2014-01-24 Thread Jilles Tjoelker
Author: jilles Date: Fri Jan 24 23:00:35 2014 New Revision: 261141 URL: http://svnweb.freebsd.org/changeset/base/261141 Log: sh: Do not depend on parse/execute split in new alias test. Modified: head/bin/sh/tests/parser/alias11.0 Modified: head/bin/sh/tests/parser/alias11.0 =

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

2014-01-24 Thread Bryan Drewery
Author: bdrewery Date: Fri Jan 24 22:37:35 2014 New Revision: 261140 URL: http://svnweb.freebsd.org/changeset/base/261140 Log: Add MLINK for fdclosedir.3 to directory.3 and sort fdopendir(3) entry. Reported by: bde Approved by: bapt (mentor) Modified: head/lib/libc/gen/Makefile.inc

Re: svn commit: r261031 - in head: . etc usr.sbin/etcupdate usr.sbin/mergemaster

2014-01-24 Thread John Baldwin
On Thursday, January 23, 2014 5:48:34 pm Peter Wemm wrote: > On 1/23/14, 2:12 PM, John Baldwin wrote: > > On Thursday, January 23, 2014 4:22:56 pm Bryan Drewery wrote: > >> On Thu, Jan 23, 2014 at 03:03:42PM -0500, John Baldwin wrote: > >>> On Thursday, January 23, 2014 2:48:41 pm Bryan Drewery wro

svn commit: r261138 - head/sys/kern

2014-01-24 Thread Robert Millan
Author: rmh Date: Fri Jan 24 21:05:07 2014 New Revision: 261138 URL: http://svnweb.freebsd.org/changeset/base/261138 Log: Accept O_CLOEXEC in shm_open(). Reviewed by: jilles, jhb MFC after:1 week Modified: head/sys/kern/uipc_shm.c Modified: head/sys/kern/uipc_shm.c ==

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

2014-01-24 Thread Andrew Turner
Author: andrew Date: Fri Jan 24 20:51:56 2014 New Revision: 261137 URL: http://svnweb.freebsd.org/changeset/base/261137 Log: Correct the alignment of sp through functions that use UNWINDSVCFRAME. We were incorrectly adding the trap frame padding to the stack pointer after reading it's value

svn commit: r261136 - head/sys/fs/ext2fs

2014-01-24 Thread Pedro F. Giffuni
Author: pfg Date: Fri Jan 24 20:26:00 2014 New Revision: 261136 URL: http://svnweb.freebsd.org/changeset/base/261136 Log: ext2fs: Re-enable reallocblk. The major corruption issues affecting this code have been fixed a while ago. MFC after:1 week Modified: head/sys/fs/ext2fs/ex

svn commit: r261135 - head/sys/vm

2014-01-24 Thread Alan Cox
Author: alc Date: Fri Jan 24 19:08:42 2014 New Revision: 261135 URL: http://svnweb.freebsd.org/changeset/base/261135 Log: In an effort to diagnose possible corruption of struct vm_page on some sparc64 machines make the page queue assert in vm_page_dequeue() more precise. While I'm here swit

svn commit: r261134 - in head/sys/dev/usb: . quirk

2014-01-24 Thread Hans Petter Selasky
Author: hselasky Date: Fri Jan 24 18:52:04 2014 New Revision: 261134 URL: http://svnweb.freebsd.org/changeset/base/261134 Log: Add more USB quirks. Submitted by: Gerrit Kuehn MFC after:1 week Modified: head/sys/dev/usb/quirk/usb_quirk.c head/sys/dev/usb/usbdevs Modified: head/s

svn commit: r261133 - in head/tests: . sys

2014-01-24 Thread Alan Somers
Author: asomers Date: Fri Jan 24 18:04:16 2014 New Revision: 261133 URL: http://svnweb.freebsd.org/changeset/base/261133 Log: Fix the Makefiles so that the tests I submitted in r261081 will actually get built. Sponsored by: Spectra Logic MFC after:13 days X-MFC-With: r261081 Mo

svn commit: r261132 - head

2014-01-24 Thread Alan Somers
Author: asomers Date: Fri Jan 24 18:01:46 2014 New Revision: 261132 URL: http://svnweb.freebsd.org/changeset/base/261132 Log: Fix the build so -DNO_TESTS is passed in various phases that don't require tests in order to build or install. Crucially, don't try to install tests during the lib32

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

2014-01-24 Thread Warner Losh
Author: imp Date: Fri Jan 24 16:58:21 2014 New Revision: 261129 URL: http://svnweb.freebsd.org/changeset/base/261129 Log: Fix comment to match option Modified: head/sys/arm/conf/HL200 Modified: head/sys/arm/conf/HL200 ==

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

2014-01-24 Thread Warner Losh
Author: imp Date: Fri Jan 24 16:57:42 2014 New Revision: 261128 URL: http://svnweb.freebsd.org/changeset/base/261128 Log: Fix comment to match option Modified: head/sys/arm/conf/BWCT head/sys/arm/conf/QILA9G20 head/sys/arm/conf/SN9G45 Modified: head/sys/arm/conf/BWCT

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

2014-01-24 Thread Warner Losh
Author: imp Date: Fri Jan 24 17:00:27 2014 New Revision: 261131 URL: http://svnweb.freebsd.org/changeset/base/261131 Log: Remove obsolete option Modified: head/sys/arm/conf/QILA9G20 head/sys/arm/conf/SAM9G20EK head/sys/arm/conf/SAM9X25EK head/sys/arm/conf/SN9G45 Modified: head/sys/arm/

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

2014-01-24 Thread Warner Losh
Author: imp Date: Fri Jan 24 16:58:50 2014 New Revision: 261130 URL: http://svnweb.freebsd.org/changeset/base/261130 Log: Fix comment to match option Modified: head/sys/arm/conf/SAM9X25EK Modified: head/sys/arm/conf/SAM9X25EK ==

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

2014-01-24 Thread Warner Losh
Author: imp Date: Fri Jan 24 16:56:27 2014 New Revision: 261127 URL: http://svnweb.freebsd.org/changeset/base/261127 Log: Add NAND support Fix comment This board has 4 wire support Modified: head/sys/arm/conf/SAM9G20EK Modified: head/sys/arm/conf/SAM9G20EK ===

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

2014-01-24 Thread Warner Losh
Author: imp Date: Fri Jan 24 16:50:15 2014 New Revision: 261126 URL: http://svnweb.freebsd.org/changeset/base/261126 Log: Remove redundant declaration for uart devclass. Commint some unrelated, but harmless, FDT ifdefs. Modified: head/sys/arm/at91/uart_bus_at91usart.c head/sys/arm/at91/ua

svn commit: r261125 - in head/bin/sh: . tests/builtins

2014-01-24 Thread Jilles Tjoelker
Author: jilles Date: Fri Jan 24 16:40:51 2014 New Revision: 261125 URL: http://svnweb.freebsd.org/changeset/base/261125 Log: sh: Solve the alias recursion problem in a less hackish way. Add the space to avoid alias recursion when the alias is expanded, not when it is added. As a resu

svn commit: r261124 - head/sys/dev/usb/wlan

2014-01-24 Thread Kevin Lo
Author: kevlo Date: Fri Jan 24 15:34:22 2014 New Revision: 261124 URL: http://svnweb.freebsd.org/changeset/base/261124 Log: Fix comment. Modified: head/sys/dev/usb/wlan/if_run.c Modified: head/sys/dev/usb/wlan/if_run.c =

Re: svn commit: r261115 - stable/10/sys/dev/usb/net

2014-01-24 Thread Nick Hibma
It’s not just the GTM661 that supports uhso, the GTM382 does so to I think. Perhaps you want to move them all in that case? Or add them to both and let devd decide? Nick On 24 Jan 2014, at 09:22, Hans Petter Selasky wrote: > Author: hselasky > Date: Fri Jan 24 08:22:29 2014 > New Revision: 26

Re: svn commit: r261118 - head/sys/dev/usb/wlan

2014-01-24 Thread Adrian Chadd
On 24 January 2014 07:16, Hans Petter Selasky wrote: > On 01/24/14 16:11, Adrian Chadd wrote: >> >> ... How's that matter? >> >> Adrian > > > Ok, read slowly: > > uint32_t x = 255U; > uint8_t y; > > On Big endian: > > memcpy(&y, &x, 1); > > y == 0; > > On Little endian: > > memcpy(&y, &x, 1); > >

Re: svn commit: r261118 - head/sys/dev/usb/wlan

2014-01-24 Thread Hans Petter Selasky
On 01/24/14 16:11, Adrian Chadd wrote: ... How's that matter? Adrian Ok, read slowly: uint32_t x = 255U; uint8_t y; On Big endian: memcpy(&y, &x, 1); y == 0; On Little endian: memcpy(&y, &x, 1); y == 255; If I'm not mistaken. The code is wrong because result depends on endianness :-)

Re: svn commit: r261118 - head/sys/dev/usb/wlan

2014-01-24 Thread Adrian Chadd
... How's that matter? Adrian On Jan 24, 2014 9:33 AM, "Hans Petter Selasky" wrote: > On 01/24/14 15:31, Adrian Chadd wrote: > >> Memmove() isn't portable? To what? >> >> > Hi, > > memmove() doesn't know about the byte order when you copy inside an > integer. s/memmove/code/ is not portable. > >

svn commit: r261122 - head/cddl/contrib/opensolaris/lib/libdtrace/common

2014-01-24 Thread Andriy Gapon
Author: avg Date: Fri Jan 24 15:04:02 2014 New Revision: 261122 URL: http://svnweb.freebsd.org/changeset/base/261122 Log: dtrace: remove unexplained 16MB limitation from dt_alloc/dt_zalloc The limitation was introduced in r178556 without any note or comment. It seems pretty artificial and

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

2014-01-24 Thread Hans Petter Selasky
Author: hselasky Date: Fri Jan 24 15:05:28 2014 New Revision: 261123 URL: http://svnweb.freebsd.org/changeset/base/261123 Log: Hide now harmless warning from dmesg. MFC after:1 week Modified: head/sys/dev/usb/usb_dev.c Modified: head/sys/dev/usb/usb_dev.c ===

svn commit: r261121 - head/bin/sh/tests/parser

2014-01-24 Thread Jilles Tjoelker
Author: jilles Date: Fri Jan 24 15:03:56 2014 New Revision: 261121 URL: http://svnweb.freebsd.org/changeset/base/261121 Log: sh: Add test for nested alias. Added: head/bin/sh/tests/parser/alias11.0 (contents, props changed) Modified: head/bin/sh/tests/parser/Makefile Modified: head/bin/s

Re: svn commit: r261118 - head/sys/dev/usb/wlan

2014-01-24 Thread Hans Petter Selasky
On 01/24/14 15:31, Adrian Chadd wrote: Memmove() isn't portable? To what? Hi, memmove() doesn't know about the byte order when you copy inside an integer. s/memmove/code/ is not portable. --HPS ___ svn-src-all@freebsd.org mailing list http://lis

Re: svn commit: r261118 - head/sys/dev/usb/wlan

2014-01-24 Thread Adrian Chadd
Memmove() isn't portable? To what? Adrian On Jan 24, 2014 4:17 AM, "Kevin Lo" wrote: > Author: kevlo > Date: Fri Jan 24 09:17:29 2014 > New Revision: 261118 > URL: http://svnweb.freebsd.org/changeset/base/261118 > > Log: > Get rid of memmove(). It's not portable. > > Tested on RT3071, RT357

svn commit: r261120 - head/sys/fs/ext2fs

2014-01-24 Thread Pedro F. Giffuni
Author: pfg Date: Fri Jan 24 13:51:38 2014 New Revision: 261120 URL: http://svnweb.freebsd.org/changeset/base/261120 Log: ext2fs: fix a bug in dirindex and re-enable. The IN_* flags should be set in i_flag instead of corrupting i_flags [1]. Re-enable HTree dirindex as the last series

svn commit: r261118 - head/sys/dev/usb/wlan

2014-01-24 Thread Kevin Lo
Author: kevlo Date: Fri Jan 24 09:17:29 2014 New Revision: 261118 URL: http://svnweb.freebsd.org/changeset/base/261118 Log: Get rid of memmove(). It's not portable. Tested on RT3071, RT3573, RT3570, RT3572, and RT5572. Reviewed by: hselasky Modified: head/sys/dev/usb/wlan/if_run.c

svn commit: r261117 - head/sys/netpfil/ipfw

2014-01-24 Thread Alexander V. Chernikov
Author: melifaro Date: Fri Jan 24 09:13:30 2014 New Revision: 261117 URL: http://svnweb.freebsd.org/changeset/base/261117 Log: Reorder struct ip_fw_chain: * move rarely-used fields down * move uh_lock to different cacheline * remove some usused fields Sponsored by: Yandex LLC Modifie

svn commit: r261116 - stable/10/sys/dev/usb

2014-01-24 Thread Hans Petter Selasky
Author: hselasky Date: Fri Jan 24 08:27:19 2014 New Revision: 261116 URL: http://svnweb.freebsd.org/changeset/base/261116 Log: MFC r257132: Add id for GTM661W. This also fixes kernel build breakage since last revision. Modified: stable/10/sys/dev/usb/usbdevs Directory Properties: stable

svn commit: r261115 - stable/10/sys/dev/usb/net

2014-01-24 Thread Hans Petter Selasky
Author: hselasky Date: Fri Jan 24 08:22:29 2014 New Revision: 261115 URL: http://svnweb.freebsd.org/changeset/base/261115 Log: MFC r260534: Move USB ID from u3g driver to uhso driver. Modified: stable/10/sys/dev/usb/net/uhso.c Directory Properties: stable/10/ (props changed) Modified:

svn commit: r261114 - stable/9/sys/dev/usb/net

2014-01-24 Thread Hans Petter Selasky
Author: hselasky Date: Fri Jan 24 08:19:50 2014 New Revision: 261114 URL: http://svnweb.freebsd.org/changeset/base/261114 Log: MFC r260534: Move USB ID from u3g driver to uhso driver. Modified: stable/9/sys/dev/usb/net/uhso.c Directory Properties: stable/9/sys/ (props changed) stable/

svn commit: r261113 - stable/8/sys/dev/usb/controller

2014-01-24 Thread Hans Petter Selasky
Author: hselasky Date: Fri Jan 24 08:17:47 2014 New Revision: 261113 URL: http://svnweb.freebsd.org/changeset/base/261113 Log: MFC r258545: Comply to the XHCI specification. Certain input context fields should always be zero. Modified: stable/8/sys/dev/usb/controller/xhci.c Directory Prop

svn commit: r261112 - stable/9/sys/dev/usb/controller

2014-01-24 Thread Hans Petter Selasky
Author: hselasky Date: Fri Jan 24 08:16:19 2014 New Revision: 261112 URL: http://svnweb.freebsd.org/changeset/base/261112 Log: MFC r258545: Comply to the XHCI specification. Certain input context fields should always be zero. Modified: stable/9/sys/dev/usb/controller/xhci.c Directory Prop

svn commit: r261111 - stable/10/sys/dev/usb/controller

2014-01-24 Thread Hans Petter Selasky
Author: hselasky Date: Fri Jan 24 08:15:21 2014 New Revision: 26 URL: http://svnweb.freebsd.org/changeset/base/26 Log: MFC r258545: Comply to the XHCI specification. Certain input context fields should always be zero. Modified: stable/10/sys/dev/usb/controller/xhci.c Directory Pro

svn commit: r261110 - stable/10/sys/dev/usb

2014-01-24 Thread Hans Petter Selasky
Author: hselasky Date: Fri Jan 24 08:10:08 2014 New Revision: 261110 URL: http://svnweb.freebsd.org/changeset/base/261110 Log: MFC r260808 and r260814: - Close a minor deadlock. - Fix a possible memory use after free and leak situation associated with USB device detach when using character

svn commit: r261109 - stable/9/sys/dev/usb

2014-01-24 Thread Hans Petter Selasky
Author: hselasky Date: Fri Jan 24 08:08:28 2014 New Revision: 261109 URL: http://svnweb.freebsd.org/changeset/base/261109 Log: MFC r260808 and r260814: - Close a minor deadlock. - Fix a possible memory use after free and leak situation associated with USB device detach when using character

svn commit: r261108 - stable/8/sys/dev/usb

2014-01-24 Thread Hans Petter Selasky
Author: hselasky Date: Fri Jan 24 08:06:14 2014 New Revision: 261108 URL: http://svnweb.freebsd.org/changeset/base/261108 Log: MFC r260808 and r260814: - Close a minor deadlock. - Fix a possible memory use after free and leak situation associated with USB device detach when using character

svn commit: r261107 - in stable/8/sys/dev/usb: . controller

2014-01-24 Thread Hans Petter Selasky
Author: hselasky Date: Fri Jan 24 08:01:42 2014 New Revision: 261107 URL: http://svnweb.freebsd.org/changeset/base/261107 Log: MFC r260588 and r260589: - Separate I/O errors from reception of STALL PID. - Implement better error recovery for Transaction Translators, TTs, found in High Speed