summaryrefslogtreecommitdiffstats
path: root/sys/modules
Commit message (Collapse)AuthorAgeFilesLines
* Add a makefile for building UFS as a module. Since it is of marginaliedowse2002-06-301-0/+14
| | | | | | use it is not built by default, and there are currently bugs that prevent UFS from being unloaded. Nevertheless it can be useful when developing UFS code on network-booted machines.
* bring Makefile up to date with new ipfwjulian2002-06-281-1/+1
| | | | Submitted by: luigi
* At long last, commit the zero copy sockets code.ken2002-06-261-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MAKEDEV: Add MAKEDEV glue for the ti(4) device nodes. ti.4: Update the ti(4) man page to include information on the TI_JUMBO_HDRSPLIT and TI_PRIVATE_JUMBOS kernel options, and also include information about the new character device interface and the associated ioctls. man9/Makefile: Add jumbo.9 and zero_copy.9 man pages and associated links. jumbo.9: New man page describing the jumbo buffer allocator interface and operation. zero_copy.9: New man page describing the general characteristics of the zero copy send and receive code, and what an application author should do to take advantage of the zero copy functionality. NOTES: Add entries for ZERO_COPY_SOCKETS, TI_PRIVATE_JUMBOS, TI_JUMBO_HDRSPLIT, MSIZE, and MCLSHIFT. conf/files: Add uipc_jumbo.c and uipc_cow.c. conf/options: Add the 5 options mentioned above. kern_subr.c: Receive side zero copy implementation. This takes "disposable" pages attached to an mbuf, gives them to a user process, and then recycles the user's page. This is only active when ZERO_COPY_SOCKETS is turned on and the kern.ipc.zero_copy.receive sysctl variable is set to 1. uipc_cow.c: Send side zero copy functions. Takes a page written by the user and maps it copy on write and assigns it kernel virtual address space. Removes copy on write mapping once the buffer has been freed by the network stack. uipc_jumbo.c: Jumbo disposable page allocator code. This allocates (optionally) disposable pages for network drivers that want to give the user the option of doing zero copy receive. uipc_socket.c: Add kern.ipc.zero_copy.{send,receive} sysctls that are enabled if ZERO_COPY_SOCKETS is turned on. Add zero copy send support to sosend() -- pages get mapped into the kernel instead of getting copied if they meet size and alignment restrictions. uipc_syscalls.c:Un-staticize some of the sf* functions so that they can be used elsewhere. (uipc_cow.c) if_media.c: In the SIOCGIFMEDIA ioctl in ifmedia_ioctl(), avoid calling malloc() with M_WAITOK. Return an error if the M_NOWAIT malloc fails. The ti(4) driver and the wi(4) driver, at least, call this with a mutex held. This causes witness warnings for 'ifconfig -a' with a wi(4) or ti(4) board in the system. (I've only verified for ti(4)). ip_output.c: Fragment large datagrams so that each segment contains a multiple of PAGE_SIZE amount of data plus headers. This allows the receiver to potentially do page flipping on receives. if_ti.c: Add zero copy receive support to the ti(4) driver. If TI_PRIVATE_JUMBOS is not defined, it now uses the jumbo(9) buffer allocator for jumbo receive buffers. Add a new character device interface for the ti(4) driver for the new debugging interface. This allows (a patched version of) gdb to talk to the Tigon board and debug the firmware. There are also a few additional debugging ioctls available through this interface. Add header splitting support to the ti(4) driver. Tweak some of the default interrupt coalescing parameters to more useful defaults. Add hooks for supporting transmit flow control, but leave it turned off with a comment describing why it is turned off. if_tireg.h: Change the firmware rev to 12.4.11, since we're really at 12.4.11 plus fixes from 12.4.13. Add defines needed for debugging. Remove the ti_stats structure, it is now defined in sys/tiio.h. ti_fw.h: 12.4.11 firmware. ti_fw2.h: 12.4.11 firmware, plus selected fixes from 12.4.13, and my header splitting patches. Revision 12.4.13 doesn't handle 10/100 negotiation properly. (This firmware is the same as what was in the tree previously, with the addition of header splitting support.) sys/jumbo.h: Jumbo buffer allocator interface. sys/mbuf.h: Add a new external mbuf type, EXT_DISPOSABLE, to indicate that the payload buffer can be thrown away / flipped to a userland process. socketvar.h: Add prototype for socow_setup. tiio.h: ioctl interface to the character portion of the ti(4) driver, plus associated structure/type definitions. uio.h: Change prototype for uiomoveco() so that we'll know whether the source page is disposable. ufs_readwrite.c:Update for new prototype of uiomoveco(). vm_fault.c: In vm_fault(), check to see whether we need to do a page based copy on write fault. vm_object.c: Add a new function, vm_object_allocate_wait(). This does the same thing that vm_object allocate does, except that it gives the caller the opportunity to specify whether it should wait on the uma_zalloc() of the object structre. This allows vm objects to be allocated while holding a mutex. (Without generating WITNESS warnings.) vm_object_allocate() is implemented as a call to vm_object_allocate_wait() with the malloc flag set to M_WAITOK. vm_object.h: Add prototype for vm_object_allocate_wait(). vm_page.c: Add page-based copy on write setup, clear and fault routines. vm_page.h: Add page based COW function prototypes and variable in the vm_page structure. Many thanks to Drew Gallatin, who wrote the zero copy send and receive code, and to all the other folks who have tested and reviewed this code over the years.
* A node that creates a device entry in /dev (yay devfs)julian2002-06-181-0/+7
| | | | | | | | | | so that /dev/mumble can be the entrypoint to some networking graph, e.g. a tunnel or a remote tape drive or whatever... Not fully tested (by me) yet. Submitted by: Mark Santcroos <marks@ripe.net> MFC after: 3 weeks
* sppp needs slcompress.c nowadays.jhay2002-06-171-1/+1
| | | | PR: 39369
* Added support for 82545EM and 82546EB based adapters.pdeuskar2002-06-031-6/+5
| | | | | | Added Vlan support. MFC after: 1 week
* Build a 'hea_pci' driver module.mdodd2002-06-031-0/+11
|
* - Add 'hea'.mdodd2002-06-031-1/+2
| | | | - Compile 'hfa' only on i386 (for now).
* Make oldcard and newcard kernel module work.takawata2002-05-301-1/+1
|
* Remove bktr for ia64. Same problem as vinum. See PR 38678.marcel2002-05-291-1/+0
|
* Vinum doesn't build on ia64.marcel2002-05-291-3/+5
| | | | See PR: 38678
* Remove asr from the ia64 build. Its use of KERNBASE appears i386marcel2002-05-191-1/+0
| | | | | specific by way of which headers are being included (and headers not included).
* Hook up the new linux_ptrace implementation.marcel2002-05-191-1/+1
| | | | | PR: 33299 Submitted by: Alexander N. Kabaev <ak03@gte.com>
* Complete the separation of ext2fs from ufs by copying the remainingiedowse2002-05-161-3/+3
| | | | | | | | | | shared code and converting all ufs references. Originally it may have made sense to share common features between the two filesystems, but recently it has only caused problems, the UFS2 work being the final straw. All UFS_* indirect calls are now direct calls to ext2_* functions, and ext2fs-specific mount and inode structures have been introduced.
* Check that kldxref(8) exists before running it.ru2002-05-141-1/+4
|
* Zap KMODDEPS entries so that people do not wonder why it isn't working onpeter2002-05-013-3/+0
| | | | | | -current. Apolgies to: anhold
* Move drm to the i386-only section.des2002-04-281-1/+1
|
* Nuke -gscottl2002-04-281-2/+0
|
* Hook the DRM up to the build and add it to NOTES.anholt2002-04-286-5/+6
| | | | Approved by: des
* Add makefiles for DRM modulesanholt2002-04-276-0/+53
| | | | Approved by: des
* Add a CAM interface to the aac driver. This is useful in case you shouldscottl2002-04-271-1/+2
| | | | | | | | | | | | | | | ever connect a SCSI Cdrom/Tape/Jukebox/Scanner/Printer/kitty-litter-scooper to your high-end RAID controller. The interface to the arrays is still via the block interface; this merely provides a way to circumvent the RAID functionality and access the SCSI buses directly. Note that for somewhat obvious reasons, hard drives are not exposed to the da driver through this interface, though you can still talk to them via the pass driver. Be the first on your block to low-level format unsuspecting drives that are part of an array! To enable this, add the 'aacp' device to your kernel config. MFC after: 3 days
* Move tx(4) driver to sys/dev/tx. BTW split hardware structures and constantssemenu2002-04-191-1/+1
| | | | | | into if_txreg.h. MFC after: 1 week
* Build modules on ia64:marcel2002-04-191-9/+38
| | | | | | | | | | | | | | | | | | | | | | o Make the cam, cd9660 lomac and sound modules i386 and alpha specific due to link problems (@gprel relocation when @ltoff is required). Once resolved, these can be moved back to the generic list. o Build linprocfs only on those architectures that have the linux module. o Make the sppp module i386 and alpha specific due to compile problems (pointers as switch cases). Once resolved, this can be moved back to the generic list. o Build all i386 specific modules, with the exception of those mentioned above as being moved from the generic list to the i386 list and those with dependencies on the linux module (aac) or i386 dependent (ar, apm, atspeaker, fpu, gnufpu, ibcs2, linux, ncv, nsp, netgraph, oltr, pecoff, s3, sbni, stg and vesa). o Don't build acpi as a module yet. It most be ported first. Once ported, it can be added to the ia64 list. o Don't build ipfilter yet due to compile errors (osreldate.h not found).
* - Convert the 'hfa' ATM interface driver to newbus.mdodd2002-04-176-0/+53
| | | | | | - Add stubs for EISA and SBUS cards. (VME, FutureBUS, and TurboChannel stubs not provided.) - Add infrastructure to build driver and bus front-end modules.
* This time get it rightjulian2002-04-161-2/+1
|
* Makefile for the myson driver.julian2002-04-161-0/+9
|
* Actually add the UDF files!scottl2002-04-141-0/+14
|
* Add a filesystem driver for the Universal Disk Format. For more info,scottl2002-04-141-0/+1
| | | | | | | see http://people.freebsd.org/~scottl/udf MFC after: when asmodai gets the backport done Prodded by: phk asmodai des
* -DWI_HOSTAP no longer neededimp2002-04-121-1/+1
|
* First cut at breaking out the bus attachment from the bus independentimp2002-04-021-6/+2
| | | | | part of the driver. Also, move the softc and some other stuff to if_wivar.h from if_wireg.h to make future merging activities easier.
* Fix kernel build.obrien2002-03-251-1/+1
|
* Major rework of the iicbus/smbus framework:nsouch2002-03-2316-6/+118
| | | | | | | | - VIA chipset SMBus controllers added - alpm driver updated - Support for dynamic modules added - bktr FreeBSD smbus updated but not tested - cleanup
* Add new graphical screen saver (dragon_saver).amorita2002-03-232-0/+15
| | | | Add support for NEC PC-9821 PEGC screen (fire/logo/rain/warp_saver).
* Replaced hacks in sbin/Makefile,v 1.99 and usr.sbin/Makefile,v 1.217ru2002-03-211-1/+4
| | | | | | with the NO_IPFILTER make.conf(5) knob. (So that we can "make the-rest-of-the-world" again.)
* Add a USB comm driver.joe2002-03-184-0/+33
| | | | Ported from NetBSD by: akiyama
* Unbreak the build of smbfs.ko.mux2002-03-181-0/+6
| | | | Reviewed by: sheldonh
* Add generalized power profile code.iwasaki2002-03-041-1/+1
| | | | | | | | | | | | | This makes other power-management system (APM for now) to be able to generate power profile change events (ie. AC-line status changes), and other kernel components, not only the ACPI components, can be notified the events. - move subroutines in acpi_powerprofile.c (removed) to kern/subr_power.c - call power_profile_set_state() also from APM driver when AC-line status changes - add call-back function for Crusoe LongRun controlling on power profile changes for a example
* Support for USB fm radio.alfred2002-03-042-0/+9
| | | | Submitted by: David Yeske <dyeske@yahoo.com>
* turn on the ethertype filter modulejulian2002-02-271-0/+1
|
* (Belatedly) add the required EXPORT_SYMS. I'm not sure the list is complete,des2002-02-221-0/+8
| | | | | but at least linprocfs works (I haven't had the opportunity to test other stuff that depends on the linux module, like aac or tdfx)
* Add a module of xe driver.shiba2002-02-202-1/+11
| | | | Approved by: imp
* Always build all modules for LINTphk2002-02-171-1/+1
|
* Fix my recent breakage of some modules.bde2002-02-152-1/+8
|
* It's OK to be pedantic, but long long literals are OK.phk2002-02-101-1/+1
|
* Move the pseudofs, procfs and linprocfs modules out from the fs directory.des2002-02-046-31/+34
| | | | | Keeping them there seemed like a good idea at the time, but it annoys bde and confuses people who do not understand how MODULES_OVERRIDE works.
* Module for exca. Eventually, this will be shared between pcic and pccbb.imp2002-01-291-0/+8
|
* remove modules no longer builtcg2002-01-233-27/+0
|
* consolidate bits that don't need to be seperate modules into the modulescg2002-01-234-5/+5
| | | | that want them
* Add the 'iir' driver, for the Intel Integrated RAID controllers andmsmith2002-01-202-0/+10
| | | | | | | | prior ICP Vortex models. This driver was developed by Achim Leubner of Intel (previously with ICP Vortex) and Boji Kannanthanam of Intel. Submitted by: "Kannanthanam, Boji T" <boji.t.kannanthanam@intel.com> MFC after: 2 weeks
* Allow alpha kernels to compile again- make sure opt_ddb.h is includedmjacob2002-01-171-1/+1
| | | | | | and the reference to db_regs is *extern* from alpha/include/db_machdep.h (put it in alpha/alpha/machdep.c)- this avoids the problems we've had about different 'common' sizes prohibiting the kernel from linking.
OpenPOWER on IntegriCloud