summaryrefslogtreecommitdiffstats
path: root/sys/modules
Commit message (Collapse)AuthorAgeFilesLines
...
* Introduce "feature flags" for ZFS pools (bump SPA version to 5000).mm2012-06-111-0/+1
| | | | | | | | | | | | | | | | | | | Add first feature "com.delphix:async_destroy" (asynchronous destroy of ZFS datasets). Implement features support in ZFS boot code. Illumos revisions merged: 13700:2889e2596bd6 13701:1949b688d5fb 2619 asynchronous destruction of ZFS file systems 2747 SPA versioning with zfs feature flags References: https://www.illumos.org/issues/2619 https://www.illumos.org/issues/2747 Obtained from: illumos (issue #2619, #2747) MFC after: 1 month
* Only build filemon(4) on x86.obrien2012-06-051-2/+6
|
* Add the 'filemon' device. 'filemon' is a kernel module that provides a deviceobrien2012-06-042-0/+13
| | | | | | interface for processes to record system calls of its children. Submitted by: Juniper Networks.
* Restore changes accidentally removed in r235537.gber2012-06-041-0/+3
| | | | Noticed by: avg
* Fix make dependuqs2012-06-031-1/+1
|
* Unbreak make depend.uqs2012-05-302-0/+6
|
* add support to build netmap as a module,luigi2012-05-291-0/+14
| | | | | | but for the time being keep it disconnected from the main build. MFC after: 3 days
* MFp4 bz_ipv6_fast:bz2012-05-251-0/+13
| | | | | | | | | | | | Add TSO6 and LRO/IPv6 support. Fix the module Makefile to at least properly inlcude opt_inet6.h and allow builds without INET or INET6. Sponsored by: The FreeBSD Foundation Sponsored by: iXsystems Reviewed by: gnn (as part of the whole) MFC After: 3 days
* MFp4 bz_ipv6_fast:bz2012-05-251-1/+13
| | | | | | | | | | | | Allow LRO to work on IPv6 as well. Fix the module Makefile to at least properly inlcude opt_inet6.h and allow builds without INET or INET6. Sponsored by: The FreeBSD Foundation Sponsored by: iXsystems Reviewed by: gnn (as part of the whole) MFC After: 3 days
* MFprojects/zfsd:mav2012-05-241-2/+4
| | | | | | | | | | | Revamp the CAM enclosure services driver. This updated driver uses an in-kernel daemon to track state changes and publishes physical path location information\for disk elements into the CAM device database. Sponsored by: Spectra Logic Corporation Sponsored by: iXsystems, Inc. Submitted by: gibbs, will, mav
* style.Makefile(5)obrien2012-05-241-1/+1
|
* Enable drm2 modules build.kib2012-05-231-0/+3
| | | | | Sponsored by: The FreeBSD Foundation MFC after: 1 month
* The drm2 modules makefiles commit.kib2012-05-234-0/+85
| | | | | | | Still not attached to the build. Sponsored by: The FreeBSD Foundation MFC after: 1 month
* A rewrite of the i810 bits of the agp(4) driver. New driver supportskib2012-05-221-0/+12
| | | | | | | | operations required by GEMified i915.ko. It also attaches to SandyBridge and IvyBridge CPU northbridges now. Sponsored by: The FreeBSD Foundation MFC after: 1 month
* Fix make depend.uqs2012-05-221-1/+1
|
* Migrate most of the beacon handling functions out to if_ath_beacon.c.adrian2012-05-201-0/+1
| | | | This is also in preparation for supporting AR9300 and later NICs.
* Migrate the TDMA management functions out of if_ath.c into if_ath_tdma.c.adrian2012-05-201-1/+1
| | | | | | There's some TX path TDMA code in if_ath_tx.c which should be migrated out, but first I should likely try and verify/fix/repair the TDMA support in 9.x and -HEAD.
* .. and update this.adrian2012-05-201-1/+1
|
* Import work done under project/nand (@235533) into head.gber2012-05-173-3/+30
| | | | | | | | | | | | | | The NAND Flash environment consists of several distinct components: - NAND framework (drivers harness for NAND controllers and NAND chips) - NAND simulator (NANDsim) - NAND file system (NAND FS) - Companion tools and utilities - Documentation (manual pages) This work is still experimental. Please use with caution. Obtained from: Semihalf Supported by: FreeBSD Foundation, Juniper Networks
* Add support for Ralink RT2800/RT3000 chipsets.bschmidt2012-05-101-1/+1
| | | | | | | Thanks to ray@, Sevan and Sergey Dyatko for feedback and testing! Obtained from: OpenBSD MFC after: 3 weeks
* Fix make dependuqs2012-05-061-2/+2
|
* Fix make depend.uqs2012-05-011-1/+1
|
* Add to GEOM RAID class module, supporting the DDF metadata format, asmav2012-04-301-1/+1
| | | | | | | | | | | | | | | defined by the SNIA Common RAID Disk Data Format Specification v2.0. Supports multiple volumes per array and multiple partitions per disk. Supports standard big-endian and Adaptec's little-endian byte ordering. Supports all single-layer RAID levels. Dual-layer RAID levels except RAID10 are not supported now because of GEOM RAID design limitations. Some work is still to be done, but the present code already manages basic interoperation with RAID BIOS of the Adaptec 1430SA SATA RAID controller. MFC after: 1 month Sponsored by: iXsystems, Inc.
* o Fixes:marius2012-04-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | - When switching to 4-bit operation, send a SET_CLR_CARD_DETECT command to disconnect the card-detect pull-up resistor from the DAT3 line before sending the SET_BUS_WIDTH command. - Add the missing "reserved" zero entry to the mantissa table used to decode various CSD fields. This was causing SD cards to report that they could run at 30 MHz instead of the maximum 25 MHz mandated in the spec. o Enhancements: - At the MMC layer, format various info from the CID into a string that uniquely identifies the card instance (manufacturer number, serial number, product name and revision, etc). Export it as an instance variable. - At the MMCSD layer, display the formatted card ID string, and also report the clock speed of the hardware (not the card's max speed), and the number of bits and number of blocks per transfer. It comes out like this now: mmcsd0: 968MB <SD SD01G 8.0 SN 276886905 MFG 08/2008 by 3 SD> at mmc0 22.5MHz/4bit/128-block o Use DEVMETHOD_END. o Use NULL instead of 0 for pointers. PR: 156496 Submitted by: Ian Lepore MFC after: 1 week
* Fix build.delphij2012-04-201-9/+5
|
* Add to GEOM RAID class module for reading non-degraded RAID5 volumes andmav2012-04-191-1/+1
| | | | | | | | some environment to differentiate 4 possible RAID5 on-disk layouts. Tested with Intel and AMD RAID BIOSes. MFC after: 2 weeks
* Compensate for the replacement of uart_cpu_{amd64|i386}.c withmarcel2012-04-181-4/+11
| | | | | | uart_cpu_x86.c Pointy hat: marcel
* Unbreak tinderbox.jpaetzel2012-04-181-0/+2
| | | | | | | Fix FreeBSD paradigms in the upstream code. PR: bin/166933 Submitted by: Garrett Cooper <yanegomi@gmail.com>
* Fix LINT builds after r234233; not sure why modules need DEBUG by default.bz2012-04-141-1/+1
|
* Update to version 2.3.1.0jpaetzel2012-04-131-5/+7
| | | | Obtained from: Daniel Braniss <danny@cs.huji.ac.il>
* Add OFED and the associated options and drivers to x86 LINT builds:jhb2012-04-124-4/+66
| | | | | | | | | | | | - Mark 'sdp' as requiring 'inet'. - Always include "opt_inet.h" and "opt_inet6.h" and modify the IB driver Makefiles to honor WITH/WITHOUT_INET/INET6/_SUPPORT options to determine what should be enabled during a module build. - Fix the mlxen(4) driver and the core IB code to compile without if INET is disabled (including when both INET and INET6 are disabled). Reviewed by: bz MFC after: 2 weeks
* MFhead_mfi r227068ambrisko2012-03-301-2/+2
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | First cut of new HW support from LSI and merge into FreeBSD. Supports Drake Skinny and ThunderBolt cards. MFhead_mfi r227574 Style MFhead_mfi r227579 Use bus_addr_t instead of uintXX_t. MFhead_mfi r227580 MSI support MFhead_mfi r227612 More bus_addr_t and remove "#ifdef __amd64__". MFhead_mfi r227905 Improved timeout support from Scott. MFhead_mfi r228108 Make file. MFhead_mfi r228208 Fixed botched merge of Skinny support and enhanced handling in call back routine. MFhead_mfi r228279 Remove superfluous !TAILQ_EMPTY() checks before TAILQ_FOREACH(). MFhead_mfi r228310 Move mfi_decode_evt() to taskqueue. MFhead_mfi r228320 Implement MFI_DEBUG for 64bit S/G lists. MFhead_mfi r231988 Restore structure layout by reverting the array header to use [0] instead of [1]. MFhead_mfi r232412 Put wildcard pattern later in the match table. MFhead_mfi r232413 Use lower case for hexadecimal numbers to match surrounding style. MFhead_mfi r232414 Add more Thunderbolt variants. MFhead_mfi r232888 Don't act on events prior to boot or when shutting down. Add hw.mfi.detect_jbod_change to enable or disable acting on JBOD type of disks being added on insert and removed on removing. Switch hw.mfi.msi to 1 by default since it works better on newer cards. MFhead_mfi r233016 Release driver lock before taking Giant when deleting children. Use TAILQ_FOREACH_SAFE when items can be deleted. Make code a little simplier to follow. Fix a couple more style issues. MFhead_mfi r233620 Update mfi_spare/mfi_array with the actual number of elements for array_ref and pd. Change these max. #define names to avoid name space collisions. This will require an update to mfiutil It avoids mfiutil having to do a magic calculation. Add a note and #define to state that a "SYSTEM" disk is really what the firmware calls a "JBOD" drive. Thanks to the many that helped, LSI for the initial code drop, mav, delphij, jhb, sbruno that all helped with code and testing.
| * First cut at updating mfi(4) to support newer LSI MegaRAID SAS cards.ambrisko2011-11-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Specifically, add support for "Drake Skinny" and "ThunderBolt" LSI cards. Initial code was supplied by LSI under BSD license. Several improvements were done by myself. Such things like making it work in a static kernel, be able to boot of the RAID, performance improvements. I removed some fairly complicated code that seemed to directly access the disks under the firmware. It doesn't seem to be needed and significantly slowed down the performance of the driver and caused tons of sense errors to be reported. This code is being checked in this area so others can help me get it into shape to commit into the FreeBSD tree. Assistance has been volunteered by iXsystems. We might want to re-work the JBOD attachment that creates /dev/mfisyspd? node for each disk. Performance is faster then prior cards. It works okay with WITNESS and INVARIANTS on amd64 and i386. I recall seeing a use after free time bug with FreeBSD 8 and a Drake Skinny card with WITNESS and INVARIANTS on. First task is get all of the new structures to be named in FreeBSD style format. Next is probably to deal with the 64bit addressing changes that are mostly around the #ifdef __amd64__ checks. Thanks to LSI for providing the initial code. Obtained from: LSI
* | Add software PMC support.fabient2012-03-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | New kernel events can be added at various location for sampling or counting. This will for example allow easy system profiling whatever the processor is with known tools like pmcstat(8). Simultaneous usage of software PMC and hardware PMC is possible, for example looking at the lock acquire failure, page fault while sampling on instructions. Sponsored by: NETASQ MFC after: 1 month
* | Jusy use i386 version of cyclic_machdep.c on all supported architectures.gonzo2012-03-241-1/+1
| | | | | | | | It's generic enough to cover all of them.
* | Make lockstat and profile modules x86-onlygonzo2012-03-241-3/+1
| |
* | Work around the following clang warning in mps(4):dim2012-03-231-0/+3
| | | | | | | | | | | | | | | | | | | | | | sys/dev/mps/mps_sas.c:861:1: error: function 'mpssas_discovery_timeout' is not needed and will not be emitted [-Werror,-Wunneeded-internal-declaration] mpssas_discovery_timeout(void *data) ^ Because the driver is obtained from upstream, we don't want to modify it; just silence the warning instead, it is harmless. MFC after: 3 days
* | Connect geom_part_ldm module to the build.ae2012-03-192-0/+13
| | | | | | | | MFC after: 1 month
* | Remove gratuitous DEBUG_FLAGS="-g" setting (this is already the defaultrmh2012-03-161-1/+0
| | | | | | | | | | | | option with GENERIC kernels). Reviewed by: ken
* | Update the rt2860's firmware and add a Makefile for the module. Whilebschmidt2012-03-132-1/+6
| | | | | | | | | | | | | | | | here remove the ucode header file which was used to generate the fw files but by now is outdated. Reviewed by: ray Obtained from: OpenBSD
* | Add module building Makefile entries for NFSv4 and POSIX.1e ACL handling.adrian2012-03-133-0/+20
| |
* | Use rt_numfibs variable instead of compile-time RT_NUMFIBS.melifaro2012-03-131-2/+0
| | | | | | | | | | Reviewed by: glebius (previous version) Approved by: kib(mentor), ae(mentor)
* | Provide wbwd(4), a driver for the watchdog timer found on variousbz2012-03-062-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | Winbond Super I/O chips. With minor efforts it should be possible the extend the driver to support further chips/revisions available from Winbond. In the simplest case only new IDs need to be added, while different chipsets might require their own function to enter extended function mode, etc. Sponsored by: Sandvine Incorporated ULC (in 2011) Reviewed by: emaste, brueffer MFC after: 2 weeks
* | Add DWC OTG module to ARM builds.hselasky2012-03-052-1/+46
| | | | | | | | MFC after: 1 week
* | Explicitly list dependencyeadler2012-03-041-0/+2
| | | | | | | | | | | | | | | | PR: misc/160463 Submitted by: Garrett Cooper <yanegomi@gmail.com> Helped by: kan Approved by: cperciva MFC after: 3 days
* | Add driver for the RME HDSPe AIO/RayDAT sound cards -- snd_hdspe(4).mav2012-03-012-2/+11
| | | | | | | | | | | | | | Cards are expensive and so rare, so leave the driver as module. Submitted by: Ruslan Bukin <br@bsdpad.com> MFC after: 2 weeks
* | Define several extra macros in bsd.sys.mk and sys/conf/kern.pre.mk, todim2012-02-282-9/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | get rid of testing explicitly for clang (using ${CC:T:Mclang}) in individual Makefiles. Instead, use the following extra macros, for use with clang: - NO_WERROR.clang (disables -Werror) - NO_WCAST_ALIGN.clang (disables -Wcast-align) - NO_WFORMAT.clang (disables -Wformat and friends) - CLANG_NO_IAS (disables integrated assembler) - CLANG_OPT_SMALL (adds flags for extra small size optimizations) As a side effect, this enables setting CC/CXX/CPP in src.conf instead of make.conf! For clang, use the following: CC=clang CXX=clang++ CPP=clang-cpp MFC after: 2 weeks
* | Fix the scc(4) module build. Without the file it's missing a required symbol.jhibbits2012-02-261-1/+1
| | | | | | | | | | Approved by: nwhitehorn (mentor) MFC after: 3 days
* | Connect smcphy(4) to mii module build.yongari2012-02-231-1/+1
| |
* | When building with clang, disable -Wformat-security fordim2012-02-211-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | sys/dev/hpt27xx/osm_bsd.c, since it gets the following warnings: sys/dev/hpt27xx/osm_bsd.c:1180:25: error: format string is not a string literal (potentially insecure) [-Werror,-Wformat-security] S_IRUSR | S_IWUSR, driver_name); ^~~~~~~~~~~ @/dev/hpt27xx/hpt27xx_config.h:46:21: note: expanded from: #define driver_name hpt27xx_driver_name ^~~~~~~~~~~~~~~~~~~ Since 'hpt27xx_driver_name' is a constant string symbol (coming from the proprietary hpt27xx_lib.o file), there is no security problem. Because this driver is provided by the vendor, and applying changes requires re-certification and other bureaucratic exercises, just disable the warning for now. MFC after: 1 week
OpenPOWER on IntegriCloud