aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* DIRDEPS_BUILD: Update dependencies.Bryan Drewery2016-03-218-0/+28
| | | | | | | Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=297154
* If the dhcp server provided an interface-mtu option, transcribe the valueIan Lepore2016-03-212-0/+11
| | | | | | | | | | | to the boot.netif.mtu env var, which will be picked up by pre-existing code in nfs_mountroot() and used to configure the interface accordingly. This should bring the same functionality when the bootp/dhcp work is done by loader(8) as r297150 does for the in-kernel BOOTP case. Notes: svn path=/head/; revision=297151
* If the dhcp server delivers an interface-mtu option, parse it and storeIan Lepore2016-03-214-0/+11
| | | | | | | | | | | the value in a new global intf_mtu for use by the application. These changes were inspired by the patch provided by Robert Blayzor in PR 187094, and will allow loader(8) to propagate the value to the kernel along with the other nfs_diskless parms delivered via environment vars. Notes: svn path=/head/; revision=297150
* If the dhcp server provides an interface-mtu option, parse the value andIan Lepore2016-03-211-1/+21
| | | | | | | | | | | | | set that mtu on the interface. These changes are based on the patch submitted by Robert Blayzor in the PR, but I changed things around a bit, so the blame for any mistakes belongs to me. PR: 187094 Notes: svn path=/head/; revision=297149
* Actually garbage collect the unused code, as mentioned in r297147, whichIan Lepore2016-03-211-57/+0
| | | | | | | this change should have been part of. Notes: svn path=/head/; revision=297148
* Garbage collect the bswap routines from libstand. The declaration wasIan Lepore2016-03-212-6/+1
| | | | | | | | | | | | | wrapped in an i386 ifdef with a comment questioning their usefulness even there. It turns out they aren't referenced anywhere, but their presence prevents using sys/endian.h in libstand code. These days, sys/endian.h provides much better support for such things, using compiler builtins and inline functions (and creating connections between libstand code and header files from sys/ would not be breaking new ground). Notes: svn path=/head/; revision=297147
* Unquote NANO_PACKAGE_LIST so that it actually can be a list and soPoul-Henning Kamp2016-03-211-1/+1
| | | | | | | that the default value of "*" works. Notes: svn path=/head/; revision=297146
* o "avaliable" -> "available".Maxim Konovalov2016-03-211-1/+1
| | | | | | | | PR: 208141 Submitted by: Tyler Littlefield Notes: svn path=/head/; revision=297145
* hyperv/vmbus: Implement bus_child_pnpinfo_str methodSepherosa Ziehau2016-03-211-0/+18
| | | | | | | | | Submitted by: Jun Su <junsu microsoft com> Sponsored by: Microsoft OSTC Differential Revision: https://reviews.freebsd.org/D5669 Notes: svn path=/head/; revision=297143
* hyperv: Factor out snprinf_hv_guid()Sepherosa Ziehau2016-03-213-38/+19
| | | | | | | | | | | Submitted by: Ju Sun <junsu microsoft com> Reviewed by: Dexuan Cui <decui microsoft com>, sephe MFC after: 1 week Sponsored by: Microsoft OSTC Differential Revision: https://reviews.freebsd.org/D5651 Notes: svn path=/head/; revision=297142
* Lock pshared_lock shared around fork, to ensure that the COW snapshotKonstantin Belousov2016-03-214-2/+22
| | | | | | | | | | of the pshared hash in child is consistent and can be safely used. Reported and tested by: "Oleg V. Nauman" <oleg@opentransfer.com> Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=297141
* Provide more information on failing checks in mutex_assert_is_owned()Konstantin Belousov2016-03-211-4/+16
| | | | | | | | | | and mutex_assert_not_owned(). snprintf() use in this context should be safe. Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=297140
* From libthr, remove special and strange code to set up session andKonstantin Belousov2016-03-212-22/+2
| | | | | | | | | | | | | | | control terminal, activated when running with pid 1. It is application duty to handle this, and unsuspecting init replacements which are linked with libthr would be broken by this. The pre-resolving of getpid() is restored, just in case. Reviewed by: jilles Sponsored by: The FreeBSD Foundation MFC after: 2 weeks Notes: svn path=/head/; revision=297139
* Implement process-shared spinlocks.Konstantin Belousov2016-03-211-48/+59
| | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=297138
* Fix typo.Konstantin Belousov2016-03-211-1/+1
| | | | | | | MFC after: 3 days Notes: svn path=/head/; revision=297137
* Remove from NOTES - it's built as a module now.Adrian Chadd2016-03-211-3/+0
| | | | | | | Noticed by: sephe Notes: svn path=/head/; revision=297136
* Use the internal references for ADC, this fixes the ADC readings on uBMC.Luiz Otavio O Souza2016-03-211-9/+5
| | | | | | | | | Tested on BBB and uBMC. Sponsored by: Rubicon Communications (Netgate) Notes: svn path=/head/; revision=297134
* Enable multicast addresses on vlan ports. Fixes the reception of broadcastLuiz Otavio O Souza2016-03-212-7/+11
| | | | | | | | | packets on vlan aware mode. Sponsored by: Rubicon Communications (Netgate) Notes: svn path=/head/; revision=297132
* Remove urtwn/urtwnfw; it's built as a module now.Adrian Chadd2016-03-211-2/+0
| | | | Notes: svn path=/head/; revision=297131
* i915: disable GEN6_MBCTL write in gen6_init_clock_gatingEd Maste2016-03-211-0/+30
| | | | | | | | | | | | | | | This write came from Linux commit b4ae3f22d238 which has been implicated in Sandy Bridge power consumption issues (albeit under different conditions on Linux). Disabling it restores normal power consumption on my Sandy Bridge laptop (Thinkpad X220). PR: 207889 Reviewed by: cem, dumbbell Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D5665 Notes: svn path=/head/; revision=297128
* Fix fallout from r292180 (Dec 2015)... ensure that every driver which hasIan Lepore2016-03-2113-1/+14
| | | | | | | | | | | | a DRIVER_MODULE() referencing mmc_driver has a MODULE_DEPEND() on mmc. This is because the kernel linker only searches for symbols in dependent modules, so loading sdhci_pci (and other bus-flavors of sdhci) would fail when mmc was not compiled into the kernel (even if you hand-loaded mmc first). (Thanks to jilles@ for providing the vital clue about the kernel linker.) Notes: svn path=/head/; revision=297127
* iw_cxgbe/libcxgb4: Pull in many applicable fixes from the upstream LinuxNavdeep Parhar2016-03-2113-125/+271
| | | | | | | | | | | | | | iWARP driver and userspace library to the FreeBSD iw_cxgbe and libcxgb4. This commit includes internal changesets 6785 8111 8149 8478 8617 8648 8650 9110 9143 9440 9511 9894 10164 10261 10450 10980 10981 10982 11730 11792 12218 12220 12222 12223 12225 12226 12227 12228 12229 12654. Submitted by: Krishnamraju Eraparaju @ Chelsio Sponsored by: Chelsio Communications Notes: svn path=/head/; revision=297124
* It appears nfs_mountroot() will use the env var "boot.netif.mtu" if itIan Lepore2016-03-201-0/+1
| | | | | | | exists, so mention that along with all the other boot.netif vars. Notes: svn path=/head/; revision=297086
* Check bsd_to_linux_statfs() return value. Forgotten in r297070.Dmitry Chagin2016-03-201-3/+7
| | | | | | | MFC after: 1 week Notes: svn path=/head/; revision=297072
* Return EOVERFLOW in case when actual statfs values are large enough andDmitry Chagin2016-03-201-1/+15
| | | | | | | | | | not fit into 32 bit fileds of a Linux struct statfs. PR: 181012 MFC after: 1 week Notes: svn path=/head/; revision=297070
* Now that urtwn is its own device, and it'll get hotplug loaded byAdrian Chadd2016-03-201-44/+0
| | | | | | | | | | | devd/ifconfig/etc, don't build it in the kernel. This should fix the build as well! Notice by: dchagin Notes: svn path=/head/; revision=297069
* Remove FREEBSD_BOOT_LOADER that already exists in std.armv6 config file.Ian Lepore2016-03-201-1/+0
| | | | | | | | PR: 207728 Submitted by: Jia-Shiun Li <jiashiun@gmail.com> Notes: svn path=/head/; revision=297068
* Convert a long to rman_res_t, fixing a sign extension bug.Justin Hibbits2016-03-201-1/+1
| | | | | | | | | | | | | | ahci.c had one signed long, which was passed into rman, rather than u_long. After the switch of rman_res_t from size u_long to size uintmax_t, the sign extension caused ranges to get messed up, and ahcich* to not attach. There may be more signed longs used in this way, which will be fixed as they're reported. Reported by: pho Notes: svn path=/head/; revision=297065
* Whitespaces, style(9) fixes. No functional changes.Dmitry Chagin2016-03-201-6/+6
| | | | | | | MFC after: 1 week Notes: svn path=/head/; revision=297063
* Regen for r297061 (fstatfs64 Linux syscall).Dmitry Chagin2016-03-2010-14/+58
| | | | | | | MFC after: 1 week Notes: svn path=/head/; revision=297062
* Implement fstatfs64 system call.Dmitry Chagin2016-03-205-4/+23
| | | | | | | | | PR: 181012 Submitted by: John Wehle MFC after: 1 week Notes: svn path=/head/; revision=297061
* Rework r296543:Dmitry Chagin2016-03-201-18/+19
| | | | | | | | | | | | | | | | 1. Limit secs to INT32_MAX / 2 to avoid errors from kern_setitimer(). Assert that kern_setitimer() returns 0. Remove bogus cast of secs. Fix style(9) issues. 2. Increment the return value if the remaining tv_usec value more than 500000 as a Linux does. Pointed out by: [1] Bruce Evans MFC after: 1 week Notes: svn path=/head/; revision=297060
* [urtwn] migrate urtwn out into sys/dev/urtwn/ .Adrian Chadd2016-03-2011-6/+7
| | | | | | | | | | | | | | | | | | | There's some upcoming work to add new chipset support here and I'd like to only add 802.11n support to one driver, instead of both urtwn and rtwn. There's also missing support for things like 802.11n, some powersave work, bluetooth integration/coexistence, etc, and also newer parts (like 8192EU, maybe some 11ac parts, not sure yet.) So, this is hopefully the first step in a longer set of steps to unify rtwn/urtwn and extend it with more interesting chipset and functionality support. Reviewed by: kevlo Notes: svn path=/head/; revision=297058
* localedef(1): minor sorting to match Illumos.Pedro F. Giffuni2016-03-201-2/+2
| | | | | | | | | | | | | | Illumos recently included space in 'print' class. We already had this but the code had slight sorting differences. Move it some lines up to reduce diffs with Illumos. No functional change. Reference: https://illumos.org/issues/5227 Notes: svn path=/head/; revision=297057
* Update fetch.1 and fetch.3 to reflect libfetch's actual use of CA bundlesMichael Gmelin2016-03-192-18/+39
| | | | | | | | | | Reviewed by: wblock Approved by: wblock MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D5558 Notes: svn path=/head/; revision=297052
* Fix incorrect (fortunately bigger) malloc size.Alexander Motin2016-03-191-1/+1
| | | | | | | | Submitted by: pfg MFC after: 1 week Notes: svn path=/head/; revision=297051
* Add IDs for Intel Wellsburg USB controllers.Alexander Motin2016-03-192-0/+6
| | | | | | | MFC after: 1 week Notes: svn path=/head/; revision=297049
* [net80211] Add VHT Transmit Power Envelope element - 802.11ac-2013 8.4.2.164Adrian Chadd2016-03-191-0/+33
| | | | | | | This .. seems inconsistently transmitted from various vendors. Notes: svn path=/head/; revision=297048
* Allow pci_host_generic to be compiled into ARM kernels, used, e.g., inBjoern A. Zeeb2016-03-181-0/+1
| | | | | | | | | simulators. Sponsored by: DARPA/AFRL Notes: svn path=/head/; revision=297047
* Count the input and output packets.Luiz Otavio O Souza2016-03-182-0/+6
| | | | | | | Sponsored by: Rubicon Communications (Netgate) Notes: svn path=/head/; revision=297043
* Increase the arbitrary limit of TX segments.Luiz Otavio O Souza2016-03-181-1/+1
| | | | | | | Sponsored by: Rubicon Communications (Netgate) Notes: svn path=/head/; revision=297042
* Set the destination port in all TX segments.Luiz Otavio O Souza2016-03-181-8/+9
| | | | | | | Sponsored by: Rubicon Communications (Netgate) Notes: svn path=/head/; revision=297041
* Update to bmake-20160315Simon J. Gerraty2016-03-1818-49/+115
|\ | | | | | | | | | | | | | | | | | | | | Archive member handling works again meta mode, treat missing reads as for writes. Update dirdeps.mk - much improved startup time. Update meta.stage.mk - avoid ln when chmod required. Notes: svn path=/head/; revision=297040
| * Import bmake-20160315vendor/NetBSD/bmake/20160315Simon J. Gerraty2016-03-1815-39/+104
| | | | | | | | | | Notes: svn path=/vendor/NetBSD/bmake/dist/; revision=297032 svn path=/vendor/NetBSD/bmake/20160315/; revision=297033; tag=vendor/NetBSD/bmake/20160315
* | Check IPI status more frequently when waiting.John Baldwin2016-03-181-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | An IPI cannot be sent via the local APIC if a previous IPI is still being delivered. Attempts to send an IPI will wait for a pending IPI to clear. Prior to r278325 these checks used a spin loop with a hardcoded maximum count which broke AP startup on some systems. However, r278325 also enforced a minimum latency of 5 microseconds if an IPI was still pending which resulted in a measurable performance hit. This change reduces that minimum latency to 1 microsecond. Tested by: stas MFC after: 3 days Notes: svn path=/head/; revision=297039
* | Convert the printfs here from %lx to %jx as well after r297000 in orderBjoern A. Zeeb2016-03-181-3/+3
| | | | | | | | | | | | | | | | | | to be able to compile this into arm kernels. Sponsored by: DARPA/AFRL Notes: svn path=/head/; revision=297038
* | aio_qphysio(): Avoid uninitialized pointer read on error.Pedro F. Giffuni2016-03-181-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | For the !unmap case it may happen that pbuf gets called unreferenced when vm_fault_quick_hold_pages() fails. Initialize it so it doesn't cause trouble. CID: 1352776 Reviewed by: jhb MFC after: 1 week Notes: svn path=/head/; revision=297037
* | Move the opt_ files to be included first so their definitions can be usedAndrew Turner2016-03-181-3/+3
| | | | | | | | | | | | | | | | | | | | from within all further included files. Obtained from: ABT Systems Ltd Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=297030
* | Rename COUNT_IPI to INTR_IPI_COUNT to reduce the diff with intrng.Andrew Turner2016-03-182-4/+4
| | | | | | | | | | | | | | | | Obtained from: ABT Systems Ltd Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=297029
* | Reduce the diff with intrng by renaming similar functions. This is a noop,Andrew Turner2016-03-184-13/+15
| | | | | | | | | | | | | | | | | | | | but will help move to use the common interrupt handling code later. Obtained from: ABT Systems Ltd Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=297028