aboutsummaryrefslogtreecommitdiff
path: root/sys/modules/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* Remove the rr232x driver. It has been superseced by the hptrr driver.Scott Long2008-02-061-3/+0
| | | | | | | Approved by: re Notes: svn path=/releng/7.0/; revision=176023
* Add the hptrr driver.Scott Long2007-12-151-0/+3
| | | | | | | | Submitted by: Highpoint Approved by: re Notes: svn path=/stable/7/; revision=174610
* MFC rev 1.5 if_wpi.cBenjamin Close2007-12-081-0/+6
| | | | | | | | | | | | | | | | | | MFC rev 1.2 if_wpireg.h MFC rev 1.1 if_wpivar.h MFC rev 1.3 wpi.4 o Initial Import of Intel 3945abg Wireless Lan Controller (wpi) driver o Turn off debug output o Fix WEP compatiblity o Handle missed beacons correctly MFC includes firmware & LICENSE as well. Approved by: re (kensmith), mlaier (comentor) Notes: svn path=/stable/7/; revision=174446
* add zydSam Leffler2007-11-041-1/+2
| | | | | | | Approved by: re (kensmith) Notes: svn path=/stable/7/; revision=173332
* MFC: revision 1.546Yoshihiro Takahashi2007-10-301-2/+2
| | | | | | | | | Disable the coretemp and nvram on pc98. Approved by: re (kensmith) Notes: svn path=/stable/7/; revision=173167
* MFC: split nvram out of isa/clock.c into its own device (default to off).Peter Wemm2007-10-291-2/+4
| | | | | | | | | | This matches the 6.x and earlier behavior where there is no (marginally useful) /dev/nvram. When it was in isa/clock.c, it was mandatory. Approved by: re (kensmith) Notes: svn path=/stable/7/; revision=173161
* o Revert the part of if_gem.c rev. 1.35 which added a call to gem_stop()Marius Strobl2007-09-261-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to gem_attach() as the former access softc members not yet initialized at that time and gem_reset() actually is enough to stop the chip. [1] o Revise the use of gem_bitwait(); add bus_barrier() calls before calling gem_bitwait() to ensure the respective bit has been written before we starting polling on it and poll for the right bits to change, f.e. even though we only reset RX we have to actually wait for both GEM_RESET_RX and GEM_RESET_TX to clear. Add some additional gem_bitwait() calls in places we've been missing them according to the GEM documentation. Along with this some excessive DELAYs, which probably only were added because of bugs in gem_bitwait() and its use in the first place, as well as as have of an gem_bitwait() reimplementation in gem_reset_tx() were removed. o Add gem_reset_rxdma() and use it to deal with GEM_MAC_RX_OVERFLOW errors more gracefully as unlike gem_init_locked() it resets the RX DMA engine only, causing no link loss and the FIFOs not to be cleared. Also use it deal with GEM_INTR_RX_TAG_ERR errors, with previously were unhandled. This was based on information obtained from the Linux GEM and OpenSolaris ERI drivers. o Turn on workarounds for silicon bugs in the Apple GMAC variants. This was based on information obtained from the Darwin GMAC and Linux GEM drivers. o Turn on "infinite" (i.e. maximum 31 * 64 bytes in length) DMA bursts. This greatly improves especially RX performance. o Optimize the RX path, this consists of: - kicking the receiver as soon as we've a spare descriptor in gem_rint() again instead of just once after all the ready ones have been handled; - kicking the receiver the right way, i.e. as outlined in the GEM documentation in batches of 4 and by pointing it to the descriptor after the last valid one; - calling gem_rint() before gem_tint() in gem_intr() as gem_tint() may take quite a while; - doubling the size of the RX ring to 256 descriptors. Overall the RX performance of a GEM in a 1GHz Sun Fire V210 was improved from ~100Mbit/s to ~850Mbit/s. o In gem_add_rxbuf() don't assign the newly allocated mbuf to rxs_mbuf before calling bus_dmamap_load_mbuf_sg(), if bus_dmamap_load_mbuf_sg() fails we'll free the newly allocated mbuf, unable to recycle the previous one but a NULL pointer dereference instead. o In gem_init_locked() honor the return value of gem_meminit(). o Simplify gem_ringsize() and dont' return garbage in the default case. Based on OpenBSD. o Don't turn on MAC control, MIF and PCS interrupts unless GEM_DEBUG is defined as we don't need/use these interrupts for operation. o In gem_start_locked() sync the DMA maps of the descriptor rings before every kick of the transmitter and not just once after enqueuing all packets as the NIC might instantly start transmitting after we kicked it the first time. o Keep state of the link state and use it to enable or disable the MAC in gem_mii_statchg() accordingly as well as to return early from gem_start_locked() in case the link is down. [3] o Initialize the maximum frame size to a sane value. o In gem_mii_statchg() enable carrier extension if appropriate. o Increment if_ierrors in case of an GEM_MAC_RX_OVERFLOW error and in gem_eint(). [3] o Handle IFF_ALLMULTI correctly; don't set it if we've turned promiscuous group mode on and don't clear the flag if we've disabled promiscuous group mode (these were mostly NOPs though). [2] o Let gem_eint() also report GEM_INTR_PERR errors. o Move setting sc_variant from gem_pci_probe() to gem_pci_attach() as device probe methods are not supposed to touch the softc. o Collapse sc_inited and sc_pci into bits for sc_flags. o Add CTASSERTs ensuring that GEM_NRXDESC and GEM_NTXDESC are set to legal values. o Correctly set up for 802.3x flow control, though #ifdef out the code that actually enables it as this needs more testing and mainly a proper framework to support it. o Correct and add some conversions from hard-coded functions names to __func__ which were borked or forgotten in if_gem.c rev. 1.42. o Use PCIR_BAR instead of a homegrown macro. o Replace sc_enaddr[6] with sc_enaddr[ETHER_ADDR_LEN]. o In gem_pci_attach() in case attaching fails release the resources in the opposite order they were allocated. o Make gem_reset() static to if_gem.c as it's not needed outside that module. o Remove the GEM_GIGABIT flag and the associated code; GEM_GIGABIT was never set and the associated code was in the wrong place. o Remove sc_mif_config; it was only used to cache the contents of the respective register within gem_attach(). o Remove the #ifdef'ed out NetBSD/OpenBSD code for establishing a suspend hook as it will never be used on FreeBSD. o Also probe Apple Intrepid 2 GMAC and Apple Shasta GMAC, add support for Apple K2 GMAC. Based on OpenBSD. o Add support for Sun GBE/P cards, or in other words actually add support for cards based on GEM to gem(4). This mainly consists of adding support for the TBI of these chips. Along with this the PHY selection code was rewritten to hardcode the PHY number for certain configurations as for example the PHY of the on-board ERI of Blade 1000 shows up twice causing no link as the second incarnation is isolated. These changes were ported from OpenBSD with some additional improvements and modulo some bugs. o Add code to if_gem_pci.c allowing to read the MAC-address from the VPD on systems without Open Firmware. This is an improved version of my variant of the respective code in if_hme_pci.c o Now that gem(4) is MI enable it for all archs. Pointed out by: yongari [1] Suggested by: rwatson [2], yongari [3] Tested on: i386 (GEM), powerpc (GMACs by marcel and yongari), sparc64 (ERI and GEM) Reviewed by: yongari Approved by: re (kensmith) Notes: svn path=/head/; revision=172334
* Add a driver for the on-die digital thermal sensor found on Intel CoreDag-Erling Smørgrav2007-08-151-0/+3
| | | | | | | | | | | | | | | | and newer CPUs (including Core 2 and Core / Core 2 based Xeons). The driver attaches to each cpu device and creates a sysctl node in that device's sysctl context (dev.cpu.N.temperature). When invoked, the handler binds to the appropriate CPU to ensure a correct reading. Submitted by: Rui Paulo <rpaulo@fnop.net> Sponsored by: Google Summer of Code 2007 Tested by: des, marcus, Constantine A. Murenin, Ian FREISLICH Approved by: re (kensmith) MFC after: 3 weeks Notes: svn path=/head/; revision=171854
* Attach the iscsi module build.Scott Long2007-07-241-0/+1
| | | | | | | Approved by: re Notes: svn path=/head/; revision=171569
* - Enable static building of mxge(4) and its firmware.Andrew Gallatin2007-07-191-3/+1
| | | | | | | | | | | | | | | | | | | | | - Add custom .c wrappers for the firmware, rather than the standard firmware(9) generated firmware objects to work around toolchain problems on ia64 involving linking objects produced by ld -b -binary into the kernel. - Move from using Myricom's ".dat" firmware blobs to using Myricom's zlib compressed ".h" firmware header files. This is done to facilitate the custom wrappers, and saves a fair amount of wired memory in the case where the firmware is built in, or preloaded. - Fix two compile issues in mxge which only appear on non-i386/amd64. Reviewed by: mlaier, mav (earlier version with just zlib support) Glanced at by: sam Approved by: re (kensmith) Notes: svn path=/head/; revision=171500
* Disconnect netatm from the build as it is not MPSAFE and relies onRobert Watson2007-07-141-3/+10
| | | | | | | | | | | | | | | | | | | | | | | NET_NEEDS_GIANT, which will shortly be removed. This is done in a away that it may be easily reattached to the build before 7.1 if appropriate locking is added. Specifics: - Don't install netatm include files - Disconnect netatm command line management tools - Don't build libatm - Don't include ATM parts in rescue or sysinstall - Don't install sample configuration files and documents - Don't build kernel support as a module or in NOTES - Don't build netgraph wrapper nodes for netatm This removes the last remaining consumer of NET_NEEDS_GIANT. Reviewed by: harti Discussed with: bz, bms Approved by: re (kensmith) Notes: svn path=/head/; revision=171453
* fix ia64 buildSam Leffler2007-06-301-2/+10
| | | | | | | Approved by: re (followup to previous commit) Notes: svn path=/head/; revision=171103
* Neterion Xframe 10GbE Server/Storage adapter driver.Sam Leffler2007-06-291-0/+3
| | | | | | | | | | | | | | 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) Notes: svn path=/head/; revision=171095
* MFp4: Add tmpfs, an efficient memory file system.Xin LI2007-06-161-0/+3
| | | | | | | | | | | | | | | | | | | | | | | 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) Notes: svn path=/head/; revision=170808
* Update 802.11 wireless support:Sam Leffler2007-06-111-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. Notes: svn path=/head/; revision=170530
* It turns out that the hptiop driver isn't portable after all. Confine it toScott Long2007-05-091-1/+3
| | | | | | | amd64 and i386 for now. Notes: svn path=/head/; revision=169421
* Introduce a driver for the Highpoint RocketRAID 3xxx series of controllers.Scott Long2007-05-091-0/+1
| | | | | | | | | The driver relies on CAM. Many thanks to Highpoint for providing this driver. Notes: svn path=/head/; revision=169412
* Add support for Ralink Technology RT2501USB/RT2601USB devices.Kevin Lo2007-05-061-0/+1
| | | | | | | | Reviewed by: sam, sephe Obtained from: OpenBSD Notes: svn path=/head/; revision=169306
* Rename the trunk(4) driver to lagg(4) as it is too similar to vlan trunking.Andrew Thompson2007-04-171-1/+1
| | | | | | | | | | | | | | 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@ Notes: svn path=/head/; revision=168793
* Add trunk(4) module.Andrew Thompson2007-04-101-0/+1
| | | | Notes: svn path=/head/; revision=168564
* Build ZFS on amd64 and pc98.Dag-Erling Smørgrav2007-04-071-3/+6
| | | | | | | Approved by: pjd@ Notes: svn path=/head/; revision=168475
* back out last changeKip Macy2007-04-071-1/+1
| | | | | | | Requested by: ru Notes: svn path=/head/; revision=168451
* make modules compile without updating etcKip Macy2007-04-061-1/+1
| | | | Notes: svn path=/head/; revision=168415
* Connect ZFS to the build.Pawel Jakub Dawidek2007-04-061-0/+4
| | | | Notes: svn path=/head/; revision=168409
* Introduce a new toy interface, edsc(4). It's a discard interfaceYaroslav Tykhiy2007-03-261-0/+1
| | | | | | | | | | imitating an Ethernet device, so vlan(4) and if_bridge(4) can be attached to it for testing and benchmarking purposes. Its source can be an introduction to the anatomy of a network interface driver due to its simplicity as well as to a bunch of comments in it. Notes: svn path=/head/; revision=167891
* Catch up with ACPI-CA 20070320 import.Jung-uk Kim2007-03-221-1/+1
| | | | Notes: svn path=/head/; revision=167814
* add cxgb to modules MakefileKip Macy2007-03-141-0/+1
| | | | Notes: svn path=/head/; revision=167517
* - Add Intel firmwares for Intel PRO/Wireless LAN 2100/2200/2915 cards in aFlorent Thoumie2007-03-021-0/+5
| | | | | | | | | | | | | | | | uuencoded format along with their respective LICENSE files. - Add new share/doc/legal directory to BSD.usr.dist mtree file. This is the place we install LICENSE files for restricted firmwares. - Teach firmware(9) and kmod.mk about licensed firmwares. Restricted firmwares won't load properly unless legal.<name>.license_ack is set to 1, either via kenv(1) or /boot/loader.conf. Reviewed by: mlaier, sam Permitted by: Intel (via Andrew Wilson) MFC after: 1 month Notes: svn path=/head/; revision=167165
* ath and ath_rate_sample now have a compile-time dependency on the halSam Leffler2007-01-281-2/+10
| | | | | | | | so we need to build them only on architectures where there's a released hal; this hack can be eliminated when an ia64 hal build is present Notes: svn path=/head/; revision=166320
* Remove stall comment.Takanori Watanabe2006-12-181-1/+1
| | | | | | | Pointed out by:Ed Maste. Notes: svn path=/head/; revision=165336
* Oops, I forget to add amd64 as ACPI arch.Takanori Watanabe2006-12-181-1/+1
| | | | Notes: svn path=/head/; revision=165330
* Hook up msk(4) to the build.Pyun YongHyeon2006-12-131-0/+1
| | | | Notes: svn path=/head/; revision=165140
* Add the linux module to the amd64 build, all symbols can now be resolved.Alexander Leidinger2006-12-021-0/+1
| | | | Notes: svn path=/head/; revision=164825
* device-independent implementation of AMRR tx rate control algorithmSam Leffler2006-11-261-0/+1
| | | | | | | | Obtained from: openbsd (w/ mods) MFC after: 1 month Notes: svn path=/head/; revision=164633
* o Add uark(4), a driver for Arkmicro Technologies ARK3116 based serialMaxim Konovalov2006-11-151-0/+1
| | | | | | | | | | | | adapters. Submitted by: Alex Rodin Obtained from: OpenBSD Reviewed by: -usb MFC after: 6 weeks Notes: svn path=/head/; revision=164295
* Re-enable module build for POSIX semaphores.Tom Rhodes2006-11-111-0/+1
| | | | | | | | | Update the manual page describe loading the sem module. Approved by: silence on -arch and -standards Notes: svn path=/head/; revision=164189
* Build linprocfs and linsysfs as modules on amd64.Alexander Leidinger2006-09-091-0/+2
| | | | | | | | Sponsored by: Google SoC 2006 Submitted by: rdivacky Notes: svn path=/head/; revision=162185
* MF6: Attach if_bce.ko to the build.Ruslan Ermilov2006-09-081-0/+1
| | | | | | | Noticed by: davidch Notes: svn path=/head/; revision=162160
* Don't build iwi(4) on amd64, there are problems with the firmware modules.Christian Brueffer2006-09-011-1/+0
| | | | | | | | | Reported by: sam Approved by: rwatson (mentor) MFC after: 3 days Notes: svn path=/head/; revision=161812
* Follow the lead of mxgb(4) and build the module for ixgb(4).Christian Brueffer2006-08-181-0/+3
| | | | | | | | | | | | Originally it wasn't enabled since the hardware wasn't commonplace, but as 10GE hardware is becoming more widely used, building the module by default should be beneficial. Approved by: rwatson (mentor) MFC after: 2 weeks Notes: svn path=/head/; revision=161432
* Add device to access and modify Open Firmware NVRAM settings inMaxim Sobolev2006-08-011-0/+2
| | | | | | | | | | | | PowerPC-based Apple's machines and small utility to do it from userland modelled after the similar utility in Darwin/OSX. Only tested on 1.25GHz G4 Mac Mini. MFC after: 1 month Notes: svn path=/head/; revision=160892
* Remove Alpha remnants.Marcel Moolenaar2006-07-271-10/+0
| | | | Notes: svn path=/head/; revision=160762
* Hook bridgestp up to the build.Andrew Thompson2006-07-261-0/+1
| | | | Notes: svn path=/head/; revision=160729
* Hook up stge(4) to the build.Pyun YongHyeon2006-07-251-0/+1
| | | | Notes: svn path=/head/; revision=160642
* Add a pure open source nForce Ethernet driver, under BSDL.David E. O'Brien2006-06-261-0/+3
| | | | | | | | | | | | This driver was ported from OpenBSD by Shigeaki Tagashira <shigeaki@se.hiroshima-u.ac.jp> and posted at http://www.se.hiroshima-u.ac.jp/~shigeaki/software/freebsd-nfe.html It was additionally cleaned up by me. It is still a work-in-progress and thus is purposefully not in GENERIC. And it conflicts with nve(4), so only one should be loaded. Notes: svn path=/head/; revision=159967
* Unconditionally enable ppc(4) and puc(4).Marcel Moolenaar2006-06-181-5/+2
| | | | Notes: svn path=/head/; revision=159714
* Build the ppc module on pc98.Yoshihiro Takahashi2006-06-161-1/+1
| | | | Notes: svn path=/head/; revision=159660
* Allow for ppc(4) to be built as module, initiallyKonstantin Belousov2006-06-161-0/+3
| | | | | | | | | | only for i386 and amd64. MFC after: 1 month Approved by: pjd (mentor) Notes: svn path=/head/; revision=159658
* - Complete the myri10ge -> mxge name change by doing a mechanicalAndrew Gallatin2006-06-131-0/+3
| | | | | | | | | s/myri10ge/mxge/g replacement in the myri10ge files. A few contuation lines were joined because of the regained columns. - Hook the mxge driver back to the build. Notes: svn path=/head/; revision=159571
* enable build of ath_hal on sparc64 and powerpcSam Leffler2006-06-081-0/+2
| | | | | | | MFC after: 1 month Notes: svn path=/head/; revision=159441