summaryrefslogtreecommitdiffstats
path: root/sys/modules
Commit message (Collapse)AuthorAgeFilesLines
* Retire the nve(4) driver; nfe(4) has been the default driver for NVIDIAbrueffer2014-02-162-27/+0
| | | | | | | nForce MCP adapters for a long time. Yays: jhb, remko, yongari Nays: none on the current and stable lists
* This new version of netmap brings you the following:luigi2014-02-151-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - netmap pipes, providing bidirectional blocking I/O while moving 100+ Mpps between processes using shared memory channels (no mistake: over one hundred million. But mind you, i said *moving* not *processing*); - kqueue support (BHyVe needs it); - improved user library. Just the interface name lets you select a NIC, host port, VALE switch port, netmap pipe, and individual queues. The upcoming netmap-enabled libpcap will use this feature. - optional extra buffers associated to netmap ports, for applications that need to buffer data yet don't want to make copies. - segmentation offloading for the VALE switch, useful between VMs. and a number of bug fixes and performance improvements. My colleagues Giuseppe Lettieri and Vincenzo Maffione did a substantial amount of work on these features so we owe them a big thanks. There are some external repositories that can be of interest: https://code.google.com/p/netmap our public repository for netmap/VALE code, including linux versions and other stuff that does not belong here, such as python bindings. https://code.google.com/p/netmap-libpcap a clone of the libpcap repository with netmap support. With this any libpcap client has access to most netmap feature with no recompilation. E.g. tcpdump can filter packets at 10-15 Mpps. https://code.google.com/p/netmap-ipfw a userspace version of ipfw+dummynet which uses netmap to send/receive packets. Speed is up in the 7-10 Mpps range per core for simple rulesets. Both netmap-libpcap and netmap-ipfw will be merged upstream at some point, but while this happens it is useful to have access to them. And yes, this code will be merged soon. It is infinitely better than the version currently in 10 and 9. MFC after: 3 days
* Similar to r260026, disable warning about unused functions fordim2014-02-141-0/+3
| | | | | | ieee80211_adhoc.c, ieee80211_hostap.c and ieee80211_sta.c. MFC after: 3 days
* Import USB RNDIS driver to FreeBSD from OpenBSD.hselasky2014-02-062-0/+38
| | | | | | | | | | | | | | Useful for so-called USB tethering. - Imported code from OpenBSD - Adapted code to FreeBSD - Removed some unused functions - Fixed some buffer encoding and decoding issues - Optimised data transport path a bit, by sending multiple packets at a time - Increased receive buffer to 16K Obtained from: OpenBSD Requested by: eadler @ MFC after: 2 weeks
* Add missing file to Makefile.jhibbits2014-02-031-1/+1
| | | | | MFC after: 1 month X-MFC-with: 261342
* Add support for trackpads found in Apple MacBook products. While at ithselasky2014-01-292-1/+37
| | | | | | | add some missing devd entries. Submitted by: Huang Wen Hui <huanghwh@gmail.com> MFC after: 1 week
* Add very simple virtio_random(4) driver to harvest entropy from hostbryanv2014-01-182-1/+37
| | | | Reviewed by: markm (random bits only)
* The onyx codec works also as module, so add it.andreast2014-01-131-1/+1
| | | | MFC after: 1 month
* Add firmware for Intel Centrino Wireless-N 105 devices.gavin2014-01-112-1/+8
| | | | Committed from: Centrino 105 device
* Build the geom_uncompress(4) module by default.loos2014-01-102-2/+3
| | | | | | | | | | | | | Fix geom_uncompress(4) module loading. Don't link zlib.c (which is a module itself) directly. The built module was verified and used to read a few mkulzma(8) images on amd64 to validate some of the informations on the manual page. While here, don't overwrite CFLAGS. Reviewed by: ray Approved by: adrian (mentor)
* Remove aicasm as a build dependency. It made sense when the ahc and ahdscottl2014-01-076-17/+43
| | | | | | | | | | | | drivers and their firmware were under active development, but those days have passed. The firmware now exists in pre-compiled form, no longer dependent on it's sources or on aicasm. If you wish to rebuild the firmware from source, the glue still exists under the 'make firmware' target in sys/modules/aic7xxx. This also fixes the problem introduced with r257777 et al with building kernels the old fashioned way in sys/$arch/compile/$CONFIG when the ahc/ahd drivers were included.
* Wrap SUBDIRs over several lines.gavin2014-01-051-1/+11
|
* Add firmware version 18.168.6.1 (API version 6) for Intel Centrinogavin2014-01-052-1/+7
| | | | | | | Wireless-N 135 wireless adapters, soon to be supported by iwn(4). Committed using: Laptop with Centrino 135 chipset Obtained from: wireless.kernel.org firmware downloads
* For sys/ofed/drivers/infiniband/hw/mlx4/mcg.c, disable warning aboutdim2013-12-301-0/+3
| | | | | | unused variables for now. MFC after: 3 days
* For sys/ofed/drivers/infiniband/core/cm.c, disable warning about unuseddim2013-12-301-0/+3
| | | | | | functions for now. MFC after: 3 days
* Similar to r260020, only use -fms-extensions with gcc, for all otherdim2013-12-307-10/+7
| | | | | | | | modules which require this flag to compile. Use a GCC_MS_EXTENSIONS variable, defined in kern.pre.mk, which can be used to easily supply the flag (or not), depending on the compiler type. MFC after: 3 days
* Turn off warnings about unused variables for a bunch of files underdim2013-12-291-3/+14
| | | | | | contrib/ipfilter. MFC after: 3 days
* Disable warning about unused functions for ieee80211_crypto.c anddim2013-12-281-0/+4
| | | | | | ieee80211_mesh.c for now. MFC after: 3 days
* Disable warning about unused functions for ar9300_reset.c for now.dim2013-12-281-1/+1
| | | | MFC after: 3 days
* For sys/dev/drm2/radeon, only use -fms-extensions with gcc. This flagdim2013-12-281-2/+6
| | | | | | | | is only to stop gcc complaining about anonymous unions, which clang does not do. For clang 3.4 however, -fms-extensions enables the Microsoft __wchar_t type, which clashes with our own types.h. MFC after: 3 days
* For some files under sys/dev/drm2/i915, turn off warnings about unuseddim2013-12-281-0/+5
| | | | | | functions and variables, since they are contributed code. MFC after: 3 days
* split netmap code according to functions:luigi2013-12-151-2/+6
| | | | | | | | | | | - netmap.c base code - netmap_freebsd.c FreeBSD-specific code - netmap_generic.c emulate netmap over standard drivers - netmap_mbq.c simple mbuf tailq - netmap_mem2.c memory management - netmap_vale.c VALE switch simplify devce-specific code
* Disable error message about failed attempt to attach fbd when drm2 built withray2013-12-103-2/+3
| | | | | | syscons. Sponsored by: The FreeBSD Foundation
* Bump the g2b firmware to 18.x.adrian2013-12-091-1/+1
| | | | | | Tested: * Intel 6235
* Make it easier to test build the USB code having the debug flags sethselasky2013-12-091-0/+12
| | | | | | without having to build the complete kernel. MFC after: 2 weeks
* Chase down cryptodeflate.c change from r259109.alfred2013-12-091-1/+1
|
* Merge VT(9) project (a.k.a. newcons).ray2013-12-052-2/+3
|\ | | | | | | | | | | | | Reviewed by: nwhitehorn MFC_to_10_after: re approval Sponsored by: The FreeBSD Foundation
| * MFC @r258947.ray2013-12-0514-13/+20
| |\ | | | | | | | | | Sponsored by: The FreeBSD Foundation
| * \ MFC @r258091.ray2013-11-133-5/+2
| |\ \
| * | | DRM2 have to know how to use fb_if.ray2013-11-062-2/+3
| | | | | | | | | | | | | | | | Sponsored by: The FreeBSD Foundation
* | | | Support Hyper-V on i386:delphij2013-12-051-0/+1
| |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | - Add 'hyperv' module into build; - Allow building Hyper-V support as part of the kernel; - Hook Hyper-V build into NOTES. This is intended for MFC if re@ permits. MFC after: 3 days
* | | Add HPET device emulation to bhyve.neel2013-11-251-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bhyve supports a single timer block with 8 timers. The timers are all 32-bit and capable of being operated in periodic mode. All timers support interrupt delivery using MSI. Timers 0 and 1 also support legacy interrupt routing. At the moment the timers are not connected to any ioapic pins but that will be addressed in a subsequent commit. This change is based on a patch from Tycho Nightingale (tycho.nightingale@pluribusnetworks.com).
* | | - For kernel compiled only with KDTRACE_HOOKS and not any lock debuggingattilio2013-11-2511-12/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | option, unbreak the lock tracing release semantic by embedding calls to LOCKSTAT_PROFILE_RELEASE_LOCK() direclty in the inlined version of the releasing functions for mutex, rwlock and sxlock. Failing to do so skips the lockstat_probe_func invokation for unlocking. - As part of the LOCKSTAT support is inlined in mutex operation, for kernel compiled without lock debugging options, potentially every consumer must be compiled including opt_kdtrace.h. Fix this by moving KDTRACE_HOOKS into opt_global.h and remove the dependency by opt_kdtrace.h for all files, as now only KDTRACE_FRAMES is linked there and it is only used as a compile-time stub [0]. [0] immediately shows some new bug as DTRACE-derived support for debug in sfxge is broken and it was never really tested. As it was not including correctly opt_kdtrace.h before it was never enabled so it was kept broken for a while. Fix this by using a protection stub, leaving sfxge driver authors the responsibility for fixing it appropriately [1]. Sponsored by: EMC / Isilon storage division Discussed with: rstone [0] Reported by: rstone [1] Discussed with: philip
* | | Import the axge(4) driver for the ASIX AX88178A and AX88179 USB Ethernetmarkj2013-11-192-1/+11
| |/ |/| | | | | | | | | | | | | adapters. Both devices support Gigabit Ethernet and USB 2.0, and the AX88179 supports USB 3.0. The driver was written by kevlo@ and lwhsu@, with a few bug fixes from me. MFC after: 2 months
* | Move the ioapic device model from userspace into vmm.ko. This is needed forneel2013-11-121-0/+1
| | | | | | | | | | | | | | | | | | | | upcoming in-kernel device emulations like the HPET. The ioctls VM_IOAPIC_ASSERT_IRQ and VM_IOAPIC_DEASSERT_IRQ are used to manipulate the ioapic pin state. Discussed with: grehan@ Submitted by: Tycho Nightingale (tycho.nightingale@pluribusnetworks.com)
* | Strip out this cruft; people should be making modules with a completeadrian2013-11-091-4/+0
| | | | | | | | kernel config environment anyway.
* | Build the iwn2000 firmware too.adrian2013-11-071-1/+1
|/
* Remove the 'vdev' abstraction that was meant to sit on top of device modelsneel2013-11-041-1/+0
| | | | | | | | in the kernel. This abstraction was redundant because the only device emulated inside vmm.ko is the local apic and it is always at a fixed guest physical address. Discussed with: grehan
* Rework the aicasm build machinery so that it gets built along with toolchainian2013-11-043-11/+5
| | | | | | | | | | components instead of with the kernel and/or modules. This ensures that it gets built with the host compiler, not the compiler in obj/... used to build the target components (which may be a cross-compiler outputting code for a different architecture and using header files with types and options set up for the wrong architecture). Reviewed by: imp
* Axe ng_fec(4). It has never been a real netgraph(4) module, sinceglebius2013-10-282-9/+0
| | | | | | | | | it had no hooks. It has abused ifnet's if_afdata slot and actually abused every subsystem it touched. lagg(4) is a proper trunking solution at ifnet(9) layer. ng_one2many(4) is a proper trunking solution in netgraph(4).
* Redefine the io provider using the SDT(9) macros instead of doing everythingmarkj2013-10-243-17/+0
| | | | | | manually. This change has no functional impact. Discussed with: gnn
* Don't build krping.ko, iw_cxgb.ko, and iw_cxgbe.ko, if MK_OFED=notrasz2013-10-183-1/+13
| | | | | | (the default). They build, but are unloadable, due to missing ibcore.ko. Sponsored by: FreeBSD Foundation
* iw_cxgbe: iWARP driver for Chelsio T4/T5 chips. This is a straight portnp2013-10-172-1/+35
| | | | | | of the iw_cxgb4 found in OFED distributions. Obtained from: Chelsio
* Add fasttrap for PowerPC. This is the last piece of the dtrace/ppc puzzle.jhibbits2013-10-152-1/+4
| | | | | | | It's incomplete, it doesn't contain full instruction emulation, but it should be sufficient for most cases. MFC after: 1 month
* Delete all of the old RDMA code (except krping, which was switched tonp2013-10-145-46/+0
| | | | | use sys/ofed some time back). This has been sitting around as dead code in the tree for a very long time.
* cxgbe(4): Update T4 and T5 firmwares to 1.9.12.0np2013-10-142-2/+2
|
* Add needed files to the KLD random.ko.markm2013-10-141-0/+1
| | | | Approved by: re (kib)
* Add YARROW_RNG and FORTUNA_RNG to sys/conf/options.des2013-10-081-1/+1
| | | | | | | | | | Add a SYSINIT that forces a reseed during proc0 setup, which happens fairly late in the boot process. Add a RANDOM_DEBUG option which enables some debugging printf()s. Add a new RANDOM_ATTACH entropy source which harvests entropy from the get_cyclecount() delta across each call to a device attach method.
* Fix make depend.uqs2013-10-041-1/+1
| | | | Approved by: re (glebius)
* DEBUG_FLAGS -g is default for GENERIC and its presence interferes withphilip2013-09-291-1/+1
| | | | | | | disabling the sfxge.ko.symbols build for embedded systems. Approved by: re (marius) MFC after: 3 days
OpenPOWER on IntegriCloud