aboutsummaryrefslogtreecommitdiff
path: root/sys/modules
Commit message (Collapse)AuthorAgeFilesLines
* A GEOM cache can speed up read performance by sending fixed sizeRuslan Ermilov2006-10-062-0/+9
| | | | | | | | | | | | | read requests to its consumer. It has been developed to address the problem of a horrible read performance of a 64k blocksize FS residing on a RAID3 array with 8 data components, where a single disk component would only get 8k read requests, thus effectively killing disk performance under high load. Documentation will be provided later. I'd like to thank Vsevolod Lobko for his bright ideas, and Pawel Jakub Dawidek for helping me fix the nasty bug. Notes: svn path=/head/; revision=163048
* Connect snd_hda(4) to build process...Ariff Abdullah2006-10-011-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Add support for Intel High Definition Audio Controller. This driver make a special guarantee that "playback" works on majority hardwares with minimal or without specific vendor quirk. This driver is a product of collaborative effort made by: Stephane E. Potvin <sepotvin@videotron.ca> Andrea Bittau <a.bittau@cs.ucl.ac.uk> Wesley Morgan <morganw@chemikals.org> Daniel Eischen <deischen@FreeBSD.org> Maxime Guillaud <bsd-ports@mguillaud.net> Ariff Abdullah <ariff@FreeBSD.org> ....and various people from freebsd-multimedia@FreeBSD.org Refer to snd_hda(4) for features and issues. Welcome To HDA. Sponsored by: Defenxis Sdn. Bhd. Notes: svn path=/head/; revision=162925
* Add support for Intel High Definition Audio Controller.Ariff Abdullah2006-10-011-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | This driver make a special guarantee that "playback" works on majority hardwares with minimal or without specific vendor quirk. This driver is a product of collaborative effort made by: Stephane E. Potvin <sepotvin@videotron.ca> Andrea Bittau <a.bittau@cs.ucl.ac.uk> Wesley Morgan <morganw@chemikals.org> Daniel Eischen <deischen@FreeBSD.org> Maxime Guillaud <bsd-ports@mguillaud.net> Ariff Abdullah <ariff@FreeBSD.org> ....and various people from freebsd-multimedia@FreeBSD.org Refer to snd_hda(4) for features and issues. Welcome To HDA. Sponsored by: Defenxis Sdn. Bhd. Notes: svn path=/head/; revision=162922
* Respect style.Makefile(5).Alexander Leidinger2006-09-303-12/+15
| | | | | | | Cluebat waving by: ru Notes: svn path=/head/; revision=162892
* Add the envy24ht driver to the build.Alexander Leidinger2006-09-302-2/+10
| | | | Notes: svn path=/head/; revision=162887
* Remove the ak452x module.Alexander Leidinger2006-09-301-8/+0
| | | | Notes: svn path=/head/; revision=162880
* Disconnect ak452x from the build, it is not needed anymore.Alexander Leidinger2006-09-301-1/+1
| | | | Notes: svn path=/head/; revision=162879
* We don't need the ISA interface.Alexander Leidinger2006-09-301-1/+1
| | | | | | | Submitted by: "Konstantin Dimitrov" <kosio.dimitrov@gmail.com> Notes: svn path=/head/; revision=162878
* Add the spicds module to the build.Alexander Leidinger2006-09-302-1/+9
| | | | | | | Submitted by: "Konstantin Dimitrov" <kosio.dimitrov@gmail.com> Notes: svn path=/head/; revision=162875
* Fix our ioctl(2) implementation when the argument is "int". NewRuslan Ermilov2006-09-276-4/+19
| | | | | | | | | | | | | | | | ioctls passing integer arguments should use the _IOWINT() macro. This fixes a lot of ioctl's not working on sparc64, most notable being keyboard/syscons ioctls. Full ABI compatibility is provided, with the bonus of fixing the handling of old ioctls on sparc64. Reviewed by: bde (with contributions) Tested by: emax, marius MFC after: 1 week Notes: svn path=/head/; revision=162711
* - Removed a copyright from makefile.Ruslan Ermilov2006-09-272-3/+3
| | | | | | | | | | - Added ${.CURDIR} to .include "...". - Whitespace fixes. OK'ed by: piso Notes: svn path=/head/; revision=162701
* Summer of Code 2005: improve libalias - part 1 of 2Paolo Pisati2006-09-2613-30/+79
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With the first part of my previous Summer of Code work, we get: -made libalias modular: -support for 'particular' protocols (like ftp/irc/etcetc) is no more hardcoded inside libalias, but it's available through external modules loadable at runtime -modules are available both in kernel (/boot/kernel/alias_*.ko) and user land (/lib/libalias_*) -protocols/applications modularized are: cuseeme, ftp, irc, nbt, pptp, skinny and smedia -added logging support for kernel side -cleanup After a buildworld, do a 'mergemaster -i' to install the file libalias.conf in /etc or manually copy it. During startup (and after every HUP signal) user land applications running the new libalias will try to read a file in /etc called libalias.conf: that file contains the list of modules to load. User land applications affected by this commit are ppp and natd: if libalias.conf is present in /etc you won't notice any difference. The only kernel land bit affected by this commit is ng_nat: if you are using ng_nat, and it doesn't correctly handle ftp/irc/etcetc sessions anymore, remember to kldload the correspondent module (i.e. kldload alias_ftp). General information and details about the inner working are available in the libalias man page under the section 'MODULAR ARCHITECTURE (AND ipfw(4) SUPPORT)'. NOTA BENE: this commit affects _ONLY_ libalias, ipfw in-kernel nat support will be part of the next libalias-related commit. Approved by: glebius Reviewed by: glebius, ru Notes: svn path=/head/; revision=162674
* Add a value to the define I forgot, for the purity's sake.Ruslan Ermilov2006-09-261-1/+1
| | | | Notes: svn path=/head/; revision=162660
* Now that we have COMPAT_FREEBSD6 officially, use it from opt_compat.h.Ruslan Ermilov2006-09-261-1/+4
| | | | Notes: svn path=/head/; revision=162659
* Update the mfi module build with the mfi_debug.c file.Scott Long2006-09-251-1/+3
| | | | Notes: svn path=/head/; revision=162624
* Update the ipmi(4) driver:John Baldwin2006-09-221-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Split out the communication protocols into their own files and use a couple of function pointers in the softc that the commuication protocols setup in their own attach routine. - Add support for the SSIF interface (talking to IPMI over SMBus). - Add an ACPI attachment. - Add a PCI attachment that attaches to devices with the IPMI interface subclass. - Split the ISA attachment out into its own file: ipmi_isa.c. - Change the code to probe the SMBIOS table for an IPMI entry to just use pmap_mapbios() to map the table in rather than trying to setup a fake resource on an isa device and then activating the resource to map in the table. - Make bus attachments leaner by adding attach functions for each communication interface (ipmi_kcs_attach(), ipmi_smic_attach(), etc.) that setup per-interface data. - Formalize the model used by the driver to handle requests by adding an explicit struct ipmi_request object that holds the state of a given request and reply for the entire lifetime of the request. By bundling the request into an object, it is easier to add retry logic to the various communication backends (as well as eventually support BT mode which uses a slightly different message format than KCS, SMIC, and SSIF). - Add a per-softc lock and remove D_NEEDGIANT as the driver is now MPSAFE. - Add 32-bit compatibility ioctl shims so you can use a 32-bit ipmitool on FreeBSD/amd64. - Add ipmi(4) to i386 and amd64 NOTES. Submitted by: ambrisko (large portions of 2 and 3) Sponsored by: IronPort Systems, Yahoo! MFC after: 6 days Notes: svn path=/head/; revision=162562
* fixup build after move of ah_osdep.?Sam Leffler2006-09-181-2/+2
| | | | | | | MFC after: 2 weeks Notes: svn path=/head/; revision=162415
* o move ath hal os glue code from the hal to the driver: this code wasSam Leffler2006-09-184-14/+8
| | | | | | | | | | | | | | | part of the hal distribution early on when the hal was built for each os but it's been portable for a long time so move the os-specific code out (and off the vendor branch) o correct the copyright on ah_osdep.?; it was mistakenly given a restricted license and not a dual-bsd/gpl license o remove the module api definition as it was never used o fixup include paths for move of ah_osdep.h MFC after: 2 weeks Notes: svn path=/head/; revision=162413
* Introduce a new entry point, mac_create_mbuf_from_firewall. This entry pointChristian S.J. Peron2006-09-122-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | exists to allow the mandatory access control policy to properly initialize mbufs generated by the firewall. An example where this might happen is keep alive packets, or ICMP error packets in response to other packets. This takes care of kernel panics associated with un-initialize mbuf labels when the firewall generates packets. [1] I modified this patch from it's original version, the initial patch introduced a number of entry points which were programmatically equivalent. So I introduced only one. Instead, we should leverage mac_create_mbuf_netlayer() which is used for similar situations, an example being icmp_error() This will minimize the impact associated with the MFC Submitted by: mlaier [1] MFC after: 1 week This is a RELENG_6 candidate Notes: svn path=/head/; revision=162238
* 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
* Include agp_i810.c in amd64 AGP builds to get support for the Intel 915 ExpressEric Anholt2006-09-051-1/+1
| | | | | | | | | | | chipsets. PR: kern/93676 Submitted by: Jan Blaha <Jan.Blaha@unet.cz> MFC after: 1 week Notes: svn path=/head/; revision=162041
* If building the module as part of the kernel build, determineRuslan Ermilov2006-09-041-0/+7
| | | | | | | | | | | | the "device isa" presence out of the opt_isa.h in the kernel build directory, rather than always assuming its presence. sparc64 is still special cased and is not affected by this change. Noticed by: bde Notes: svn path=/head/; revision=161973
* 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
* Add 2400 f/w support.Matt Jacob2006-08-262-0/+37
| | | | Notes: svn path=/head/; revision=161648
* 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 the new files to the linux module.Alexander Leidinger2006-08-153-13/+26
| | | | | | | | | | | | - Prepare the modules for build on amd64, but don't build them there as part of the kernel build yet. The code for the missing symbols on amd64 isn't committed and it may be solved differently. Sponsored by: Google SoC 2006 Submitted by: rdivacky Notes: svn path=/head/; revision=161312
* Don't use touch when what is really meant is :> (create an empty file, orDag-Erling Smørgrav2006-08-144-9/+9
| | | | | | | | | | | truncate it if it exists) or :>> (ensure the file exists, but don't change it if it already does) Reviewed by: ru MFC after: 2 weeks Notes: svn path=/head/; revision=161283
* Add device to access and modify Open Firmware NVRAM settings inMaxim Sobolev2006-08-012-0/+10
| | | | | | | | | | | | 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-275-37/+0
| | | | Notes: svn path=/head/; revision=160762
* bridgestp is now a seperate module.Andrew Thompson2006-07-261-1/+1
| | | | Notes: svn path=/head/; revision=160730
* Hook bridgestp up to the build.Andrew Thompson2006-07-261-0/+1
| | | | Notes: svn path=/head/; revision=160729
* Add bridgestp as a seperate module.Andrew Thompson2006-07-261-0/+8
| | | | Notes: svn path=/head/; revision=160728
* Hook up stge(4) to the build.Pyun YongHyeon2006-07-252-0/+10
| | | | Notes: svn path=/head/; revision=160642
* Connect gentbi, ip1000phy to the build.Pyun YongHyeon2006-07-251-1/+1
| | | | Notes: svn path=/head/; revision=160639
* Implement support for HMAC/SHA1 and HMAC/SHA256 acceleration found inPawel Jakub Dawidek2006-07-221-1/+1
| | | | | | | | | | | | | | new VIA CPUs. For older CPUs HMAC/SHA1 and HMAC/SHA256 (and others) will still be done in software. Move symmetric cryptography (currently only AES-CBC 128/192/256) to padlock_cipher.c file. Move HMAC cryptography to padlock_hash.c file. Hardware from: Centaur Technologies Notes: svn path=/head/; revision=160582
* - Connect the snd_emu10kx driver to the build. [1]Alexander Leidinger2006-07-151-3/+3
| | | | | | | | | - Bump __FreeBSD_version, no need to build the port now. Submitted by: Yuriy Tsibizov <Yuriy.Tsibizov@gfk.ru> [1] Notes: svn path=/head/; revision=160386
* Add snd_emu10kx driver for Creative SoundBlaster Live! and Audigy seriesAlexander Leidinger2006-07-151-0/+48
| | | | | | | | | | | | | | | | | | sound cards with optional pseudo-multichannel playback. It's based on snd_emu10k1 sound driver. Single channel version is available from audio/emu10kx port since some time. The two new ALSA header files (GPLed), which contain Audigy 2 ("p16v") and Audigy 2 Value ("p17v") specific interfaces, are latest versions from ALSA Mercurial repository. This is not connected to the build yet. Submitted by: Yuriy Tsibizov <Yuriy.Tsibizov@gfk.ru> Notes: svn path=/head/; revision=160383
* Convert isp(4) and ispfw(4) to use firmware(9) to manage firmwareMatt Jacob2006-07-0913-5/+474
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | loading for the QLogic cards. Because isp(4) exists before the root is mounted, it's not really possible for us to use the kernel's linker to load modules directly from disk- that's really too bad. However, the this is still a net win in in that the firmware has been split up on a per chip (and in some cases, functionality) basis, so the amount of stuff loaded *can* be substantially less than the 1.5MB of firmware images that ispfw now manages. That is, each specific f/w set is now also built as a module. For example, QLogic 2322 f/w is built as isp_2322.ko and Initiator/Target 1080 firmware is built as isp_1080_it.ko. For compatibility purposes (i.e., to perturb folks the least), we also still build all of the firmware as one ispfw.ko module. This allows us to let 'ispfw_LOAD' keep on working in existing loader.conf files. If you now want to strip this down to just the firmware for your h/w, you can then change loader.conf to load the f/w you specifically want. We also still allow for ispfw to be statically built (e.g., for PAE and sparc64). Future changes will look at f/w unloading and also role switching that then uses the kernel linker to load different ips f/w sets. MFC after: 2 months Notes: svn path=/head/; revision=160212
* Housekeeping. Update for maintainers who have handed in their commit bitsMark Murray2006-07-013-5/+0
| | | | | | | or (in my case) no longer feel that oversight is necessary. Notes: svn path=/head/; revision=160063
* A netgraph node that can do different manipulations withGleb Smirnoff2006-06-272-0/+7
| | | | | | | | | | mbuf_tags(9) on packets. Submitted by: Vadim Goncharov <vadimnuclight tpu.ru> mdoc(7) reviewed by: ru Notes: svn path=/head/; revision=159979
* Add a pure open source nForce Ethernet driver, under BSDL.David E. O'Brien2006-06-262-0/+11
| | | | | | | | | | | | 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
* Make this usable for all platforms.Marcel Moolenaar2006-06-181-3/+12
| | | | Notes: svn path=/head/; revision=159713
* Connect the envy42 driver to the build.Alexander Leidinger2006-06-171-2/+2
| | | | Notes: svn path=/head/; revision=159690
* dd the envy24 driver as is to the tree. It's not connected to the buildAlexander Leidinger2006-06-172-0/+16
| | | | | | | | | | | | | | yet. More commits to follow. I got no response from the author, but since the driver is BSD licensed I don't think he will complain. :-) I got it from http://people.freebsd.org/~lofi/envy24.tar.gz Written by: Katsurajima Naoto <raven@katsurajima.seya.yokohama.jp> Notes: svn path=/head/; revision=159687
* Build the ppc module on pc98.Yoshihiro Takahashi2006-06-162-2/+6
| | | | Notes: svn path=/head/; revision=159660
* Allow for ppc(4) to be built as module, initiallyKonstantin Belousov2006-06-162-0/+14
| | | | | | | | | | only for i386 and amd64. MFC after: 1 month Approved by: pjd (mentor) Notes: svn path=/head/; revision=159658
* Remove the initial myri10ge driver, now that it has beenAndrew Gallatin2006-06-144-41/+0
| | | | | | | renamed mxge. Notes: svn path=/head/; revision=159619
* - Complete the myri10ge -> mxge name change by doing a mechanicalAndrew Gallatin2006-06-135-18/+21
| | | | | | | | | 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