aboutsummaryrefslogtreecommitdiff
path: root/sys/conf
Commit message (Collapse)AuthorAgeFilesLines
* WITH_META_MODE: Do include headers for specific guessed dependenciesBryan Drewery2016-06-151-2/+4
| | | | | | | | | | | | | | | This is a follow-up to r300343. This is important for the OBJS_DEPEND_GUESS usage in gnu/usr.bin/cc/cc_tools. See comments for more details. Approved by: re (implicit) Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=301935
* Update 11.0 to ALPHA3 in preparation for new snapshot builds.Glen Barber2016-06-101-1/+1
| | | | | | | | Approved by: re (implicit) Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=301815
* Change the default build behavior so we don't compile extra TCP modules byJonathan T. Looney2016-06-102-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | default. At least initially, the feature to support multiple TCP stacks is aimed at supporting advanced use cases and TCP development, but it is not necessarily aimed at a wide audience. Therefore, there is no need to build and install the extra TCP stacks by default. Instead, the people who are using or developing this functionality can add the extra option to build/ install the extra TCP stacks. However, we do want to build the extra TCP stacks as part of test builds (e.g. LINT or tinderbox) to ensure that developers who are testing their changes will know that their changes do not break the additional TCP stack modules. After this change, a user will need to add WITH_EXTRA_TCP_STACKS=1 to make.conf or the kernel config in order to build the extra TCP modules. Differential Revision: https://reviews.freebsd.org/D6795 Reviewed by: sjg Approved by: re (kib) Notes: svn path=/head/; revision=301814
* Commit the bits of nda that were missed. This should fix the build.Warner Losh2016-06-101-1/+1
| | | | | | | Approved by: re@ Notes: svn path=/head/; revision=301778
* New NVMe front end (nda).Warner Losh2016-06-092-0/+4
| | | | Notes: svn path=/head/; revision=301771
* hyperv: Move machine dependent bits into machine dependent files.Sepherosa Ziehau2016-06-062-0/+2
| | | | | | | | | MFC after: 1 week Sponsored by: Microsoft OSTC Differential Revision: https://reviews.freebsd.org/D6701 Notes: svn path=/head/; revision=301483
* Switch mips/sentry5 to bhnd(4), and unify with mips/broadcomLandon J. Fuller2016-06-041-40/+43
| | | | | | | | | | | | | | | | | | | | | | | | Now that bhnd(4) provides feature parity with the previous siba/mips implementation, we can switch sentry5 over and begin lifting common support code out for use across bhnd(4) embedded targets. Changes: - Fixed enumeration of siba(4) per-core address maps, required for discovery of memory mapped chipc flash region on siba(4) devices. - Simplified bhnd kernel configuration (dropped 'bhndbus' option). - Replaced files.broadcom's direct file references with their corresponding standard kernel options. - Lifted out common bcma/siba nexus support, inheriting from the new generic bhnd_nexus driver. - Dropped now-unused sentry5 siba code. - Re-integrated BCM into the universe build now that it actually compiles. Approved by: adrian (mentor) Differential Revision: https://reviews.freebsd.org/D6712 Notes: svn path=/head/; revision=301410
* Revert r301079.Bryan Drewery2016-06-033-41/+38
| | | | | | | | | | | This breaks cross-building with WITH_META_MODE since it will rebuild 'build-tools' during the 'everything' phase. A more proper fix is coming to bmake to implicitly require .META unless .NOMETA (and other restrictions) are in place. Notes: svn path=/head/; revision=301284
* Add the GICv3 ITS intrng driver. As the interface to the interruptAndrew Turner2016-06-031-0/+1
| | | | | | | | | | | | | | | | | | | | framework has significantly changed the driver has moved to a new file. While it shares some code with the existing driver this has been modified to work better with the intrng framework. This has been tested on the ThunderX servers in the netperf cluster and has been used to boot them for other testing, including DTrace and hwpmc. With this we can use intrng on all supported arm64 platforms I was able to test on. It is expected we will move to intrng soon, and disable the old arm64 interrupt framework. Obtained from: ABT Systems Ltd Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D6437 Notes: svn path=/head/; revision=301265
* Update to ALPHA2 in preparation of a new set of snapshot builds.Glen Barber2016-06-031-1/+1
| | | | | | | | Approved by: re (implicit) Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=301230
* [iwm] add if_iwm_led.c into the build.Adrian Chadd2016-06-021-0/+1
| | | | Notes: svn path=/head/; revision=301188
* [ath] commit initial bluetooth coexistence support for the MCI NICs.Adrian Chadd2016-06-021-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is the initial framework to call into the MCI HAL routines and drive the basic state engine. The MCI bluetooth coex model uses a command channel between wlan and bluetooth, rather than a 2-wire or 3-wire signaling protocol to control things. This means the wlan and bluetooth chip exchange a lot more information and signaling, even at the per-packet level. The NICs in question can share the input LNA and output PA on the die, so they absolutely can't stomp on each other in a silly fashion. It also allows for the bluetooth side to signal when profiles come and go, so the driver can take appropriate control. There's also the possibility of dynamic bluetooth/wlan duty cycle control which I haven't yet really played with. It configures things up with a static "wlan wins everything" coexistence, configures up the available 2GHz channel map for bluetooth, sets a static duty cycle for bluetooth/wifi traffic priority and drives the basics needed to keep the MCI HAL code happy. It doesn't do any actual coexistence except to default to "wlan wins everything", which at least demonstrates that things do indeed work. Bluetooth inquiry frames still trump wifi (including beacons), so that demonstrates things really do indeed seem to work. Tested: * AR9462 (WB222), STA mode + bt * QCA9565 (WB335), STA mode + bt TODO: * .. the rest of coexistence. yes, bluetooth, not people. That stuff's hard. * It doesn't do the initial BT side calibration, which requires a WLAN chip reset. I'll fix up the reset path a bit more first before I enable that. * The 1-ant and 2-ant configuration bits aren't being set correctly in if_ath_btcoex.c - I'll dig into that and fix it in a subsequent commit. * It's not enabled by default for WB222/WB225 even though I believe it now can be - I'll chase that up in a subsequent commit. Obtained from: Qualcomm Atheros, Linux ath9k Notes: svn path=/head/; revision=301181
* Build riscv modules as PIC.Ruslan Bukin2016-06-011-1/+1
| | | | | | | Submitted by: Yukishige Shibata <y-shibat@mtd.biglobe.ne.jp> Notes: svn path=/head/; revision=301124
* hyperv: Rename some cleaned up/almost cleaned up filesSepherosa Ziehau2016-06-012-8/+8
| | | | | | | | MFC after: 1 week Sponsored by: Microsoft OSTC Notes: svn path=/head/; revision=301113
* WITH_META_MDE: Fix machine/include and x86/include issues.Bryan Drewery2016-05-312-2/+2
| | | | | | | | | | - Fixes 'ln: File exists' errors. - Fixes creating include directories in the source directory as well. Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=301088
* Define SYSDIR earlier since the defined(FIRMWS) block depends on it.Bryan Drewery2016-05-311-10/+10
| | | | | | | | | It uses it in a dependency, which won't work if it is not yet defined. Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=301086
* Add missed updates for r301079 and r301084.Bryan Drewery2016-05-311-2/+2
| | | | Notes: svn path=/head/; revision=301085
* WITH_META_MODE: Resolve SYSDIR to avoid changed build commands.Bryan Drewery2016-05-312-2/+2
| | | | | | | Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=301084
* WITH_META_MODE: Mitigate switching from without to with META_MODE.Bryan Drewery2016-05-313-38/+41
| | | | | | | | | | | | | | | | Adding .META to targets-to-build will ensure that they will rebuild if there is no .meta file. Adding it to all SUFFIXES and objects ensures that at least objects will rebuild if there is no .meta file. This will be reverted if bmake's behavior changes to rebuild on missing .meta files. Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=301079
* Attach the generic USB OHCI driver to the arm64 build.Andrew Turner2016-05-311-0/+2
| | | | | | | | Obtained from: ABT Systems Ltd Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=301073
* Connect the SHA-512t256 and Skein hashing algorithms to ZFSAllan Jude2016-05-311-0/+3
| | | | | | | | | | | | | | | | | | | Support for the new hashing algorithms in ZFS was introduced in r289422 However it was disconnected because FreeBSD lacked implementations of SHA-512 (truncated to 256 bits), and Skein. These implementations were introduced in r300921 and r300966 respectively This commit connects them to ZFS and enabled these new checksum algorithms This new algorithms are not supported by the boot blocks, so do not use them on your root dataset if you boot from ZFS. Relnotes: yes Sponsored by: ScaleEngine Inc. Notes: svn path=/head/; revision=301010
* Now that PIE is free of runtime floating point, revert r300853 toDon Lewis2016-05-291-0/+2
| | | | | | | reconnect PIE to the build. Notes: svn path=/head/; revision=300950
* When building modules, define make variable OPT_FDT if the kernel configIan Lepore2016-05-271-0/+8
| | | | | | | | | | | | includes the FDT option. Use OPT_FDT to conditionally compile modules that require FDT support. In the past we've gotten away with using the arch name as a proxy for FDT support in makefile conditional logic, but now mips has some platforms with fdt support and some without and we need a more direct test. Notes: svn path=/head/; revision=300855
* Disconnect PIE from the build until it is free of floating point math.Don Lewis2016-05-271-2/+0
| | | | | | | Reported by: lidl, adrian Notes: svn path=/head/; revision=300853
* Add rtwn(4) and rtwnfw(4).Kevin Lo2016-05-272-0/+33
| | | | Notes: svn path=/head/; revision=300821
* [gpiospi] add debug option.Adrian Chadd2016-05-271-0/+3
| | | | | | | | | | This was missing from the previous commit that introduced gpiospi. It's required for it to build. Pointy-hat-to: me Notes: svn path=/head/; revision=300816
* Update head from 11.0-CURRENT to 11.0-ALPHA1, marking the officialGlen Barber2016-05-271-1/+1
| | | | | | | | | | start of the code slush. Approved by: re (implicit) Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=300813
* Add a PPS driver that takes the timing pulse from a gpio pin. CurrentlyIan Lepore2016-05-261-0/+1
| | | | | | | | supports only ofw/fdt systems. Some day, hinted attachment for non-fdt systems should be possible too. Notes: svn path=/head/; revision=300811
* Add some missing .PHONY.Bryan Drewery2016-05-262-6/+6
| | | | | | | | | | These are relevant for WITH_META_MODE to ensure they are always reran and don't generate a .meta file. Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=300799
* WITH_META_MODE: Move the kernel support to kern.pre.mk.Bryan Drewery2016-05-261-0/+5
| | | | | | | | | | This allows using META_MODE directly from the kernel build directory. This also allows removing a hack from the DIRDEPS_BUILD kernel target. Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=300795
* Include the new AQM files when compiling a kernel with options DUMMYNET.Don Lewis2016-05-261-0/+4
| | | | | | | | Reported by: Nikolay Denev <nike_d AT cytexbg DOT com> MFC after: 2 weeks (with r300779) Notes: svn path=/head/; revision=300784
* [gpiospi] add initial gpio SPI bit bang driver.Adrian Chadd2016-05-261-0/+1
| | | | | | | | Submitted by: ray Obtained from: zrouter Notes: svn path=/head/; revision=300715
* [spigen] add initial spigen driver from green@Adrian Chadd2016-05-261-0/+1
| | | | | | | | | | | | | | | This is a simple ioctl and mmap API to issue SPI transactions from userland. It's useful for simple devices (eg spi temperature sensors, etc) for experimentation. TODO: * Write some documentation! Submitted by: green Notes: svn path=/head/; revision=300713
* Add initial DTrace support for RISC-V.Ruslan Bukin2016-05-241-0/+4
| | | | | | | | Sponsored by: DARPA, AFRL Sponsored by: HEIF5 Notes: svn path=/head/; revision=300618
* Set dependencies for genassym.c.Ruslan Bukin2016-05-241-0/+3
| | | | | | | This fixes non-parallel build. Notes: svn path=/head/; revision=300617
* Move the OFW iicbus code to dev/iicbus to stop polluting dev/ofw withLuiz Otavio O Souza2016-05-242-2/+2
| | | | | | | | | unrelated code. Discussed with: nwhitehorn (a long time ago) Notes: svn path=/head/; revision=300550
* [bhnd] Implement pass-through resource management for ChipCommon.Adrian Chadd2016-05-241-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patchset adds support to bhnd_chipc for sharing SYS_RES_MEMORY resources with its children, allowing us to hang devices off of bhnd_chipc that rely on access to a subset of the device register space that bhnd_chipc itself must also allocate. We could avoid most of this heavy lifting if RF_SHAREABLE+SYS_RES_MEMORY wasn't limited to use with allocations at the same size/offset. As a work-around, I implemented something similar to vga_pci.c, which implements similar reference counting of of PCI BAR resources for its children. With these changes, chipc will use reference counting of SYS_RES_MEMORY allocation/activation requests, to decide when to allocate/activate/ deactivate/release resources from the parent bhnd(4) bus. The requesting child device is allocated a new resource from chipc's rman, pointing to (possibly a subregion of) the refcounted bhnd resources allocated by chipc. Other resource types are just passed directly to the parent bhnd bus; RF_SHAREABLE works just fine with IRQs. I also lifted the SPROM device code out into a common driver, since this now allows me to hang simple subclasses off of a common driver off of both bhndb_pci and bhnd_chipc. Tested: * (landonf) Tested against BCM4331 and BCM4312, confirmed that SPROM still attaches and can be queried. Submitted by: Landon Fuller <landonf@landonf.org> Reviewed by: mizkha@gmail.com Differential Revision: https://reviews.freebsd.org/D6471 Notes: svn path=/head/; revision=300548
* hyperv: Add helpers for busdma(9) operationSepherosa Ziehau2016-05-232-0/+2
| | | | | | | | | MFC after: 1 week Sponsored by: Microsoft OSTC Differential Revision: https://reviews.freebsd.org/D6443 Notes: svn path=/head/; revision=300478
* [bhnd] Add support for querying the attachment type of the bhnd bus.Adrian Chadd2016-05-231-0/+1
| | | | | | | | | | | | | | | | | | This adds a BHND_BUS_GET_ATTACH_TYPE(); the primary use-case is to let chipc make a coarse-grained determination as to whether UART, SPI, etc drivers ought to be attached, and on fullmac devices, whether a real CPU driver ought to be skipped for the ARM core, etc. Tested: * BCM4331 (BHND) * BCM4312 (SIBA) Submitted by: Landon Fuller <landonf@landonf.org> Differential Revision: https://reviews.freebsd.org/D6492 Notes: svn path=/head/; revision=300445
* WITH_META_MODE: Fix suffix transformation rules with guessed dependencies.Bryan Drewery2016-05-211-0/+8
| | | | | | | | | | | | This is the same problem as r290629. With META_MODE we do not generate .depend files, so there is no proper dependency to lookup. Guessed dependencies must be used. If this proves to be a problem then we will have to generate and use .depend files even with META_MODE. Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=300343
* Allow building VNIC as a moduleWojciech Macek2016-05-201-1/+1
| | | | | | | | | | | | | Add directory structure and fix dependencies to be able to build and use Cavium VNIC driver as a module. Reviewed by: zbb Obtained from: Semihalf Sponsored by: Cavium Differential Revision: https://reviews.freebsd.org/D6345 Notes: svn path=/head/; revision=300294
* Import the 'iflib' API library for network drivers. From the author:Scott Long2016-05-182-0/+4
| | | | | | | | | | | | | | | | | | "iflib is a library to eliminate the need for frequently duplicated device independent logic propagated (poorly) across many network drivers." Participation is purely optional. The IFLIB kernel config option is provided for drivers that want to transition between legacy and iflib modes of operation. ixl and ixgbe driver conversions will be committed shortly. We hope to see participation from the Broadcom and maybe Chelsio drivers in the near future. Submitted by: mmacy@nextbsd.org Reviewed by: gallatin Differential Revision: D5211 Notes: svn path=/head/; revision=300113
* Remove the MUTEX_DEBUG kernel option.Mark Johnston2016-05-182-3/+0
| | | | | | | | | It has no counterpart among the other lock primitives and has been a no-op for years. Mutex consistency checks are generally done whenver INVARIANTS is enabled. Notes: svn path=/head/; revision=300106
* Final nit in ReiserFS removal.George V. Neville-Neil2016-05-171-1/+0
| | | | Notes: svn path=/head/; revision=300067
* Finish cleaning up after killing ReiserFS.George V. Neville-Neil2016-05-172-16/+1
| | | | | | | Remove LINT/NOTES option and file linkages. Notes: svn path=/head/; revision=300065
* Rename icl_proxy.c to icl_soft_proxy.c, to make it clear it's a partEdward Tomasz Napierala2016-05-171-1/+1
| | | | | | | | | | of software ICL backend. MFC after: 1 month Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=300061
* [bwn] add in bwn n-phy linking.Adrian Chadd2016-05-171-0/+1
| | | | | | | | | | | | | | | | | | | | | | | * The default kernel and options won't build the GPL PHY bits; * bwn(4) defaults to building as a module anyway!; * If BWN_GPL_PHY is specified in the config file, and you uncomment the GPL PHY bits in the module Makefile, you'll get a working N-PHY. This is specifically designed to be obtuse for now, as I don't want to flip it on by default. It's easy enough for people to flip on and build, and it's a module so the default GENERIC kernel won't be GPL tainted. I'll have to add an actual HAL layer that allows the GPL PHY to be loaded before if_bwn so it can be "magic", but that'll come later. Tested: * BCM4321 11abg NIC, STA mode Notes: svn path=/head/; revision=300020
* [bwn] add the BWN_GPL_PHY option.Adrian Chadd2016-05-171-0/+1
| | | | | | | | This will eventually enable building the GPL PHY hooks needed for running b43 based PHYs. For now it'll just build PHY-N. Notes: svn path=/head/; revision=300017
* [bhnd] Finish bhnd(4) PCI/PCIe-G1 hostb support.Adrian Chadd2016-05-171-0/+3
| | | | | | | | | | | | | | | Now that we've got access to SPROM and can access board identification, this implements all known remaining hardware work-arounds for the bhnd(4) PCI and PCIe-G1 cores operating endpoint mode. Additionally, this adds an initial set of skeleton PCIe-G2 hostb and pcib drivers, required by fullmac and newer softmac devices. Submitted by: Landon Fuller <landonf@landonf.org> Differential Revision: https://reviews.freebsd.org/D6377 Notes: svn path=/head/; revision=300015
* [mips] Improve MIPS trampoline codeAdrian Chadd2016-05-161-1/+2
| | | | | | | | | | | | | | This patch fix trampoline build. inckern.S increases stack and calls _startC of elf_trampoline, so inckern.S should be called before elf_trampoline. gcc4.2 puts text (code) into image according to order of source files in this call, so order has changed. In addition make will install trampoline kernel. It allows to use kernel for firmware build. Submitted by: Michael Zhilin <mizhka@gmail.com> Differential Revision: https://reviews.freebsd.org/D6242 Notes: svn path=/head/; revision=299993