svn commit: r281817 - head/sys/dev/mii

2015-04-21 Thread Gleb Smirnoff
Author: glebius Date: Tue Apr 21 06:59:40 2015 New Revision: 281817 URL: https://svnweb.freebsd.org/changeset/base/281817 Log: Since xmphy doesn't call mii_phy_setmedia(), there is no reason to set ifm_data. Sponsored by: Nginx, Inc. Modified: head/sys/dev/mii/xmphy.c Modified:

Re: svn commit: r281787 - head/sbin/dmesg

2015-04-21 Thread Bruce Evans
On Mon, 20 Apr 2015, Eric van Gyzen wrote: Log: dmesg: accommodate message buffer growth between the sysctl calls Allocate 12.5% extra space to avoid ENOMEM when the message buffer is growing steadily. This is bogus allocation. The message buffer has a small fixed size so that it fits in

svn commit: r281815 - head/sys/dev/usb/video

2015-04-21 Thread Hans Petter Selasky
Author: hselasky Date: Tue Apr 21 06:11:47 2015 New Revision: 281815 URL: https://svnweb.freebsd.org/changeset/base/281815 Log: Don't print uninitialized variables. CID: 1295242 Modified: head/sys/dev/usb/video/udl.c Modified: head/sys/dev/usb/video/udl.c

svn commit: r281816 - head/sys/dev/mii

2015-04-21 Thread Gleb Smirnoff
Author: glebius Date: Tue Apr 21 06:46:11 2015 New Revision: 281816 URL: https://svnweb.freebsd.org/changeset/base/281816 Log: Since brgphy doesn't call mii_phy_setmedia(), there is no reason to set any value to ifm_data. If brgphy ever to call mii_phy_setmedia(), then the value of

Re: svn commit: r281721 - head/sys/sys

2015-04-21 Thread Bruce Evans
On Tue, 21 Apr 2015, David Chisnall wrote: On 20 Apr 2015, at 17:19, Bruce Evans b...@optusnet.com.au wrote: Enums should never be used in ABIs, since their size can be anything large enough. The rules for the size of enums also differ between C and C++, though clang (and, I think, gcc)

svn commit: r281828 - head/sys/dev/iicbus

2015-04-21 Thread Jason A. Harmening
Author: jah Date: Tue Apr 21 11:50:31 2015 New Revision: 281828 URL: https://svnweb.freebsd.org/changeset/base/281828 Log: Fix numerous issues in iic(4) and iicbus(4): --Allow multiple open iic fds by storing addressing state in cdevpriv --Fix, as much as possible, the baked-in race

Re: svn commit: r281721 - head/sys/sys

2015-04-21 Thread David Chisnall
On 20 Apr 2015, at 17:19, Bruce Evans b...@optusnet.com.au wrote: Enums should never be used in ABIs, since their size can be anything large enough. The rules for the size of enums also differ between C and C++, though clang (and, I think, gcc) support an attribute for specifying the enum

Re: svn commit: r281721 - head/sys/sys

2015-04-21 Thread Konstantin Belousov
On Tue, Apr 21, 2015 at 07:32:30PM +1000, Bruce Evans wrote: On Tue, 21 Apr 2015, David Chisnall wrote: On 20 Apr 2015, at 17:19, Bruce Evans b...@optusnet.com.au wrote: Enums should never be used in ABIs, since their size can be anything large enough. The rules for the size of

svn commit: r281823 - head

2015-04-21 Thread Garrett Cooper
Author: ngie Date: Tue Apr 21 10:17:25 2015 New Revision: 281823 URL: https://svnweb.freebsd.org/changeset/base/281823 Log: Serialize all of _kerberos5_bootstrap_tools to avoid build failures involving make bootstrap-tools On the plus side, this also greatly reduces complexity MFC

svn commit: r281819 - head/sys/dev/mii

2015-04-21 Thread Gleb Smirnoff
Author: glebius Date: Tue Apr 21 08:54:14 2015 New Revision: 281819 URL: https://svnweb.freebsd.org/changeset/base/281819 Log: The comment on BMCR data in if_media entry is wrong. The ifm_data stores the index array, not a value for BMCR register. In case of IFM_10_T there could be either

svn commit: r281820 - head/usr.sbin/ctld

2015-04-21 Thread Edward Tomasz Napierala
Author: trasz Date: Tue Apr 21 09:11:28 2015 New Revision: 281820 URL: https://svnweb.freebsd.org/changeset/base/281820 Log: Add hint about volmode=dev to ctl.conf(5). Differential Revision:https://reviews.freebsd.org/D2328 Reviewed by: allanjude@, bcr@ MFC after:1 month

svn commit: r281821 - head/sys/dev/mii

2015-04-21 Thread Gleb Smirnoff
Author: glebius Date: Tue Apr 21 09:39:48 2015 New Revision: 281821 URL: https://svnweb.freebsd.org/changeset/base/281821 Log: Instead of storing mii_media_table array index in ifm_data, determine it in mii_phy_setmedia() functionally. Sponsored by: Nginx, Inc. Modified:

svn commit: r281832 - head/release/tools

2015-04-21 Thread Glen Barber
Author: gjb Date: Tue Apr 21 14:48:38 2015 New Revision: 281832 URL: https://svnweb.freebsd.org/changeset/base/281832 Log: Revert r281809, which did more harm than good, and apply a more proper fix when attempting to locate the /boot files. Sponsored by: The FreeBSD Foundation

svn commit: r281829 - in head/sys: compat/linux kern sys

2015-04-21 Thread Edward Tomasz Napierala
Author: trasz Date: Tue Apr 21 13:55:24 2015 New Revision: 281829 URL: https://svnweb.freebsd.org/changeset/base/281829 Log: Modify kern___getcwd() to take max pathlen limit as an additional argument. This will be used for the Linux emulation layer - for Linux, PATH_MAX is 4096 and not

Re: svn commit: r281721 - head/sys/sys

2015-04-21 Thread Bruce Evans
On Tue, 21 Apr 2015, Konstantin Belousov wrote: On Tue, Apr 21, 2015 at 07:32:30PM +1000, Bruce Evans wrote: On Tue, 21 Apr 2015, David Chisnall wrote: On 20 Apr 2015, at 17:19, Bruce Evans b...@optusnet.com.au wrote: Enums should never be used in ABIs, since their size can be anything

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

2015-04-21 Thread Hiren Panchasara
On 04/21/15 at 08:24P, Hiren Panchasara wrote: Author: hiren Date: Tue Apr 21 20:24:15 2015 New Revision: 281838 URL: https://svnweb.freebsd.org/changeset/base/281838 Log: For igb(4), when we are doing multiqueue, we are all setup to have full 32bit RSS hash from the card. We do not

svn commit: r281839 - head/sys/netinet

2015-04-21 Thread Gleb Smirnoff
Author: glebius Date: Tue Apr 21 20:25:12 2015 New Revision: 281839 URL: https://svnweb.freebsd.org/changeset/base/281839 Log: Improve carp(4) locking: - Use the carp_sx to serialize not only CARP ioctls, but also carp_attach() and carp_detach(). - Use cif_mtx to lock only access to

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

2015-04-21 Thread Hiren Panchasara
Author: hiren Date: Tue Apr 21 20:24:15 2015 New Revision: 281838 URL: https://svnweb.freebsd.org/changeset/base/281838 Log: For igb(4), when we are doing multiqueue, we are all setup to have full 32bit RSS hash from the card. We do not need to hide that under ifdef RSS and should expose

svn commit: r281845 - in head: lib/libc/stdio libexec/rtld-elf sys/kern sys/sys

2015-04-21 Thread Craig Rodrigues
Author: rodrigc Date: Wed Apr 22 01:54:25 2015 New Revision: 281845 URL: https://svnweb.freebsd.org/changeset/base/281845 Log: Support file verification in MAC. * Add VCREAT flag to indicate when a new file is being created * Add VVERIFY to indicate verification is required * Both

svn commit: r281844 - head/sys/sys

2015-04-21 Thread Craig Rodrigues
Author: rodrigc Date: Wed Apr 22 01:35:29 2015 New Revision: 281844 URL: https://svnweb.freebsd.org/changeset/base/281844 Log: Quiet compiler warnings in mbuf.h * Mark unused arguments with __unused * Move inline before the return type (and use __inline to keep the file consistent

svn commit: r281840 - head/sys/cam/scsi

2015-04-21 Thread Xin LI
Author: delphij Date: Tue Apr 21 22:55:52 2015 New Revision: 281840 URL: https://svnweb.freebsd.org/changeset/base/281840 Log: Extend DA_Q_NO_RC16 to MXUB3* devices. PR: kern/198647 MFC after:2 weeks Modified: head/sys/cam/scsi/scsi_da.c Modified:

svn commit: r281825 - head/sys/kern

2015-04-21 Thread Alexander Motin
Author: mav Date: Tue Apr 21 10:55:53 2015 New Revision: 281825 URL: https://svnweb.freebsd.org/changeset/base/281825 Log: Rewrite physio() to not allocate pbufs for unmapped I/O. pbufs is a limited resource, and their allocator is not SMP-scalable. So instead of always allocating pbuf

svn commit: r281824 - in head/sys: conf net

2015-04-21 Thread Gleb Smirnoff
Author: glebius Date: Tue Apr 21 10:35:23 2015 New Revision: 281824 URL: https://svnweb.freebsd.org/changeset/base/281824 Log: Make IFMEDIA_DEBUG a kernel option. Sponsored by: Nginx, Inc. Modified: head/sys/conf/NOTES head/sys/conf/options head/sys/net/if_media.c Modified: