summaryrefslogtreecommitdiffstats
path: root/sys/modules
Commit message (Collapse)AuthorAgeFilesLines
* Link pf 4.1 to the build:mlaier2007-07-032-0/+7
| | | | | | | | - move ftp-proxy from libexec to usr.sbin - add tftp-proxy - new altq mtag link Approved by: re (kensmith)
* fix ia64 buildsam2007-06-301-2/+10
| | | | Approved by: re (followup to previous commit)
* Neterion Xframe 10GbE Server/Storage adapter driver.sam2007-06-292-0/+47
| | | | | | | | | | | The nxge driver provides support for Neterion Xframe-I and Xframe-II adapters. The driver supports TCP Segmentation Offload (TSO/LSO), Jumbo frames (5 buffer mode), Header separation (2 and 3 Receive buffer modes), VLAN, and Promiscuous mode. Submitted by: Neterion Reviewed by: rwatson Approved by: re (kensmith)
* import opt_ah.h for newer hal's that optionally include 11n supportsam2007-06-292-2/+30
| | | | | Approved by: re (kensmith) MFC after: 2 weeks
* MFp4:delphij2007-06-291-2/+1
| | | | | | | | | | | | | - Remove unnecessary NULL checks after M_WAITOK allocations. - Use VOP_ACCESS instead of hand-rolled suser_cred() calls. [1] - Use malloc(9) KPI to allocate memory for string. The optimization taken from NetBSD is not valid for FreeBSD because our malloc(9) already act that way. [2] Requested by: rwatson [1] Submitted by: Howard Su [2] Approved by: re (tmpfs blanket)
* - Remove UMAP filesystem. It was disconnected from build three years ago,rafan2007-06-251-9/+0
| | | | | | | and it is seriously broken. Discussed on: freebsd-arch@ Approved by: re (mux)
* Make acpica include path relative, not absolute.njl2007-06-241-1/+1
| | | | Approved by: re
* The viapm module build had what appear to be some debugging CFLAGS leftnjl2007-06-242-2/+0
| | | | | | | | | | | | around to force the IO port to a fixed address. They were only turned on in the module build and were present since the original import. This breaks soft power-off on the Asus A7V since it reprograms the SMBus base address to a different one than the BIOS expects. A similar issue was found in the alpm(4) module build. PR: kern/113986, i386/97468 MFC after: 3 days Approved by: re
* Use .CURDIR when referring source code. This fixes builddelphij2007-06-201-1/+1
| | | | | | | | when 'make obj' was done first. I found this when fixing a problem reported by tinderbox, but forgot to send the patchset to re@ altogether. Approved by: re (kensmith)
* MFp4: Add tmpfs, an efficient memory file system.delphij2007-06-162-0/+13
| | | | | | | | | | | | | | | | | | | | Please note that, this is currently considered as an experimental feature so there could be some rough edges. Consult http://wiki.freebsd.org/TMPFS for more information. For now, connect tmpfs to build on i386 and amd64 architectures only. Please let us know if you have success with other platforms. This work was developed by Julio M. Merino Vidal for NetBSD as a SoC project; Rohit Jalan ported it from NetBSD to FreeBSD. Howard Su and Glen Leeder are worked on it to continue this effort. Obtained from: NetBSD via p4 Submitted by: Howard Su (with some minor changes) Approved by: re (kensmith)
* - import new common code for the T304kmacy2007-06-131-8/+8
| | | | | | | | | | | | | | | | | | | | | | | - update to firmware version 4.1.0 - switch over to standard method for initializing cdevs (contributed by scottl@) - break out timer_reclaim_task to be per-port - move msix teardown into separate function - fix bus_setup_intr for msi-x for the multi-port case so that msi-x resources are not corrupted on unload - handle 10/100/1000 base-T media and auto negotiation - bind qset to cpu even for singleq case - white space cleanups - remove recursive PORT_LOCK - move mtu setting to separate function - stop and re-init port when changing mtu - replace all direct references to m_data with calls to mtod - handle attach failure better by not trying to de-initialize taskqueues when they have not been allocated - no longer default to jumbo frames Sponsored by: Chelsio MFC after: 3 days
* Options spring cleanup:sepotvin2007-06-131-2/+4
| | | | | | | | | | - Add and document the KVM and KVM_SUPPORT options that are needed for the ifmcstats(3) makefile - Garbage collect unused variables - Add missing inclusion of bsd.own.mk where needed Approved by: kan (mentor) Reviewed by: ru
* Add new files in the net80211 changes.thompsa2007-06-111-1/+3
|
* Update 802.11 wireless support:sam2007-06-113-0/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | o major overhaul of the way channels are handled: channels are now fully enumerated and uniquely identify the operating characteristics; these changes are visible to user applications which require changes o make scanning support independent of the state machine to enable background scanning and roaming o move scanning support into loadable modules based on the operating mode to enable different policies and reduce the memory footprint on systems w/ constrained resources o add background scanning in station mode (no support for adhoc/ibss mode yet) o significantly speedup sta mode scanning with a variety of techniques o add roaming support when background scanning is supported; for now we use a simple algorithm to trigger a roam: we threshold the rssi and tx rate, if either drops too low we try to roam to a new ap o add tx fragmentation support o add first cut at 802.11n support: this code works with forthcoming drivers but is incomplete; it's included now to establish a baseline for other drivers to be developed and for user applications o adjust max_linkhdr et. al. to reflect 802.11 requirements; this eliminates prepending mbufs for traffic generated locally o add support for Atheros protocol extensions; mainly the fast frames encapsulation (note this can be used with any card that can tx+rx large frames correctly) o add sta support for ap's that beacon both WPA1+2 support o change all data types from bsd-style to posix-style o propagate noise floor data from drivers to net80211 and on to user apps o correct various issues in the sta mode state machine related to handling authentication and association failures o enable the addition of sta mode power save support for drivers that need net80211 support (not in this commit) o remove old WI compatibility ioctls (wicontrol is officially dead) o change the data structures returned for get sta info and get scan results so future additions will not break user apps o fixed tx rate is now maintained internally as an ieee rate and not an index into the rate set; this needs to be extended to deal with multi-mode operation o add extended channel specifications to radiotap to enable 11n sniffing Drivers: o ath: add support for bg scanning, tx fragmentation, fast frames, dynamic turbo (lightly tested), 11n (sniffing only and needs new hal) o awi: compile tested only o ndis: lightly tested o ipw: lightly tested o iwi: add support for bg scanning (well tested but may have some rough edges) o ral, ural, rum: add suppoort for bg scanning, calibrate rssi data o wi: lightly tested This work is based on contributions by Atheros, kmacy, sephe, thompsa, mlaier, kevlo, and others. Much of the scanning work was supported by Atheros. The 11n work was supported by Marvell.
* Connect icsphy(4) to the build.yongari2007-06-111-1/+1
|
* Add ofw_bus_if.h as a dependency on sparc64. Without this sparc64 kernelkensmith2007-06-101-0/+4
| | | | | | | | builds had been succeeding if run serially but could fail if run in parallel because the bge module build might start before ofw_bus_if.h got created as part of the mainline kernel build. Diagnosis and patch by: ru
* - Reduce number of atomic operations needed to be implemented in asm bypjd2007-06-081-0/+5
| | | | | | | implementing some of them using existing ones. - Allow to compile ZFS on all archs and use atomic operations surrounded by global mutex on archs we don't have or can't have all atomic operations needed by ZFS.
* Fix a breakage with "MODULES_WITH_WORLD=true make buildworld".simokawa2007-06-011-2/+5
| | | | PR: kern/11320
* Last major commit and updates for RELENG_7:ariff2007-05-311-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Rework the entire pcm_channel structure: * Remove rarely used link placeholder, instead, make each pcm_channel as head/link of each own/each other. Unlock - Lock sequence due to sleep malloc has been reduced. * Implement "busy" queue which will contain list of busy/active channels. This greatly reduce locking contention for example while servicing interrupt for hardware with many channels or when virtual channels reach its 256 peak channels. - So I heard you like v chan ... O RLY? Welcome to Virtual **Record** Channels (vrec, rec vchans, vchans for recording, Rec-Chan, you decide), the ultimate solutions for your nagging O_RDWR full-duplex wannabe (note: flash plugins) monopolizing single record channel causing EBUSY. Vrec works exactly like Vchans (or, should I rename it to "Vplay" :) , except that it operates on the opposite direction (recording). Up to 256 vrecs (like vchans) are possible. Notes: * Relocate dev.pcm.%d.{vchans,vchanformat,vchanrate} to each of its respective node/direction: dev.pcm.%d.play.* for "play" (cdev = dsp%d.vp%d) dev.pcm.%d.rec.* for "record" (cdev = dsp%d.vr%d) * Don't expect that it will magically give you ability to split "recording source" (eg: 1 channel for cdrom, 1 channel for mic, etc). Just admit that you only have a *single* recording source / channel. Please bug your hardware vendor instead :) - Bump maxautovchans from 4 to 16. For a full-fledged multimedia desktop/workstation with too many soundservers installed (esound, artsd, jackd, pulse/polypaudio, ding-dong pling plong mudkip fuh fuh, etc), 4 seems inadequate. There will be no memory penalty here, since virtual channels are allocate only by demand. - Nuke/Rework the entire statically created cdev entries. Everything is clonable through snd own clone manager which designed to withstand many kind of abusive devfs droids such as: * while : ; do /bin/test -e /dev/dsp ; done * jot 16777216 0 | while read x ; do ls /dev/dsp0.$x ; done * hundreds (could be thousands) concurrent threads/process opening "/dev/dsp" (previously, this might result EBUSY even with just 3 contesting threads/procs). o Reusable clone objects (instead of creating new one like there's no tomorrow) after certain expiration deadline. The clone allocator will decide whether to reuse, share, or creating new clone. o Automatic garbage collector. - Dynamic unit magic allocator. Maximum attached soundcards can be tuned using tunable "hw.snd.maxunit" (Default to 512). Minimum is 16, and maximum is 2048. - ..other fixes, mostly related to concurrency issues. joel@ will do the manpage updates on sound(4). Have fun.
* When building cxgb as a module make include paths relative to the driver's root.kmacy2007-05-281-1/+1
| | | | | | This will make it possible to build the module out of tree against an older src tree. MFC after: 3 days
* (MFp4)kmacy2007-05-251-6/+8
| | | | | | | | | | - upgrade to reflect state of 1.0.0.86 - move from firmware rev 3.2 to 4.0.0 - import driver bits for offload functionality - remove binary distribution clause from top level files as it runs counter to the intent of purely supporting the hardware MFC after: 3 days
* FreeBSD's namecache works quite well with ZFS, so remove DNLC.pjd2007-05-231-1/+0
|
* Fix the dependency for the linux_support.s, explicitely add linux_assym.h.kib2007-05-231-1/+1
| | | | | | Reported by: rwatson In collaboration with: rdivacky Sponsored by: Google SoC 2007
* Move futex support code from <arch>/support.s into linux compat directory.kib2007-05-231-2/+10
| | | | | | | | | | Implement all futex atomic operations in assembler to not depend on the fuword() that does not allow to distinguish between -1 and failure return. Correctly return 0 from atomic operations on success. In collaboration with: rdivacky Tested by: Scot Hetzel <swhetzel gmail com>, Milos Vyletel <mvyletel mzm cz> Sponsored by: Google SoC 2007
* Hook mxge_lro.c to the build so that the if_mxge.ko modulegallatin2007-05-221-1/+1
| | | | will load.
* Add the 'mfip' sub-driver for gaining SCSI-passthrough access to devicesscottl2007-05-162-2/+14
| | | | on an MFI controller.
* A node that implements various traffic shaping and rate limiting algorithms.mav2007-05-152-0/+7
| | | | Approved by: glebius (mentor)
* Integrate the Camellia Block Cipher. For more information see RFC 4132gnn2007-05-091-1/+2
| | | | | | | and its bibliography. Submitted by: Tomoyuki Okazaki <okazaki at kick dot gr dot jp> MFC after: 1 month
* It turns out that the hptiop driver isn't portable after all. Confine it toscottl2007-05-091-1/+3
| | | | amd64 and i386 for now.
* Introduce a driver for the Highpoint RocketRAID 3xxx series of controllers.scottl2007-05-092-0/+11
| | | | | | The driver relies on CAM. Many thanks to Highpoint for providing this driver.
* Import version 3.60.03.006 of the TWA driver:scottl2007-05-091-29/+2
| | | | | | | | | | | | | | | | This patch does the following: - Remove un-necessary code that is not even compiling into the driver under TW_OSL_NON_DMA_MEM_ALLOC_PER_REQUEST defines. - Remove bundled firmware image and associated "files" entry for tw_cl_fwimg.c - Remove bundled firmware flashing routines. We now have tw_update userspace FreeBSD controller flash utility. - Fix driver crash on load due to shared interrupt. - Fix 2 lock leaks for Giant lock. - Fix CCB leak. - Add support for 9650SE controllers. Many thanks to 3Ware/AMCC for continuing to support FreeBSD.
* Fix kldloading if_em by compiling missing source file.le2007-05-071-1/+1
|
* Add support for Ralink Technology RT2501USB/RT2601USB devices.kevlo2007-05-062-0/+9
| | | | | Reviewed by: sam, sephe Obtained from: OpenBSD
* Place a '#' at the front of the line holding a $FreeBSD$ ID tag. Whilerwatson2007-05-041-1/+1
| | | | it actually compiles without this, it's still a good idea.
* Absolute pathname in the Makefile was broken, thisjfv2007-05-041-3/+1
| | | | version should work correctly.
* Merge in the new driver (6.5.0) of Intel. This has a newjfv2007-05-041-5/+19
| | | | | | | | | | | | | | | | shared code infrastructure that is family specific and modular. There is also support for our latest gigabit nic, the 82575 that is MSI/X and multiqueue capable. The new shared code changes some interfaces to the core code but testing at Intel has been going on for months, it is fairly stable. I have attempted to be careful in retaining any fixes that CURRENT had and we did not, I apologize in advance if any thing gets clobbered, I'm sure I'll hear about it :) Approved by pdeuskar
* MFp4: Now that ZFS can use FreeBSD's namecache, turn it off by default andpjd2007-04-241-0/+3
| | | | turn off DNLC, but don't remove DNLC yet just in case.
* Rename the trunk(4) driver to lagg(4) as it is too similar to vlan trunking.thompsa2007-04-172-3/+3
| | | | | | | | | | | The name trunk is misused as the networking term trunk means carrying multiple VLANs over a single connection. The IEEE standard for link aggregation (802.3 section 3) does not talk about 'trunk' at all while it is used throughout IEEE 802.1Q in describing vlans. The lagg(4) driver provides link aggregation, failover and fault tolerance. Discussed on: current@
* On i386 compile the back-end with EISA support as well as the EISAmarius2007-04-101-3/+23
| | | | | | | | | | front-end if the dpt(4) module is built along with a kernel that includes eisa(4) or when compiling it stand-alone (logic based on the corresponding ISA logic in sys/modules/sound/sound/Makefile). As as side-effect this fixes the stand-alone build of the dpt(4) module after dpt.h 1.17, dpt_eisa.c 1.22 and dpt_scsi.c 1.55. Breakage reported by: n_hibma
* Add trunk(4) module.thompsa2007-04-102-0/+20
|
* The old PacketAlias* API is not exported whenpiso2007-04-091-1/+1
| | | | libalias run in kernel land.
* MFp4: Synchronize with recent OpenSolaris changes.pjd2007-04-081-0/+1
|
* hook uipc_mvec.c into buildkmacy2007-04-081-1/+2
|
* Move atomic.S files to directories that better fit OpenSolaris directorypjd2007-04-071-1/+1
| | | | layout.
* Add the CAM 'SG' peripheral device. This device implements a subset of thescottl2007-04-071-0/+1
| | | | | | | | | | | | | | | | | | | | | | | Linux SCSI SG passthrough device API. The intention is to allow for both running of Linux apps that want to talk to /dev/sg* nodes, and to facilitate porting of apps from Linux to FreeBSD. As such, both native and linuxolator entry points and definitions are provided. Caveats: - This does not support the procfs and sysfs nodes that the Linux SG driver provides. Some Linux apps may rely on these for operation, others may only use them for informational purposes. - More ioctls need to be implemented. - Linux uses a naming scheme of "sg[a-z]" for devices, while FreeBSD uses a scheme of "sg[0-9]". Devfs aliasis (symlinks) are automatically created to link the two together. However, tools like camcontrol only see the native names. - Some operations were originally designed to return byte counts or other data directly as the syscall return value. The linuxolator doesn't appear to support this well, so this driver just punts for these cases. Now that the driver is in place, others are welcome to add missing functionality. Thanks to Roman Divacky for pushing this work along.
* Build ZFS on amd64 and pc98.des2007-04-071-3/+6
| | | | Approved by: pjd@
* back out last changekmacy2007-04-071-1/+1
| | | | Requested by: ru
* make modules compile without updating etckmacy2007-04-061-1/+1
|
* Connect ZFS to the build.pjd2007-04-061-0/+4
|
* Add Makefile for zfs.ko kernel module.pjd2007-04-061-0/+87
|
OpenPOWER on IntegriCloud