summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Shutdown curses when exit. While I am there, remove a staledelphij2006-08-081-1/+4
| | | | comment which does not apply to sade(8).
* - Pass pointer to fd_set in ReadSockets.glebius2006-08-081-8/+9
| | | | | | - style(9) nits. Submitted by: ru
* Reduce the scope of the page queues lock in vfs_busy_pages() now thatalc2006-08-081-1/+1
| | | | | vm_page_sleep_if_busy() no longer requires the caller to hold the page queues lock.
* Axe unused member field.davidxu2006-08-082-12/+2
|
* Get number of CPUs and ignore spin count on single processor machine.davidxu2006-08-083-6/+15
|
* Pass VM_PROT_EXECUTE to vm_fault() instead of VM_PROT_READ if the pagealc2006-08-081-0/+6
| | | | fault was caused by an instruction fetch.
* Remove the global dock variable. Each dock device should be able tonjl2006-08-081-38/+33
| | | | | | function independently. This change is not only load-tested since I don't have hardware that supports acpi_dock. Clean up comments and a name a few constants.
* If a beep was enabled, turn it off 3 seconds after resume.njl2006-08-081-0/+11
| | | | MFC after: 3 days
* Remove a bogus i = 0.kevlo2006-08-082-2/+2
| | | | Approved by: cognet
* Connect sade to the build.netchild2006-08-071-0/+1
|
* Say welcome to 'sade', the SysAdmins Disk Editor. It's the fdisk and ↵netchild2006-08-0723-6355/+131
| | | | | | | | | | | | disklabel part of sysinstall. So sysinstall may retire now, we have the important non-install part of it covered. ATM it doesn't understand GEOM stuff (like mirror, stripe, raid, ...), but patches to change this and to clean it up internally are more than welcome. Submitted by: mami@nyitolap.hu
* Forced commit to note repo copy from sysinstall.netchild2006-08-071-0/+1
| | | | Repo copy by: markm
* Use a low probe-priority to ensure that the emu10kx driver has a highernetchild2006-08-071-1/+1
| | | | priority than this one when both are available.
* "Fix typos in volume control DSP code."netchild2006-08-071-2/+2
| | | | Submitted by: Yuriy Tsibizov <Yuriy.Tsibizov@gfk.ru>
* "Fixe playback of mono files on stereo outputs. In previous versionnetchild2006-08-071-1/+20
| | | | | | mono files are played only on left channel." Submitted by: Yuriy Tsibizov <Yuriy.Tsibizov@gfk.ru>
* "Change type for flags bitmap to let use 1 as flag value withoutnetchild2006-08-071-1/+1
| | | | | | overflow (to -1)." Submitted by: Yuriy Tsibizov <Yuriy.Tsibizov@gfk.ru>
* "Workaround for sound lag in current snd_emu10kx driver. Real problemnetchild2006-08-073-19/+23
| | | | | | | | | | | is interaction between in-kernel sound buffer handling and hardware. With small buffer, there are times when both harwdare reads and kernel writes to the same buffer (it is only visible on slow machines, i think). I'm digging in channel.c and buffer.c to find a solution that allow use of large hardware buffers without sound lags - hardware can handle buffers up to 32Mb." Submitted by: Yuriy Tsibizov <Yuriy.Tsibizov@gfk.ru>
* Return length from fwopen() file callback instead of zero.phk2006-08-071-1/+1
| | | | | | | | | | | | | | | | | | | | The symptom is that syslog() fails to log anything but the "ident" string if LOG_PERROR is specified to openlog(3) and the extensible printf is in action. For unclear, likely quaint historical reasons, syslog uses fwopen() on a stack buffer, rather than using the more straightforward and faster snprintf(). Along the way, fflush(3) is called, and since the callback writer function returns zero instead of the length "written", __SERR naturally gets set on the filedescriptor. The extensible printf, in difference from the normal printf refuses to output anything to an __SERR marked filedescriptor, and thus the actual syslog message is supressed. MFC: after 2 weeks
* Add missing #.pjd2006-08-071-1/+1
|
* When a user uses a hint to specify the IRQ for a link device, accept IRQsjhb2006-08-071-5/+13
| | | | | | | | | that aren't listed as valid in the link device's set of possible IRQs. This allows the hints to be used to work around broken BIOSes that don't specify the correct ste of possible IRQs. A warning is issued in the dmesg in this case to be consistent with the $PIR handling code. MFC after: 1 week
* Fix some minor nits in the README file of wessidekeramida2006-08-071-4/+3
| | | | Reviewed by: sam, Andrea Bittau <a.bittau@cs.ucl.ac.uk>
* - Improve and extend mark-up.yar2006-08-071-20/+32
| | | | | | | | | | - Don't use full path in .Nm (we just don't do that). - Correct some frivolous and poorly rendering language, such as using possessive case for .Nm or .Fl . - Use the same capitalization for "user ID" as in setuid(2) and getuid(2). - Bring SEE ALSO in accord with the text. MFC after: 5 days
* Add line edit and history support to ngctl(8) via editline(3).glebius2006-08-072-22/+168
| | | | | | | | | | | | | | | | | | Details: - The main thread runs editline(3) functions, that can block. - A separate thread is launched to monitor netgraph sockets. - The access to the descriptors is protected by a mutex. At runtime the monitoring thread owns the mutex. When the main thread reads a command from el_gets() it asks the monitoring thread to release a mutex and sleep until the main thread processes the command. This makes ngctl(8) depend on libedit, and libpthread. Thus, the new functionality isn't compiled in if release is being built with -DRELEASE_CRUNCH. PR: bin/87352 Reviewed by: ru, Nuno Antunes <nuno.antunes gmail.com>
* Recognize the 5750 C2.glebius2006-08-072-0/+2
| | | | Obtained from: OpenBSD (brad)
* Move definition of UNIX domain socket protosw and domain entries fromrwatson2006-08-074-84/+35
| | | | | | uipc_proto.c to uipc_usrreq.c, making localdomain static. Remove uipc_proto.c as it's no longer used. With this change, UNIX domain sockets are entirely encapsulated in uipc_usrreq.c.
* Spell "determine" correctly.keramida2006-08-071-1/+1
| | | | Reviewed by: jb
* Update NetBSD and OpenBSD SCM tags to match the reality. Note thatdelphij2006-08-071-2/+2
| | | | | | NetBSD revisions 1.8 and 1.9 are not actually applied to our code base because we have solved the problem differently, therefore, these changes can be safely skipped.
* Merge all applicable NetBSD and OpenBSD improvements over this manpagedelphij2006-08-071-9/+11
| | | | | | | | | | till NetBSD mailwrapper.8,v 1.11 and OpenBSD mailwrapper.8,v 1.8: - Separate exit status out from diagnostics section. - Fix typos. Obtained from: NetBSD, OpenBSD MFC After: Along with mailwrapper(8) updates.
* - Use log(9) instead of printf(9).glebius2006-08-071-26/+44
| | | | | | | | - Print node ID, where possible. - Prepend log messages with function name, or at least with "ng_pppoe". Reviewed by: julian Tested by: Joao Barros <joao.barros gmail.com>
* Fix things I misadvised to Nate Lawson:yar2006-08-071-28/+44
| | | | | | | | | | | | | | - "Ns No" is redundant, so reduce it to just "Ns"; - use Li to mark up CPU and system power states because here they are just strings to be typed literally (add more such mark-up as well); - the best practice of typesetting tells us to use an en-dash to indicate a closed range; fortunately, groff_char(7) provides such a symbol. In addition, consistently use a comma between independent clauses coordinated by a conjunction. Pointed out by: ru (mark-up part) MFC after: 3 days
* add wessidesam2006-08-072-1/+2
|
* another tool that uses the raw tx apisam2006-08-078-0/+3384
| | | | Submitted by: Andrea Bittau <a.bittau@cs.ucl.ac.uk>
* use proper tx seriessam2006-08-061-2/+2
| | | | Submitted by: Andrea Bittau <a.bittau@cs.ucl.ac.uk>
* Eliminate the unnecessary acquisition and release of the page queues lockalc2006-08-061-4/+0
| | | | from pmap_pinit().
* Make mpo_associate_nfsd_label() return void, not int, to matchrwatson2006-08-063-4/+3
| | | | | | mac_associate_nfsd_label(). Head nod: csjp
* Eliminate a pair of unneeded parentheses slipped in from previous version ofmarck2006-08-061-1/+1
| | | | | | fix. Noticed by: ru
* Add identifier for the Epson CX3650 all-in-one scanner function.bms2006-08-062-0/+2
| | | | | | | | | This enables the scanner function on these devices to be detected and probed by uscanner(4), but only when ulpt is not loaded. PR: usb/92462 Submitted by: Friedrich Volkmann MFC after: 30 days
* - Added ability to provide (optional) path to the kernel sourcesrik2006-08-061-19/+32
| | | | | | | | | | - Fixed path for ${s}/conf/files.FOO and a note that it should be merged into corresponding file to be able to compile the kernel - Changed kernel configuration example with the driver: it is not produced by copying Generic but by including it - Changed from automatic module building to asking an user if it whants to Reviewed by: julian@
* Fix compilation.rik2006-08-061-12/+9
| | | | Reviewed by: julian@
* Improve commenting of vaccess(), making sure to be clear that the ifdefrwatson2006-08-061-4/+10
| | | | | capabilities code is there for reference and never actually used. Slight style tweak.
* Don't set pru_sosend, pru_soreceive, pru_sopoll to default values, as theyrwatson2006-08-061-3/+0
| | | | are already set to default values.
* strlen(3) returns size_t, which is not strictly equivalent to int an 64-bitmarck2006-08-061-3/+4
| | | | | | | archs, hence printf(3) warning. Fix this. Noticed by: tinderbox Approved by: rse
* Eliminate the acquisition and release of the page queues lock around a callalc2006-08-062-4/+2
| | | | to vm_page_sleep_if_busy().
* Reduce the scope of the page queues lock in kern_sendfile() now thatalc2006-08-061-4/+4
| | | | | vm_page_sleep_if_busy() no longer requires the caller to hold the page queues lock.
* Eliminate the acquisition and release of the page queues lock around a callalc2006-08-061-4/+2
| | | | to vm_page_sleep_if_busy().
* Change vm_page_sleep_if_busy() so that it no longer requires the caller toalc2006-08-061-1/+2
| | | | hold the page queues lock.
* With socket code no longer in svr4_stream.c, MAC includes are no longerrwatson2006-08-051-2/+0
| | | | required, so GC.
* Remove register, use ANSI function headers.rwatson2006-08-051-15/+9
|
* We now spell "inode" as "vnode" in the VFS layer, so update commentrwatson2006-08-051-3/+3
| | | | | | | for new world order. MFC after: 3 days Pointed out by: mckusick
* Add libbsm to the list of our standard libraries.yar2006-08-051-0/+1
| | | | Approved by: ru
OpenPOWER on IntegriCloud