summaryrefslogtreecommitdiffstats
path: root/share
Commit message (Collapse)AuthorAgeFilesLines
* msdos was renamed to msdosfs in 2001 by r77577.scf2012-01-281-1/+1
| | | | MFC after: 5 days
* alphabetically sort optional flags and add documentation for VM_ALLOC_NODUMPkmacy2012-01-281-12/+15
|
* document M_NODUMP flagkmacy2012-01-281-0/+3
|
* Do not mention SIOCSIFADDR.glebius2012-01-271-4/+4
|
* - Rewrite paragraphs about preemption.glebius2012-01-261-22/+11
| | | | | | - Avoid word combination "carp interface". Prodded by: az
* Remove the blank line between the license and .Ddken2012-01-261-1/+0
| | | | | Prompted by: brueffer MFC after: 1 week
* Start sentences on a new line, and fix a few other nits.ken2012-01-261-35/+42
| | | | | Prompted by: gjb MFC after: 1 week
* Update PCI IDs for ciss controllers that are supported by this driver.sbruno2012-01-261-1/+11
| | | | | | Submitted by: scott.benesh@hp.com Obtained from: Yahoo! Inc and HP MFC after: 1 week
* Xen netback driver rewrite.ken2012-01-262-0/+136
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | share/man/man4/Makefile, share/man/man4/xnb.4, sys/dev/xen/netback/netback.c, sys/dev/xen/netback/netback_unit_tests.c: Rewrote the netback driver for xen to attach properly via newbus and work properly in both HVM and PVM mode (only HVM is tested). Works with the in-tree FreeBSD netfront driver or the Windows netfront driver from SuSE. Has not been extensively tested with a Linux netfront driver. Does not implement LRO, TSO, or polling. Includes unit tests that may be run through sysctl after compiling with XNB_DEBUG defined. sys/dev/xen/blkback/blkback.c, sys/xen/interface/io/netif.h: Comment elaboration. sys/kern/uipc_mbuf.c: Fix page fault in kernel mode when calling m_print() on a null mbuf. Since m_print() is only used for debugging, there are no performance concerns for extra error checking code. sys/kern/subr_scanf.c: Add the "hh" and "ll" width specifiers from C99 to scanf(). A few callers were already using "ll" even though scanf() was handling it as "l". Submitted by: Alan Somers <alans@spectralogic.com> Submitted by: John Suykerbuyk <johns@spectralogic.com> Sponsored by: Spectra Logic MFC after: 1 week Reviewed by: ken
* List supported ioctl commands instead of old one.glebius2012-01-261-5/+3
|
* Don't mention no longer supported ioctl commands.glebius2012-01-261-6/+2
|
* Remove a block that contatined some outdated misinformationglebius2012-01-261-12/+1
| | | | | on how addresses are configured, as well as obviousness that Ethernet interface may run arp(4).
* Remove a commented out old block inherited from inet.4. Theglebius2012-01-261-80/+0
| | | | | | text there was so much outdated that it required a complete rewrite even for inet.4, not mentioning inet6.4. There is no reason to keep it in the manual page.
* - Remove no longer supported ioctl cmds.glebius2012-01-261-15/+2
| | | | - Fix name of SIOCSIFADDR.
* Update information on setting and retreiving inet4 addresses.glebius2012-01-261-18/+31
|
* Rewrite jack presence detection and implement automatic recording sourcemav2012-01-251-1/+23
| | | | | | | | | | | | | | | | | | | | | | | | | selection in snd_hda(4) driver. Now driver tracks jack presence detection status for every CODEC pin. For playback associations, when configured, that information, same as before, can be used to automatically redirect audio to headphones. Also same as before, these events are used to track digital display connection status and fetch ELD. Now in addition to that driver uses that information to automatically switch recording source of the mixer to the connected input. When there are devices with no jack detection and with one both connected, last ones will have the precedence. As result, on most laptops after boot internal microphone should be automatically selected. But if external one (for example, headset) connected, it will be selected automatically. When external mic disconnected, internal one will be selected again. Automatic recording source selection is enabled by default now to make recording work out of the box without touching mixer. But it can be disabled or limited only to attach time using hint.pcm.X.rec.autosrc loader tunables or dev.pcm.X.rec.autosrc sysctls. MFC after: 2 months Sponsored by: iXsystems, Inc.
* Some minor additions to the list of supported devices...imp2012-01-251-2/+6
|
* Document the values for hw.snd.default_auto.stefanf2012-01-221-3/+12
|
* Connect VirtIO-related manpages to the build.brueffer2012-01-221-0/+10
|
* General cleanup.brueffer2012-01-224-23/+25
| | | | Prodded by: grehan
* Reflect tunable name change made in r230337.yongari2012-01-191-4/+4
|
* Remove remnants of dev_t.ed2012-01-195-12/+12
| | | | | | | | These functions take a `struct cdev *' -- not a dev_t. Inside the kernel, dev_t has the same use as in userspace, namely to store a device identifier. MFC after: 2 weeks
* Add missing MLINKS to INDEX.5kevlo2012-01-191-0/+1
|
* Update .Dd date on this man page.sbruno2012-01-181-1/+1
| | | | | | | MFC with r230313 and r230316 Caught by: bz Obtained from: Yahoo! Inc.
* Update man page to show that ciss(4) now support the P420sbruno2012-01-181-0/+2
| | | | | | | | MFC with r230313 Caught by: brueffer Obtained from: Yahoo! Inc MFC after: 2 weeks
* Comment cosmetics: end more sentences with full stops.schweikh2012-01-181-6/+6
|
* Specify the correct section (4 instead of 9) in the h_ertt man page's title andlstewart2012-01-181-2/+2
| | | | | | bump the document date. MFC after: 3 days
* NOOBJ is long time deadkevlo2012-01-181-4/+0
| | | | Reviewed by: kib
* vfs_object_create() function is obsolete. Use vnode_create_vobject()kevlo2012-01-181-2/+2
| | | | | | to create the backing object. Reviewed by: kib
* Document dev.bge.%d.msi_disable tunable.yongari2012-01-171-2/+5
|
* Major snd_hda driver rewrite:mav2012-01-151-207/+136
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Huge old hdac driver was split into three independent pieces: HDA controller driver (hdac), HDA CODEC driver (hdacc) and HDA sudio function driver (hdaa). - Support for multichannel recording was added. Now, as specification defines, driver checks input associations for pins with sequence numbers 14 and 15, and if found (usually) -- works as before, mixing signals together. If it doesn't, it configures input association as multichannel. - Signal tracer was improved to look for cases where several DACs/ADCs in CODEC can work with the same audio signal. If such case found, driver registers additional playback/record stream (channel) for the pcm device. - New controller streams reservation mechanism was implemented. That allows to have more pcm devices then streams supported by the controller (usually 4 in each direction). Now it limits only number of simultaneously transferred audio streams, that is rarely reachable and properly reported if happens. - Codec pins and GPIO signals configuration was exported via set of writable sysctls. Another sysctl dev.hdaa.X.reconfig allows to trigger driver reconfiguration in run-time. - Driver now decodes pins location and connector type names. In some cases it allows to hint user where on the system case connectors, related to the pcm device, are located. Number of channels supported by pcm device, reported now (if it is not 2), should also make search easier. - Added workaround for digital mic on some Asus laptops/netbooks. MFC after: 2 months Sponsored by: iXsystems, Inc.
* Remove documentation for set_rcvar() now that it has been removed.dougb2012-01-142-32/+4
|
* No need to run buildworld before generate-release.sh.glebius2012-01-141-4/+2
|
* Regenerate src.conf(5).ed2012-01-131-4/+3
|
* Copyright years updated.maxim2012-01-131-1/+1
|
* o Mac OS X 10.7 added (belatedly). FreeBSD 9.0-RELEASE added.maxim2012-01-131-3/+8
|
* rc.d: document 'quiet' prefix and fix dhclient/devd interactionrea2012-01-121-1/+17
| | | | | | | | | | | | | | | | | | | | | Document the current semantics of the 'quiet' command prefix in the rc.subr(8). Fix dhclient rc.d script: it should not call err() for non-DHCP-enabled interface when it is called from devd, because the latter just blindly calls 'service dhclient quietstart' on each "link up" event. Since the 'quietstart' will silence the message "Cannot 'start' <foo>. Set <foo>_enable to YES in /etc/rc.conf or use 'onestart' instead of 'start'." and running dhclient on the non-DHCP-enabled interface is the same thing as running the service <foo> without <foo>_enable set, such modification is in sync with the current semantics of the 'quiet' prefix. Approved by: glebius Reviewed by: freebsd-rc list MFC after: 2 weeks
* Add the CAM Target Layer (CTL).ken2012-01-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CTL is a disk and processor device emulation subsystem originally written for Copan Systems under Linux starting in 2003. It has been shipping in Copan (now SGI) products since 2005. It was ported to FreeBSD in 2008, and thanks to an agreement between SGI (who acquired Copan's assets in 2010) and Spectra Logic in 2010, CTL is available under a BSD-style license. The intent behind the agreement was that Spectra would work to get CTL into the FreeBSD tree. Some CTL features: - Disk and processor device emulation. - Tagged queueing - SCSI task attribute support (ordered, head of queue, simple tags) - SCSI implicit command ordering support. (e.g. if a read follows a mode select, the read will be blocked until the mode select completes.) - Full task management support (abort, LUN reset, target reset, etc.) - Support for multiple ports - Support for multiple simultaneous initiators - Support for multiple simultaneous backing stores - Persistent reservation support - Mode sense/select support - Error injection support - High Availability support (1) - All I/O handled in-kernel, no userland context switch overhead. (1) HA Support is just an API stub, and needs much more to be fully functional. ctl.c: The core of CTL. Command handlers and processing, character driver, and HA support are here. ctl.h: Basic function declarations and data structures. ctl_backend.c, ctl_backend.h: The basic CTL backend API. ctl_backend_block.c, ctl_backend_block.h: The block and file backend. This allows for using a disk or a file as the backing store for a LUN. Multiple threads are started to do I/O to the backing device, primarily because the VFS API requires that to get any concurrency. ctl_backend_ramdisk.c: A "fake" ramdisk backend. It only allocates a small amount of memory to act as a source and sink for reads and writes from an initiator. Therefore it cannot be used for any real data, but it can be used to test for throughput. It can also be used to test initiators' support for extremely large LUNs. ctl_cmd_table.c: This is a table with all 256 possible SCSI opcodes, and command handler functions defined for supported opcodes. ctl_debug.h: Debugging support. ctl_error.c, ctl_error.h: CTL-specific wrappers around the CAM sense building functions. ctl_frontend.c, ctl_frontend.h: These files define the basic CTL frontend port API. ctl_frontend_cam_sim.c: This is a CTL frontend port that is also a CAM SIM. This frontend allows for using CTL without any target-capable hardware. So any LUNs you create in CTL are visible in CAM via this port. ctl_frontend_internal.c, ctl_frontend_internal.h: This is a frontend port written for Copan to do some system-specific tasks that required sending commands into CTL from inside the kernel. This isn't entirely relevant to FreeBSD in general, but can perhaps be repurposed. ctl_ha.h: This is a stubbed-out High Availability API. Much more is needed for full HA support. See the comments in the header and the description of what is needed in the README.ctl.txt file for more details. ctl_io.h: This defines most of the core CTL I/O structures. union ctl_io is conceptually very similar to CAM's union ccb. ctl_ioctl.h: This defines all ioctls available through the CTL character device, and the data structures needed for those ioctls. ctl_mem_pool.c, ctl_mem_pool.h: Generic memory pool implementation used by the internal frontend. ctl_private.h: Private data structres (e.g. CTL softc) and function prototypes. This also includes the SCSI vendor and product names used by CTL. ctl_scsi_all.c, ctl_scsi_all.h: CTL wrappers around CAM sense printing functions. ctl_ser_table.c: Command serialization table. This defines what happens when one type of command is followed by another type of command. ctl_util.c, ctl_util.h: CTL utility functions, primarily designed to be used from userland. See ctladm for the primary consumer of these functions. These include CDB building functions. scsi_ctl.c: CAM target peripheral driver and CTL frontend port. This is the path into CTL for commands from target-capable hardware/SIMs. README.ctl.txt: CTL code features, roadmap, to-do list. usr.sbin/Makefile: Add ctladm. ctladm/Makefile, ctladm/ctladm.8, ctladm/ctladm.c, ctladm/ctladm.h, ctladm/util.c: ctladm(8) is the CTL management utility. It fills a role similar to camcontrol(8). It allow configuring LUNs, issuing commands, injecting errors and various other control functions. usr.bin/Makefile: Add ctlstat. ctlstat/Makefile ctlstat/ctlstat.8, ctlstat/ctlstat.c: ctlstat(8) fills a role similar to iostat(8). It reports I/O statistics for CTL. sys/conf/files: Add CTL files. sys/conf/NOTES: Add device ctl. sys/cam/scsi_all.h: To conform to more recent specs, the inquiry CDB length field is now 2 bytes long. Add several mode page definitions for CTL. sys/cam/scsi_all.c: Handle the new 2 byte inquiry length. sys/dev/ciss/ciss.c, sys/dev/ata/atapi-cam.c, sys/cam/scsi/scsi_targ_bh.c, scsi_target/scsi_cmds.c, mlxcontrol/interface.c: Update for 2 byte inquiry length field. scsi_da.h: Add versions of the format and rigid disk pages that are in a more reasonable format for CTL. amd64/conf/GENERIC, i386/conf/GENERIC, ia64/conf/GENERIC, sparc64/conf/GENERIC: Add device ctl. i386/conf/PAE: The CTL frontend SIM at least does not compile cleanly on PAE. Sponsored by: Copan Systems, SGI and Spectra Logic MFC after: 1 month
* Add setsockopt(2) example to ng_ksocket(4).melifaro2012-01-101-2/+8
| | | | | | | While here, fix formatting a bit Approved by: kib(mentor) MFC after: 2 weeks
* X11BASE has been deprecated for a long time and will die sooneadler2012-01-093-6/+6
| | | | | | Approved by: x11 (eadler) Approved by: brucec MFC after: 1 week
* Allow crunchgen binary link generation to be disabled.adrian2012-01-051-0/+5
| | | | | | | | If CRUNCH_GENERATE_LINKS is set to "no", then no links will be generated. This defaults to "yes" so things like release crunch building still works.
* Apply Typo-B-Gone 2000 [TM]uqs2012-01-053-4/+4
|
* Pull up vendor changes to mdoc(7)uqs2012-01-052-4/+4
| | | | | | | | This switches us to using -isoC-2011 as the symbol name which is used by groff and mdocml. It follows the change to 4 digit years as done with IEEE Std 1003 post-1999. MFC after: 2 weeks (groff changes only)
* Fix typo.brueffer2012-01-051-1/+1
| | | | MFC after: 1 week
* Reimplement <tgmath.h> on top of __generic().ed2012-01-051-6/+15
| | | | | | | | | | | | The macro construction used now, is almost identical to the code provided in C11 proposal N1404. This new version doesn't seem to introduce any regressions according to the regression test in tools/, but still seems to malfunction with Clang on certain aspects. The new code does work successfully with GCC 4.2, 4.6 and 4.7. With 4.7, it also works when __generic() is implemented on top of _Generic(). Discussed with: stefanf
* Add WITHOUT_CAPSICUM src.conf(5) define, which can be used to compile outrwatson2012-01-022-2/+6
| | | | | | | use of Capsicum by userspace applications. MFC after: 3 weeks Sponsored by: Google, Inc.
* Fix sloppyness in memcchr() man page.ed2012-01-012-0/+1
| | | | | | I was considering adding it to libc as well, but last minute I thought it would be good enough to add it to libkern exclusively. I forgot to rename the man page and hook it up.
* Fix typo; return -> returns.ed2012-01-011-1/+1
|
* Introducing memcchr(3).ed2012-01-011-0/+59
| | | | | | | | | | | | | | | | | | | | | It seems two of the file system drivers we have in the tree, namely ufs and ext3, use a function called `skpc()'. The meaning of this function does not seem to be documented in FreeBSD, but it turns out one needs to be a VAX programmer to understand what it does. SPKC is an instruction on the VAX that does the opposite of memchr(). It searches for the non-equal character. Add a new function called memcchr() to the tree that has the following advantages over skpc(): - It has a name that makes more sense than skpc(). Just like strcspn() matches the complement of strspn(), memcchr() is the complement of memchr(). - It is faster than skpc(). Similar to our strlen() in libc, it compares entire words, instead of single bytes. It seems that for this routine this yields a sixfold performance increase on amd64. - It has a man page.
* Revert r228986 until it can be reworked to avoid panicing the kernel when thelstewart2011-12-311-65/+36
| | | | | | | same interface is attached multiple times with different DLTs, as is done in net80211 for example. Reported by: adrian
OpenPOWER on IntegriCloud