summaryrefslogtreecommitdiffstats
path: root/sys/conf
Commit message (Collapse)AuthorAgeFilesLines
* Add g_eli_key_cache.c to GELI.pjd2011-04-211-0/+1
| | | | MFC after: 2 weeks
* Implement very basic ALQ logging for net80211.adrian2011-04-212-0/+2
| | | | | | | | | This is destined to be a lightweight and optional set of ALQ probes for debugging events which are just impossible to debug with printf/log (eg packet TX/RX handling; AMPDU handling.) The probes and operations themselves will appear in subsequent commits.
* Add firmware images for the 6000 series g2a and g2b adapters.bschmidt2011-04-201-0/+28
|
* Update iwn(4) firmware blobs:bschmidt2011-04-201-6/+6
| | | | | | - bump iwn1000fw to 39.31.5.1 - bump iwn5000fw to 8.83.5.1 - bump iwn6050fw to 41.28.5.1
* Compile in in_cksum* implementations for both IPv6 and IPv6.bz2011-04-209-10/+10
| | | | | | | | | | | | | | | While in_pseudo() etc. is often used in offloading feature support, in_cksum() is mostly used to fix some broken hardware. Keeping both around for the moment allows us to compile NIC drivers even in an IPv6 only environment without the need to mangle them with #ifdef INETs in a way they are not prepared for. This will leave some dead code paths that will not be exercised for IPv6. Reviewed by: gnn Sponsored by: The FreeBSD Foundation Sponsored by: iXsystems MFC after: 3 days
* Remove support for the Intel C Compiler from the build infrastructure.dim2011-04-193-55/+13
| | | | | | This support has not worked for several years, and is not likely to work again, unless Intel decides to release a native FreeBSD version of their compiler. ;)
* Make in_proto.c dependent on either inet or inet6.bz2011-04-171-1/+1
| | | | | | | | | | | | | | | While it does not provide any functionality for IPv6, it provides the sysctl nodes for net.inet.* that a lot of functionality shared between IPv4 and IPv6 depends on. We cannot change these anymore without breaking a lot of management and tuning. In case of IPv6 only, we compile out everything but the sysctl node declarations. Reviewed by: gnn Sponsored by: The FreeBSD Foundation Sponsored by: iXsystems MFC After: 5 days
* Merge ACPICA 20110413.jkim2011-04-151-0/+1
|
* Bring over the antenna diversity logic support for Kite.adrian2011-04-131-0/+2
| | | | | Again, this is just the code ported from ath9k and included in the build, it isn't yet enabled.
* Add the initial AR9285 PHY glue for supporting antenna diversity.adrian2011-04-131-0/+2
| | | | This code isn't currently used anywhere; it's just linked into the build.
* Introduce geom_map, a GEOM provider designed for use byadrian2011-04-121-0/+1
| | | | | | | | | | | | | | | | | | | | | embedded flash stores. Some devices - notably those with uboot - don't have an explicit partition table (eg like Redboot's FIS.) geom_map thus provides an easy way to export the hard-coded flash layout as geom providers for use by filesystems and other tools. It also includes a "search" function which allows for dynamic creation of partition layouts where the device only has a single hard-coded partition. For example, if there is a "kernel+rootfs" partition, a single image can be created which appends the rootfs after the kernel with an appropriate search string. geom_map can be told to search for said search string and create a partition beginning after it. Submitted by: Aleksandr Rybalko <ray@dlink.ua>
* - Add kern.cam.ada.X.write_cache tunables/sysctls to control write cachingmav2011-04-081-0/+3
| | | | | | | on per-device basis. - While adding support for per-device sysctls, merge from graid branch support for ADA_TEST_FAILURE kernel option, which opens few more sysctl, allowing to simulate read and write errors for testing purposes.
* Put the ARGE_DEBUG behind a kernel config option.adrian2011-04-051-0/+5
|
* Import nvram2env, a device driver which imports various NVRAM-styleadrian2011-04-031-0/+2
| | | | | | | | | | environments into the kernel environment. The eventual aim is to replace these with specific drivers for the various bootloaders (redboot, uboot, etc.) This however will work for the time being until it can be properly addressed. Submitted by: Aleksandr Rybalko <ray@dlink.ua>
* Add 'mos' interface to NOTESkevlo2011-04-011-0/+3
|
* Introduce AH_AR5416_INTERRUPT_MITIGATION which enables interrupt mitigation foradrian2011-03-311-0/+3
| | | | the AR5416 and later. Rename the older HAL option to use this.
* Break out the ath PCI logic into a separate device/module.adrian2011-03-311-2/+6
| | | | | | | | | Introduce the AHB glue for Atheros embedded systems. Right now it's hard-coded for the AR9130 chip whose support isn't yet in this HAL; it'll be added in a subsequent commit. Kernel configuration files now need both 'ath' and 'ath_pci' devices; both modules need to be loaded for the ath device to work.
* Add rctl. It's used by racct to take user-configurable actions basedtrasz2011-03-303-0/+7
| | | | | | | | on the set of rules it maintains and the current resource usage. It also privides userland API to manage that ruleset. Sponsored by: The FreeBSD Foundation Reviewed by: kib (earlier version)
* Add racct. It's an API to keep per-process, per-jail, per-loginclasstrasz2011-03-293-0/+7
| | | | | | | | | and per-loginclass resource accounting information, to be used by the new resource limits code. It's connected to the build, but the code that actually calls the new functions will come later. Sponsored by: The FreeBSD Foundation Reviewed by: kib (earlier version)
* The new binutils has correctly redefined MAXPAGESIZE on amd64 as 0x200000alc2011-03-281-1/+2
| | | | | | | | | | | | | instead of 0x100000. As a side effect, an amd64 kernel now loads at physical address 0x200000 instead of 0x100000. This is probably for the best because it avoids the use of a 2MB page mapping for the first 1MB of the kernel that also spans the fixed MTRRs. However, getmemsize() still thinks that the kernel loads at 0x100000, and so the physical memory between 0x100000 and 0x200000 is lost. Fix this problem by replacing the hard-wired constant in getmemsize() by a symbol "kernphys" that is defined by the linker script. In collaboration with: kib
* Rename AH_ENABLE_11N to ATH_ENABLE_11 - the HAL supports 11n byadrian2011-03-271-1/+1
| | | | | default but the ath driver doesn't. This is a much more consistent name.
* Add an option - AR71XX_REALMEM - which overrides the amount ofadrian2011-03-271-0/+6
| | | | | | | | | | | | memory detected from Redboot, or overrides the "otherwise" case if no Redboot information was found. Some AR71XX platforms don't use Redboot (eg TP-LINK devices using UBoot; some later Ubiquiti devices which apparently also use UBoot) and at least one plain out lies - the Ubiquiti LS-SR71A Redboot says there's 16mb of RAM when in fact there's 32mb. A more "clean" solution will be needed at a later date.
* - Merge the *_SET macros from fire(4) which generally print out themarius2011-03-262-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | register changes when compiled with SCHIZO_DEBUG and take advantage of them. - Add support for the XMITS Fireplane/Safari to PCI-X bridges. I tought I'd need this for a Sun Fire 3800, which then turned out to not being equipped with such a bridge though. The support for these should be complete but given that it hasn't actually been tested probing is disabled for now. This required a way to alter the XMITS configuration in case a PCI-X device is found further down the device tree so the sparc64 specific ofw_pci kobj was revived with a ofw_pci_setup_device method, which is called by the ofw_pcibus code for every device added. - A closer inspection of the OpenSolaris code indicates that consistent DMA flushing/syncing as well as the block store workaround should be applied with every BUS_DMASYNC_POSTREAD instead of in a wrapper around interrupt handlers for devices behind PCI-PCI bridges only as suggested by the documentation (code for the latter actually exists in OpenSolaris but is disabled by default), which also makes more sense. - Add a workaround for Casinni/Skyhawk combinations. Chances are that this solves the crashes seen when using the the on-board Casinni NICs of Sun Fire V480 equipped with centerplanes other than 501-6780 or 501-6790. This also takes advantage of the ofw_pci_setup_device method. - Mark some unused parameters as such.
* MFgraid/head:mav2011-03-243-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add new RAID GEOM class, that is going to replace ataraid(4) in supporting various BIOS-based software RAIDs. Unlike ataraid(4) this implementation does not depend on legacy ata(4) subsystem and can be used with any disk drivers, including new CAM-based ones (ahci(4), siis(4), mvs(4), ata(4) with `options ATA_CAM`). To make code more readable and extensible, this implementation follows modular design, including core part and two sets of modules, implementing support for different metadata formats and RAID levels. Support for such popular metadata formats is now implemented: Intel, JMicron, NVIDIA, Promise (also used by AMD/ATI) and SiliconImage. Such RAID levels are now supported: RAID0, RAID1, RAID1E, RAID10, SINGLE, CONCAT. For any all of these RAID levels and metadata formats this class supports full cycle of volume operations: reading, writing, creation, deletion, disk removal and insertion, rebuilding, dirty shutdown detection and resynchronization, bad sector recovery, faulty disks tracking, hot-spare disks. For Intel and Promise formats there is support multiple volumes per disk set. Look graid(8) manual page for additional details. Co-authored by: imp Sponsored by: Cisco Systems, Inc. and iXsystems, Inc.
* Flip this over to be a configurable option for people who wish to play with it.adrian2011-03-221-0/+1
| | | | | | It's still not ready for prime-time - there's some TX niggles with these 11n cards that I'm still trying to wrap my head around, and AMPDU-TX is just not implemented so things will come to a crashing halt if you're not careful.
* Fix switching to physical mode as part of calling into EFI runtimemarcel2011-03-211-0/+1
| | | | | | | | | | | | | | | | | services or PAL procedures. The new implementation is based on specific functions that are known to be called in certain scenarios only. This in particular fixes the PAL call to obtain information about translation registers. In general, the new implementation does not bank on virtual addresses being direct-mapped and will work when the kernel uses PBVM. When new scenarios need to be supported, new functions are added if the existing functions cannot be changed to handle the new scenario. If a single generic implementation is possible, it will become clear in due time. While here, change bootinfo to a pointer type in anticipation of future development.
* - Merge changes to the base system to support OFED. These includejeff2011-03-213-0/+291
| | | | | a wider arg2 for sysctl, updates to vlan code, IFT_INFINIBAND, and other miscellaneous small features.
* Retire opt_ffs_broken_fixme.h.kib2011-03-201-3/+1
| | | | | | | | Instead of directly calling ffs_snapgone(), use UFS_SNAPGONE() with usual layering. Requested by: bde MFC after: 1 week
* o Move the IVT and supporting functions to the front of the textmarcel2011-03-181-24/+26
| | | | | | | segment so that it's always mapped by the loader. o Change the alternate fault handlers to account for PBVM. Since currently the region is handled by the VHPT, no alternate faults will be generated for it.
* - Initial release of bxe(4) to support Broadcom NetXtreme II 10GbE.davidch2011-03-143-0/+10
| | | | | | (BCM57710, BCM57711, BCM57711E) MFC after: One month
* INET6 for some time needed in_pcb.c so make sure we compile it in case ofbz2011-03-121-1/+1
| | | | | | no inet. MFC after: 2 weeks
* Port over the AR9285 PA calibration and initial calibration code fromadrian2011-03-111-0/+2
| | | | | | | | | | | | Linux ath9k. The ath9k ar9002_hw_init_cal() isn't entirely clear about what is supposed to be called for what chipsets, so I'm ignoring the rest of it and just porting the AR9285 init cal path as-is and leaving the rest alone. Subsequent commits may also tidy up the Merlin (AR9285) and other chipset support. Obtained from: Linux ath9k
* Implement open-loop TX power control (OLC) for Merlin (AR9280) andadrian2011-03-081-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | generally tidy up the TX power programming code. Enforce that the TX power offset for Merlin is -5 dBm, rather than any other value programmable in the EEPROM. This requires some further code to be ported over from ath9k, so until that is done and tested, fail to attach NICs whose TX power offset isn't -5 dBm. This improves both legacy and HT transmission on my merlin board. It allows for stable MCS TX up to MCS15. Specifics: * Refactor out a bunch of the TX power calibration code - setting/obtaining the power detector / gain boundaries, programming the PDADC * Take the -5 dBm TX power offset into account on Merlin - "0" in the per-rate TX power register means -5 dBm, not 0 dBm * When doing OLC * Enforce min (0) and max (AR5416_MAX_RATE_POWER) when fiddling with the TX power, to avoid the TX power values from wrapping when low. * Implement the 1 dBm cck power offset when doing OLC * Implement temperature compensation for 2.4ghz mode when doing OLC * Implement an AR9280 specific TX power calibration routine which includes the OLC twiddles, leaving the earlier chipset path (AR5416, AR9160) alone Whilst here, use these refactored routines for the AR9285 TX power calibration/programming code and enforce correct overflow/underflow handling when fiddling with TX power values. Obtained from: linux ath9k
* Add two new system calls, setloginclass(2) and getloginclass(2). This makestrasz2011-03-051-0/+1
| | | | | | | | | it possible for the kernel to track login class the process is assigned to, which is required for RCTL. This change also make setusercontext(3) call setloginclass(2) and makes it possible to retrieve current login class using id(1). Reviewed by: kib (as part of a larger patch)
* - Remove dependency to ucom from ulpt.hselasky2011-03-031-1/+1
| | | | | MFC after: 14 days Approved by: thompsa (mentor)
* Break the keycache management functions out into if_ath_keycache.c .adrian2011-03-021-0/+2
|
* Add support for NetFlow version 9 into ng_netflow(4) node.glebius2011-03-021-0/+1
| | | | Submitted by: Alexander V. Chernikov <melifaro ipfw.ru>
* Migrate the sysctl related routines (statistics, debugging, etc) out ofadrian2011-03-021-0/+2
| | | | if_ath.c and into if_ath_sysctl.c .
* Correct spelling in a last-minute tweaked NOTES entry for CAPABILITIES.rwatson2011-03-011-1/+1
| | | | | | | Submitted by: netchild Sponsored by: Google, Inc. Obtained from: Capsicum Project MFC after: 3 months
* Hook up sys_capability.c to the build.rwatson2011-03-011-0/+1
| | | | | | | | Sponsored by: Google, Inc. Reviewed by: anderson Discussed with: benl, kris, pjd Obtained from: Capsicum Project MFC after: 3 months
* Add initial support for Capsicum's Capability Mode to the FreeBSD kernel,rwatson2011-03-012-0/+4
| | | | | | | | | | | | | | | | | | compiled conditionally on options CAPABILITIES: Add a new credential flag, CRED_FLAG_CAPMODE, which indicates that a subject (typically a process) is in capability mode. Add two new system calls, cap_enter(2) and cap_getmode(2), which allow setting and querying (but never clearing) the flag. Export the capability mode flag via process information sysctls. Sponsored by: Google, Inc. Reviewed by: anderson Discussed with: benl, kris, pjd Obtained from: Capsicum Project MFC after: 3 months
* Clang now supports profiling, so remove the part that says it doesn'tdim2011-02-201-2/+2
| | | | from sys/conf/kern.pre.mk.
* Upgrade our copy of llvm/clang to r126079, from upstream's trunk.dim2011-02-202-0/+14
| | | | | This contains many improvements, primarily better C++ support, an integrated assembler for x86 and support for -pg.
* Turn off default generation of userland dot symbols on powerpc64 now thatnwhitehorn2011-02-181-0/+7
| | | | | we have a binutils that supports it. Kernel dot symbols remain on to assist DDB.
* Merge binutils 2.17.50 to head. This brings a number of improvements todim2011-02-184-115/+227
|\ | | | | | | | | | | | | | | | | x86 CPU support, better support for powerpc64, some new directives, and many other things. Bump __FreeBSD_version, and add a note to UPDATING. Thanks to the many people that have helped to test this. Obtained from: projects/binutils-2.17
| * Sync: merge r216133 through r216338 from ^/head.dim2010-12-095-6/+10
| |\
| * | For ia64, add a proper 'elf64-ia64-freebsd' output format to BFD, so thedim2010-12-051-1/+1
| | | | | | | | | | | | | | | | | | ELF branding for FreeBSD is done in the same way as amd64, i386 and sparc. Something similar should probably also be done for arm, mips and powerpc.
| | |
| | \
| *-. \ Sync: merge r215944 through r216132 from ^/head.dim2010-12-024-1/+12
| |\ \ \
| * \ \ \ Sync: merge r215464 through r215708 from ^/head.dim2010-11-221-0/+1
| |\ \ \ \
| * \ \ \ \ Sync: merge r215189 through r215272 from ^/head.dim2010-11-142-12/+20
| |\ \ \ \ \
OpenPOWER on IntegriCloud