Commit Graph

13182 Commits

Author SHA1 Message Date
jh
ceb3f1544b Xref mdmfs(8). 2010-02-16 20:00:20 +00:00
jh
5e778d8cbc Improve descriptions for tmpfs mount options. The descriptions have
been mostly obtained from NetBSD mount_tmpfs(8) manual page.

Obtained from:	NetBSD
Discussed with:	delphij
2010-02-16 19:59:10 +00:00
uqs
0d3aa43814 Document co-mentorship by ed.
Approved by:	ed (co-mentor)
2010-02-16 09:10:48 +00:00
uqs
89a7a155da Add missing newline in last line of file.
Uncovered via:	fromcvs vs. svn
Approved by:	ed (co-mentor)
2010-02-16 09:10:21 +00:00
delphij
27ac799cb4 Remove clause 3 from my license. 2010-02-16 08:19:28 +00:00
weongyo
2eef358f95 adds bwn(4) driver for supporting Broadcom BCM43xx chipsets.
o uses v4 firmware instead of v3.  A port will be committed to create
    the bwn firmware module.
  o supports B/G and LP(low power) PHYs.
  o supports 32 / 64 bits DMA operations.
  o tested on big / little endian machines so should work on all
    architectures.

It'd not connected to the build until the firmware port is committed.
2010-02-16 01:44:14 +00:00
trasz
5bd435ea19 Some rewording and language fixes.
PR:		docs/136918, docs/134074
Submitted by:	Ben Kaduk <kaduk at mit dot edu>, Haven Hash <havenster at gmail dot com>
2010-02-15 17:41:59 +00:00
trasz
7bce9ac88b Remove list of locking primitives, which is kind of redundant, move
information about witness(9) to the section about interactions, and
expand 'contexts' table.
2010-02-13 12:03:03 +00:00
trasz
fbbd50b068 Fix VBAD description. 2010-02-13 11:54:01 +00:00
nork
6cd5e26ea1 Fix a installation issue with $DESTDIR.
Approved by:	imp (mentor)
2010-02-11 15:34:54 +00:00
trasz
c3b530a4d9 Start sentences with a new line.
Submitted by:	brueffer
2010-02-10 19:03:48 +00:00
trasz
d7d58009ce Improve description for Giant and mention blocking inside interrupt threads. 2010-02-10 17:02:06 +00:00
trasz
ad83c69792 Remove VOP_VPTOFH(9) from references in VFS(9), as it's a VOP,
not VFS operation.
2010-02-09 21:01:18 +00:00
trasz
f435da68d7 Add references to VOP_* man pages to vnode(9). 2010-02-09 20:58:39 +00:00
gavin
f40e5da60d Kernel modules for these drivers are installed on all platforms, so
install the man pages on all platforms too.
2010-02-08 23:30:28 +00:00
brucec
36b8524222 Update documentation for the iwn and iwnfw drivers: they support the 1000, 5150, 6000 and 6050 devices too, with firmware modules for the 4965, 1000, 5000, 5150 and 6000.
Add documentation for mwl and all the wireless firmware drivers.

Approved by:	rrs (mentor)
2010-02-08 21:38:42 +00:00
gavin
c708ada580 Install the padlock(4) man page on amd64 as well as i386, to match the
platforms where the driver itself is compiled and installed.

PR:		docs/130895
Reported by:	George Hartzell <hartzell alerce.com>
MFC after:	1 week
2010-02-08 21:24:12 +00:00
gavin
4601e94326 Update .Dt to reflect the fact that these drivers and man pages are
installed on more than just i386.
2010-02-08 21:01:41 +00:00
gavin
238dae6d52 Update .Dt on these man pages: the kernel modules and corresponding man
pages are installed on more platforms than just i386.
2010-02-08 20:53:29 +00:00
brucec
0f6964e1c3 Fix typo and remove extra spaces.
Approved by:	rrs (mentor)
MFC after:	3 days
2010-02-08 20:04:16 +00:00
emax
bde3e9d61d Introduce new rc.conf variable firewall_coscripts. It can be used to
specify list of executables and/or rc scripts that should be executed
after firewall starts/stops.

Submitted by:	Yuri Kurenkov <y dot kurenkov at init dot ru>
Reviewed by:	rhodes, rc@
MFC after:	1 week
2010-02-08 18:51:24 +00:00
gavin
28b830ebd8 Correct arguments to free_unr(), "item" was missing.
MFC after:	1 week
2010-02-07 20:36:23 +00:00
gavin
c54452e915 Add support for a few more Sony-specific ACPI features (default display
brightness, wired LAN power and bass gain), and update the description of
one previously unknown feature (display contrast).  While here, expand on
a comment and remove two defines left over from an old version of the code.

Also update man page to document the above changes, and correct grammar.

PR:		kern/127581
2010-02-07 18:36:30 +00:00
gavin
794b9c1e98 Bump .Dd for r203620
MFC after:	1 week
2010-02-07 18:06:55 +00:00
gavin
009555be18 Document support for the D-Link DFE520-TX card (supported with the vr(4)
driver)

PR:		kern/135989
Submitted by:	"Rashid N. Achilov"  citycat4 ngs.ru
2010-02-07 18:05:12 +00:00
brueffer
f834d13a70 Fix whitespace in pho's entry, results in nicer output files.
PR:		143613
Submitted by:	pluknet <pluknet@gmail.com>
Committed from:	Debian/kFreeBSD talk at FOSDEM
2010-02-07 13:59:03 +00:00
bschmidt
a487005b0c Add myself.
Approved by:	rpaulo (mentor)
2010-02-06 18:10:58 +00:00
trasz
3de39c243b Add missing coma. 2010-02-06 14:10:45 +00:00
gabor
2c76d0e26f - Add myself
Approved by:	delphij (mentor)
2010-02-02 10:00:23 +00:00
joerg
8d6ed99eb0 Add xrefs to gpib(3), now that it exists.
MFC after:	3 days
2010-02-01 21:01:20 +00:00
wkoszek
4322aec98e Conform style.Makefile(5) and replace = and += with ?=, which lets you to
override WARNS.

Reported by:	<marius@nuenneri.ch> and uqs@
2010-02-01 16:13:56 +00:00
jh
bd4ec0f8b9 Bump .Dd for r203164.
Approved by:	trasz (mentor)
2010-01-29 15:11:50 +00:00
brucec
63e9a9bba3 Add myself and show rrs@ as my mentor.
Approved by:	rrs (mentor)
2010-01-29 14:44:05 +00:00
jh
cf48230780 Add "maxfilesize" mount option for tmpfs to allow specifying the
maximum file size limit. Default is UINT64_MAX when the option is
not specified. It was useless to set the limit to the total amount of
memory and swap in the system.

Use tmpfs_mem_info() rather than get_swpgtotal() in tmpfs_mount() to
check if there is enough memory available.

Remove now unused get_swpgtotal().

Reviewed by:	Gleb Kurtsou
Approved by:	trasz (mentor)
2010-01-29 12:09:14 +00:00
thompsa
21efcfed68 Hook run(4) to the build. 2010-01-28 22:28:01 +00:00
thompsa
47c70728c0 Add run(4), a driver for Ralink RT2700U/RT2800U/RT3000U USB 802.11agn devices.
This driver was written for OpenBSD by Damien Bergamini and ported over by
Akinori Furukoshi.
2010-01-28 22:24:54 +00:00
trasz
687466eca7 Cosmetic fixes. 2010-01-28 21:14:12 +00:00
trasz
5fbacf2860 Add description of bounded sleep vs unbounded sleep (aka blocking). Move
rules into their own section.
2010-01-28 19:57:24 +00:00
uqs
37ccbba9e7 Add myself.
Approved by:	philip (mentor)
2010-01-28 19:41:26 +00:00
joerg
e235f8c667 Fix typo in xref (it accidentally referenced itself).
MFC after:	1 day
2010-01-28 19:12:40 +00:00
mav
e348f728a7 Note added FIS-based switching support. 2010-01-28 18:15:19 +00:00
trasz
f0928fee72 Improve descriptions, remove turnstiles (since, from what I understand,
they are only used to implement other synchronization primitives), tweak
formatting.
2010-01-28 17:09:47 +00:00
emaste
cf9c897ddd Clean up rc.subr man page after removing leftover NetBSD compat. Also
switch to 2-clause license per NetBSD rc.subr.8 r1.19.

Submitted by:	Alex Kozlov
2010-01-28 01:47:31 +00:00
delphij
9b81a2fd8d Add a manual page for nvram(4).
MFC after:	2 weeks
2010-01-27 00:34:52 +00:00
delphij
d9a0cd0982 Revised revision 199201 (add interface description capability as inspired
by OpenBSD), based on comments from many, including rwatson, jhb, brooks
and others.

Sponsored by:	iXsystems, Inc.
MFC after:	1 month
2010-01-27 00:30:07 +00:00
romain
57583f1a72 Add myself to the list of ports committers.
Approved by:	flz (mentor)
2010-01-26 20:50:41 +00:00
avilla
26985617de Add myself.
Approved by:	tabthorpe (mentor)
2010-01-26 20:38:24 +00:00
edwin
a7e69958a4 MFV of tzdata2010b, r203017
Mexico's House of Representatives has approved a proposal for
northern Mexico's border cities to share the same daylight saving
schedule as the United States.

MFC after:	now
2010-01-26 11:12:47 +00:00
joerg
048b796ee5 Add an example, derived from the basic demo phk once sent me. 2010-01-25 06:37:44 +00:00
joerg
bdb90ab51e Add man pages for the gpib(4), pcii(4), and tnt4882(4) drivers.
MFC after:	3 days
2010-01-24 19:11:08 +00:00
attilio
a4281bb884 - Fix the kthread_{suspend, resume, suspend_check}() locking.
In the current code, the locking is completely broken and may lead
  easilly to deadlocks. Fix it by using the proc_mtx, linked to the
  suspending thread, as lock for the operation.  Keep using the
  thread_lock for setting and reading the flag even if it is not entirely
  necessary (atomic ops may do it as well, but this way the code is more
  readable).
- Fix a deadlock within kthread_suspend().
  The suspender should not sleep on a different channel wrt the suspended
  thread, or, otherwise, the awaker should wakeup both. Uniform the
  interface to what the kproc_* counterparts do (sleeping on the same
  channel).
- Change the kthread_suspend_check() prototype.
  kthread_suspend_check() always assumes curthread and must only refer to
  it, so skip the thread pointer as it may be easilly mistaken.
  If curthread is not a kthread, the system will panic.

In collabouration with:	jhb
Tested by:		Giovanni Trematerra
			<giovanni dot trematerra at gmail dot com>
MFC:			2 weeks
2010-01-24 15:07:00 +00:00
kib
22188bf2d0 Document pthread_timedjoin_np.
Note implementation-defined EOPNOTSUPP error [1].

PR:	threads/143115 [1]
MFC after:	3 days
2010-01-23 13:08:47 +00:00
delphij
6facf0f8e1 Move USD documents from /usr/share/doc/papers to to /usr/share/doc/usd.
Reviewed by:	gabor
2010-01-22 23:19:48 +00:00
sepotvin
409b16e99a Introduce two new flags PO_CFLAGS and PO_CXXFLAGS to make it possible
to have different flags when building profiled objects.

MFC after:	1 month
2010-01-22 14:05:48 +00:00
mav
b1036989e7 Add "MIXER CONTROLS" chapter. 2010-01-22 11:04:25 +00:00
ed
310c6339aa Correct a minor mistake in my previous commit.
getutxent is in category 3, not 5.
2010-01-21 17:26:11 +00:00
ed
b28da9a61e Remove stale references to utmp(5) and its corresponding filenames.
I removed utmp and its manpage, but not other manpages referring to it.
2010-01-21 17:25:12 +00:00
jhb
0dfdde5788 Sort NDHASGIANT.9 link properly. 2010-01-19 20:36:15 +00:00
edwin
938dbefb29 MFV of tzdata2010a:
Administrative only: Fix AT fields for Asia/Dhaka
2010-01-18 23:34:23 +00:00
wkoszek
8459369f84 Include unistd.h for read(), write() and stdlib.h for exit().
Bump WARNS to 5 while being here.
2010-01-18 23:13:22 +00:00
wkoszek
202bd73aea Small cleanup while being here:
- sort includes
- remove usage(), since it seems to come from older version
  of the KLD
- remove unnecessary variable
- mark argc/argv as unused

Bring WARNS = 5 to the Makefile.
2010-01-18 23:09:07 +00:00
wkoszek
b9d7576304 Include stdlib.h for exit(3) and unistd.h for syscall(2). This makes
this program to compile cleanly.
2010-01-18 23:04:38 +00:00
wkoszek
6bbfdedac1 Small fix for making this KLD to compile. 2010-01-18 22:59:53 +00:00
trasz
85555d355f Undo r169961, removing WITH_GCC3, added as a temporary workaround three
years ago.
2010-01-18 21:56:08 +00:00
ru
7a4a8f7c7d Allow the CTAGS to be set to something other than "gtags" or "ctags",
but assume it supports a ctags(1)-compatible syntax.

PR:		46676
Submitted by:	Lyndon Nerenberg
MFC after:	3 days
2010-01-18 15:58:02 +00:00
ru
12905eaff5 If CTAGS is not set or set to something other than "ctags" or "gtags",
"cleandepend" was not removing the .depend file; fixed.

PR:		126747
MFC after:	3 days
2010-01-18 15:41:55 +00:00
gavin
f4c494dd6f Fix HISTORY section to detail the history of the driver, not the man page.
Approved by:	ed (mentor, implicit)
2010-01-16 14:33:22 +00:00
gavin
dbf9de710a Fix loader.conf(5) Xref
Approved by:	ed (mentor, implicit)
2010-01-16 14:32:02 +00:00
gavin
4f0862f400 Xref sysctl(3)
Approved by:	ed (mentor)
2010-01-16 14:31:01 +00:00
antoine
5be0dac2c2 regen
MFC after:	2 weeks
2010-01-16 12:27:15 +00:00
antoine
88ba3732f5 Unbreak world WITHOUT_NETGRAPH.
PR:		137487
Submitted by:	bf (previous version)
No objections:	net@
MFC after:	2 weeks
2010-01-16 12:20:26 +00:00
brueffer
4a757d7efd Manpage for the siba(4) Sonic Inc. Silicon Backplane driver.
Submitted by:	weongyo
2010-01-15 19:34:40 +00:00
ru
fdf6718f33 Use the newly brought %U macro. 2010-01-15 16:01:22 +00:00
brueffer
e5346cbead Add manpages for ipwfw(4) and iwifw(4), based on iwnfw(4).
MFC after:	2 weeks
2010-01-14 22:21:43 +00:00
jhb
415adcce72 - Note that if_xname, if_dname, and if_dunit are usually initialized via
if_initname().
- Document if_drv_flags and replace references to IFF_(RUNNING|OACTIVE)
  with references to IFF_DRV_(RUNNING|OACTIVE).
- Complete truncated sentence in the description of if_transmit by copying
  from the description in if_qflush.
- Add missing line breaks for translators.

Reviewed by:	brooks (1)
MFC after:	3 days
2010-01-14 14:43:16 +00:00
jhb
8019b29e4f - Update required headers for namei() to add <sys/fcntl.h> and remove
<sys/proc.h>.
- Add RETURN VALUES and ERROR sections for namei()'s error return values.
- Add a missing link to NDHASGIANT.9.

PR:		docs/142815, docs/142816
Submitted by:	Lachlan Kang (1, 2)
MFC after:	3 days
2010-01-14 14:36:39 +00:00
roam
2eceaf9455 Document that the IEEE80211_DEBUG kernel option is needed for
using the wlan(4) debugging controls with wording slightly
different from that in the PR.

PR:		142367
Submitted by:	Matthew Thyer <matt.thyer@gmail.com>
MFC after:	2 weeks
2010-01-14 09:38:23 +00:00
thompsa
271e7e0f72 Grammar nits.
Submitted by:	Ben Kaduk
2010-01-14 01:16:20 +00:00
ed
a6d91cab94 Remove the 1000 pseudo terminal limit from pts(4).
Even with the old utmp format, we could in fact go to pts/9999, because
ut_line wasn't guaranteed to be null terminated there.
2010-01-13 21:22:23 +00:00
thompsa
6bc4650616 Update to Fredrik's latest uhso driver. This changes port detection, adds
comments and other code nits.

Submitted by:	Fredrik Lindberg <fli@shapeshifter.se>
2010-01-13 20:54:18 +00:00
ed
a40e5b0c48 Remove <utmp.h> and its corresponding manual page. 2010-01-13 19:03:48 +00:00
thompsa
38619cd970 Add a driver by Fredrik Lindberg for Option HSDPA USB devices. These differ
from standard 3G wireless units by supplying a raw IP/IPv6 endpoint rather than
using PPP over serial. uhsoctl(1) is used to initiate and close the WAN
connection.

Obtained from:	Fredrik Lindberg <fli@shapeshifter.se>
2010-01-13 03:16:31 +00:00
brueffer
30ecbe64ee Various fixes. 2010-01-12 18:07:12 +00:00
gavin
0c2da89ac4 Spell "Hz" correctly wherever it is user-visible.
PR:		bin/142566
Submitted by:	N.J. Mann   njm njm.me.uk
Approved by:	ed (mentor)
MFC after:	2 weeks
2010-01-12 17:59:58 +00:00
mav
ca52a33d35 Update, reflecting added multichannel playback support. 2010-01-12 17:50:26 +00:00
ed
53bf501971 Properly make the end key work again for TERM=xterm.
I've been so busy hacking on utmpx the last couple of days, out of
reflex, I committed it to the wrong source tree. Note to myself: don't
hack on FreeBSD while watching TV at the same time.

PR:		conf/142578
Submitted by:	Yuri Pankov <yuri pankov gmail com>
Reminded by:	stefanf
2010-01-10 21:41:37 +00:00
thompsa
221cc21e3d Change the second usb example for ulpt to one describing libusb which would be
more common.
2010-01-10 18:53:15 +00:00
antoine
163965d76f libusb20 was renamed libusb several months ago.
MFC after:	1 month
2010-01-09 18:55:29 +00:00
delphij
323bc58a0a Fix formatting.
MFC after:	2 weeks
2010-01-09 12:34:15 +00:00
delphij
6761d75fb4 Add a set of manual pages for pthread[_attr]_[sg]etaffinity(3).
Reviewed by:	davidxu
MFC after:	2 weeks
2010-01-09 12:31:11 +00:00
brueffer
18ddcd66e1 bridge(4) acts like a switch, not like a hub.
PR:		141350
Submitted by:	brucec
Reviewed by:	thompsa
MFC after:	1 week
2010-01-09 09:30:09 +00:00
attilio
fde84f320b Introduce the new kernel thread called "deadlock resolver".
While the name is pretentious, a good explanation of its targets is
reported in this 17 months old presentation e-mail:
http://lists.freebsd.org/pipermail/freebsd-arch/2008-August/008452.html

In order to implement it, the sq_type in sleepqueues is mandatory and not
only compiled along with INVARIANTS option. Additively, a new sleepqueue
function, sleepq_type() is added, returning the type of the sleepqueue
linked to a wchan.
Three new sysctls are added in order to configure the thread:
debug.deadlkres.slptime_threshold
debug.deadlkres.blktime_threshold
debug.deadlkres.sleepfreq

rappresenting the thresholds for sleep and block time that will lead to
a deadlock matching (when exceeded), while the sleepfreq rappresents the
number of seconds between 2 consecutive thread runnings.
In order to enable the deadlock resolver thread recompile your kernel
with the option DEADLKRES.

Reviewed by:	jeff
Tested by:	pho, Giovanni Trematerra
Sponsored by:	Nokia Incorporated, Sandvine Incorporated
MFC after:	2 weeks
2010-01-09 01:46:38 +00:00
brueffer
da19d81aaa Various language fixes.
PR:		38061
Submitted by:	Chris Pepper <pepper@rockefeller.edu>
MFC after:	1 week
2010-01-09 00:24:54 +00:00
ru
ce510bcb3f Complete the swap of carp(4) log levels and document the change.
MFC after:	3 days
2010-01-08 16:14:41 +00:00
danger
e41443f157 - s/unsecure/insecure/ as this is the correct keyword 2010-01-07 11:30:54 +00:00
brueffer
9329eaed58 Add a missing word.
PR:		140989
Submitted by:	Lachlan Kang
MFC after:	1 week
2010-01-04 22:23:09 +00:00
brueffer
e4fee8b8e9 Catch up with the VFS_VPTOFH(9) -> VOP_VPTOFH(9) repocopy that happened
almost three years ago in r166794.

PR:		140989
Submitted by:	Lachlan Kang
MFC after:	1 week
2010-01-04 22:22:00 +00:00
bcr
b568a50852 Now that I'm free from mentorship, it's only fair to document who
my mentor was.
2010-01-04 15:50:41 +00:00
kib
16db58ba54 PG_NOSYNC is called VPO_NOSYNC for long time.
MFC after:	3 days
2010-01-04 14:58:41 +00:00
brueffer
fa09192f4e Add one more supported controller.
Submitted by:	pluknet <pluknet@gmail.com>
MFC after:	1 week
2010-01-02 16:27:25 +00:00
maxim
2521baf3fe o Correct URL to announcements collection.
PR:		docs/142204
Submitted by:	Jason Helfman
MFC after:	1 week
2009-12-31 19:36:51 +00:00
ed
97b61f2cf3 Disable K&R style function definitions for WARNS=6.
Unfortunately there are two slight problems with that:

- Yacc and lex might generate code that generates warnings because of
  this. Require yacc and lex to be rebuilt during bootstrap. I'm not
  incrementing __FreeBSD_version here, because I assume someone else
  will do this eventually.

- When running `make buildkernel', it uses share/mk from the source
  treeo to build aicasm. Because aicasm also depends on lex, this would
  break. Lower WARNS to 5 for now. We should just increment it to 6
  again somewhere in the very far future.
2009-12-31 00:07:26 +00:00
jhb
1265488e3a Add support for configuring vlan(4) interfaces as child devices similar to
wlan(4) interfaces.  vlan(4) interfaces are listed via a new 'vlans_<IF>'
variable.  If a vlan interface is a number, then that number is treated as
the vlan tag for the interface and the interface will be named '<IF>.<tag>'.
Otherwise, the vlan tag must be provided via a vlan parameter in a
'create_args_<vlan>' variable.

While I'm here, fix a few nits in rc.conf(5) and mention create_args_<IF> in
the description of cloned_interfaces.

Reviewed by:	brooks
MFC after:	2 weeks
2009-12-29 21:03:36 +00:00
trasz
4465947ce0 Remove examples for pppd and SLIP-related stuff. 2009-12-29 20:20:51 +00:00
edwin
3e6eb7c320 MFV of tzdata2009u, r201187
Bangladesh will change its clock back to Standard Time on Dec 31, 2009.

MFC after:	now
2009-12-29 10:13:45 +00:00
trasz
0b0591131c The net/if_slvar.h header is long gone. 2009-12-28 22:14:49 +00:00
trasz
e88226db95 Bump manual page dates. 2009-12-28 09:41:13 +00:00
trasz
d764dd9021 Change u3g(4) and ucom(4) to not refer to pppd(8), which is gone. 2009-12-28 09:32:45 +00:00
trasz
664558bea0 Line discipline support is gone; update tty(4) manual page to reflect this.
Reviewed by:	ed
2009-12-28 09:28:22 +00:00
trasz
7a5cea503e Add references to termios-related stuff. 2009-12-28 09:26:46 +00:00
marius
fafe874fa5 Correct my e-mail address. 2009-12-25 22:04:00 +00:00
marius
b738a05794 Add a man page for mk48txx(4).
Requested by:	n_hibma
Obtained from:	NetBSD (original version)
2009-12-25 22:01:39 +00:00
yongari
31dfe727b9 Document newly added loader tunable/sysctl variable
dev.ste.%d.int_rx_mod.
While I'm here add .Xr vlan as ste(4) supports long frames.
2009-12-24 18:50:59 +00:00
ru
0b6e1af801 Removed duplicate usbd_xfer_state(9) link. 2009-12-22 16:05:28 +00:00
ru
577c2cea5c Sort mlinks. 2009-12-22 16:02:08 +00:00
edwin
e2c0c68722 MFV of tzcode2009t, r200833
Comment only, no data changes.

MFC after:	1 week
2009-12-22 11:21:03 +00:00
ru
33537de527 If none of the watchdogs supports the requested timeout value, the
code returns EOPNOTSUPP, not EINVAL.
2009-12-21 15:12:56 +00:00
ru
132a24cf05 - Eliminated hard sentence breaks.
- Fixed spelling of EINVAL.
- Sorted sections.
2009-12-21 14:39:46 +00:00
ru
5242155572 Removed one more Alpha leftover. 2009-12-21 12:32:13 +00:00
bcr
74382eba8c Reference the correct man page for firmware(9).
PR:             docs/140986
Submitted by:   Glen Barber (glen dot j dot barber at gmail dot com)
MFC after:      4 days
Reviewed by:    sam
Approved by:    sam, jkois (mentor)
2009-12-19 16:36:57 +00:00
yongari
7b2c1cab41 Document more VIA Velocity family controllers to vge(4). Previously
it mentioned only VT6122. While I'm here remove the mention of
VT3119 which seems to be VIA's internal model name and VT3119
wouldn't be available to end users.

Reviewed by:	brueffer
2009-12-18 18:45:36 +00:00
dumbbell
f296f6d5cd Add new "hw.psm.tap_enabled" tunable and sysctl.
This tunable allows one to enable (1) or disable (0) gestures like tap
and tap-hold on Synaptics TouchPad when the Extended mode isn't enabled
(ie. "hw.psm.synaptics_support" not set).

By default, the value is -1 in order to keep the current behaviour of
not enabling/disabling gestures explicitly.

PR:		kern/139272
Submitted by:	David Horn <dhorn2000 AT gmail DOT com>
Reviewed by:	David Horn <dhorn2000 AT gmail DOT com>
2009-12-18 17:46:57 +00:00
yongari
35860d3255 Document newly added loader tunable and sysctl variables.
o hw.vge.msi_disable
 o dev.vge.%d.int_holdoff
 o dev.vge.%d.rx_coal_pkt
 o dev.vge.%d.tx_coal_pkt
2009-12-17 18:37:11 +00:00
julian
e4c705b6d5 Make man page reflect the output columns
MFC after:	1 week
2009-12-16 19:37:38 +00:00
imp
0efea5999c Forgot to bump .Dd, so do it with this commit. Chose local time over
UTC time for the date...
2009-12-16 03:29:00 +00:00
imp
b1259c29a3 Docmuent NO_KERNEL{CLEAN,CONFIG,DEPEND,OBJ} as necessary. Update
documentation on KERNFAST meaning.
2009-12-16 03:25:43 +00:00
dougb
94ddaa87a8 Improve the markup
Submitted by:	ru
2009-12-14 20:59:01 +00:00
dougb
c11b08a13f Revert the xterm terminal behavior to NOT clear the screen after
exiting a pager, vi, etc.

Add some example xterm*-clear entries to the termcap files to make
it easier for people to enable that behavior.

Document the examples in the man page to make them easier to find.
2009-12-14 07:18:31 +00:00
kib
061d83630f Document PBDRY and SLEEPQ_STOP_ON_BDRY.
Requested and reviewed by:	attilio
MFC after:	3 days
2009-12-12 22:08:37 +00:00
attilio
b1c6888d87 In current code, threads performing an interruptible sleep (on both
sxlock, via the sx_{s, x}lock_sig() interface, or plain lockmgr), will
leave the waiters flag on forcing the owner to do a wakeup even when if
the waiter queue is empty.
That operation may lead to a deadlock in the case of doing a fake wakeup
on the "preferred" (based on the wakeup algorithm) queue while the other
queue has real waiters on it, because nobody is going to wakeup the 2nd
queue waiters and they will sleep indefinitively.

A similar bug, is present, for lockmgr in the case the waiters are
sleeping with LK_SLEEPFAIL on.  In this case, even if the waiters queue
is not empty, the waiters won't progress after being awake but they will
just fail, still not taking care of the 2nd queue waiters (as instead the
lock owned doing the wakeup would expect).

In order to fix this bug in a cheap way (without adding too much locking
and complicating too much the semantic) add a sleepqueue interface which
does report the actual number of waiters on a specified queue of a
waitchannel (sleepq_sleepcnt()) and use it in order to determine if the
exclusive waiters (or shared waiters) are actually present on the lockmgr
(or sx) before to give them precedence in the wakeup algorithm.
This fix alone, however doesn't solve the LK_SLEEPFAIL bug. In order to
cope with it, add the tracking of how many exclusive LK_SLEEPFAIL waiters
a lockmgr has and if all the waiters on the exclusive waiters queue are
LK_SLEEPFAIL just wake both queues.

The sleepq_sleepcnt() introduction and ABI breakage require
__FreeBSD_version bumping.

Reported by:	avg, kib, pho
Reviewed by:	kib
Tested by:	pho
2009-12-12 21:31:07 +00:00
antoine
333cce4c56 Install firmware(9) examples.
MFC after:	1 month
2009-12-12 17:04:36 +00:00
bcr
77e9a5ab43 Reference the correct man page for firmware(9).
PR:             docs/140985
Submitted by:   Glen Barber (glen dot j dot barber at gmail dot com)
MFC after:      7 days
Reviewed by:    rpaulo
Approved by:    rpaulo, jkois (mentor)
2009-12-11 19:36:10 +00:00
ed
66b64ddd83 Update termcap entries for xterm.
It turns out these entries do make Terminal.app behave a little better.
According to Thomas Dickey, Terminal.app should use TERM=nsterm anyway,
but we don't support this yet. Already having an improved termcap entry
helps, so I am going to MFC this change after all.

Suggested by:	Leonidas Tsampros <ltsampros upnet gr>
MFC after:	1 month
2009-12-10 22:25:53 +00:00
kib
78d04c5982 Record part of history I participated in.
No objections from:	ed, pho
2009-12-10 14:41:47 +00:00
gavin
406b6e2674 Add myself, and show ed@ as my mentor.
Approved by:	ed (mentor)
2009-12-09 21:39:43 +00:00
ed
b3a7a47837 Add missing relation between philip and I.
It seems I forgot this when I became a committer last year.
2009-12-09 21:18:56 +00:00
ed
38d8366845 Make `make cleanilinks' work in /sys/modules.
cleanilinks wasn't listed in <bsd.subdir.mk>. Instead of adding it to
/sys/modules/Makefile, we'd better just add it to <bsd.subdir.mk>
directly, so we don't need to change files like /sys/modules/sound/Makefile
as well. This means you can finally clean up all those dangling symlinks
created by individual module compilation at once.
2009-12-06 08:59:19 +00:00
nwhitehorn
b864e5aa69 Add manpages for ams(4), akbd(4), adb(4), and cuda(4), which describe
various drivers for Apple Desktop Bus controllers and peripherals.

MFC after:	3 days
2009-12-03 18:13:47 +00:00
ed
879c7d2730 Add a new library: libulog.
One of the things I really want to do, is to get rid of the limitations
of our current utmp(5) mechanism:

- It only allows 8 byte TTY device names.
- The hostname only allows 16 bytes of storage.

I'm not a big fan of <utmpx.h>, but I think we should at least try to
add parts of it. Unfortunately we cannot implement <utmpx.h>, because we
miss various fields, such as ut_id, ut_pid, etc. The API provided by
libulog shares some similarities with <utmpx.h>, so it shouldn't be too
hard to port these applications eventually. In most simple cases, it
should just be a matter of removing the ulog_ prefix everywhere.

As a bonus, it also implements a function called ulog_login_pseudo(),
which allows unprivileged applications to write log entries, provided
they have a valid file descriptor to a pseudo-terminal master device.

libulog will allow a smoother transition to a new file format by adding
a library interface to deal with utmp/wtmp/lastlog files. I initially
thought about adding the functionality to libutil, but because I'm not
planning on keeping this library around forever, we'd better keep it
separated.

Next items on the todo list:

1. Port applications in the base system (and ports) to libulog, instead
   of letting them use <utmp.h>.
2. Remove <utmp.h>, implement <utmpx.h> and reimplement this library on
   top.
3. Port as many applications as possible back to <utmpx.h>.
2009-12-03 15:48:24 +00:00
trasz
3173e1cb39 Add missing parameter description. 2009-12-02 18:11:14 +00:00
bz
3595d5cfed Unbreak user space after if_timer/if_watchdog removal in r199975.
Tested by:	glebius
2009-12-01 14:56:00 +00:00
avg
006653d006 amdsbwd: new driver for AMD SB600/SB7xx watchdog timer
The hardware is compliant with WDRT specification, so I originally
considered including generic WDRT watchdog support, but decided
against it, because I couldn't find anyone to the code for me.
WDRT seems to be not very popular.
Besides, generic WDRT porbably requires a slightly different driver
approach.

Reviewed by:	des, gavin, rpaulo
MFC after:	3 weeks
2009-11-30 11:44:03 +00:00
bz
170d197358 Correct typo.
Reported by:	gabor
MFC after:	5 days
2009-11-29 21:03:54 +00:00
bz
68cb475233 Enable IPcomp by default.
PR:		kern/123587
MFC after:	5 days
2009-11-29 20:47:43 +00:00
roam
7dfdd47742 Fix the cross-reference to sctp_opt_info in the text - section 3, not 2.
PR:		140938
Submitted by:	Bruce Cran <bruce@cran.org.uk>
MFC after:	2 weeks
2009-11-27 13:08:25 +00:00
maxim
0f796b1cf4 o HEAD is FreeBSD 9-current now.
Submitted by:	Alex Kozlov
2009-11-27 07:55:39 +00:00
maxim
b26dc25b85 o FreeBSD 8.0 added. 2009-11-27 06:23:47 +00:00
brueffer
cd77b9ef2b Add IBM ServeRAID-MR10i to the hardware list.
Submitted by:	pluknet <pluknet@gmail.com>
MFC after:	3 days
2009-11-26 13:25:07 +00:00
brueffer
9179f1aca0 Grammar and mdoc improvements.
MFC after:	3 days
2009-11-24 13:44:53 +00:00
brueffer
cdd3b43ca8 LSI MegaRAID 9260 works, sort the hardware list while here.
Submitted by:	Jason <jhelfman@e-e.com>
MFC after:	3 days
2009-11-24 08:14:22 +00:00