Commit Graph

13052 Commits

Author SHA1 Message Date
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