Commit Graph

12913 Commits

Author SHA1 Message Date
Edward Tomasz Napierala
90a7b167a8 MFC r197780:
Make fetch(9) and store(9) manual pages closer to reality.
2010-03-27 17:25:17 +00:00
Edward Tomasz Napierala
90d5927125 MFC r197405, missing part:
Add pieces of infrastructure required for NFSv4 ACL support in UFS.

Reviewed by:	rwatson
2010-03-27 16:41:23 +00:00
Pyun YongHyeon
0f6d584c9b MFC r204543:
Document newly added loader tunable and sysctl variable dev.mskc.%d.int_holdoff
2010-03-24 17:15:04 +00:00
Konstantin Belousov
3770189a65 MFC r205416:
Correct the type for uio_resid.
2010-03-24 09:27:12 +00:00
Andriy Gapon
229c84e85b MFC r205333: vfs_mount.9: drop cross-reference to a removed manual 2010-03-23 17:14:50 +00:00
Edwin Groothuis
274885ab20 MFC of r205475, tzdata2010f:
The Australian Antartic Division:
- Macquarie Island will stay on UTC+11 for winter and not switch back from DST.
- Casey station reverted to its normal time of UTC+8 on 5 March 2010.
- Davis station will revert to its normal time of UTC+7 at 10 March 2010
- Mawson station stays on UTC+5.

Syria will start DST on Thursday 1 April 2010 at midnight.

Correct Samao DST start date (26 Sep vs 24 Oct)
2010-03-22 21:35:54 +00:00
Nathan Whitehorn
81484b9174 MFC r204082,204179,204180,204218,204241,204247,204270,204692:
Provide thermal management and monitoring features in smu(4). This allows
fan control and thermal monitoring on SMU-based Apple G5 machines, as well
as an led(4) interface to control the sleep LED.
2010-03-20 14:49:44 +00:00
Gavin Atkinson
0761ef3362 Merge r203622 from head:
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-03-17 20:39:21 +00:00
Bernhard Schmidt
8b35484392 MFC r204213:
Fix some typos.

Approved by:	rpaulo (mentor)
2010-03-11 17:11:07 +00:00
Edwin Groothuis
ca493fb650 MFC of tzdata2010e, r204887
- Adjust beginning / end of DST in Bangladesh (minimal impact)
- Fiji ends DST one month earlier to last Sunday of March
- Samoa changes
- Chile extends DST until 3 April this year.
2010-03-08 21:29:00 +00:00
Konstantin Belousov
29d703dd0a MFC r204416:
Update man page for vm_page_alloc(9).
2010-03-02 11:00:10 +00:00
Edwin Groothuis
61865144b3 MFC of r204566, tzdata2010c:
Paraguay changes its DST schedule, postponing the March rule to
April and modifying the October date.
2010-03-02 10:05:20 +00:00
Xin LI
a131b83ef0 MFC r197042: remove dpms.4. 2010-03-02 07:48:12 +00:00
Xin LI
aa3d547d09 MFC x86emu/x86bios emulator and make previously i386 only dpms and vesa
framebuffer driver, etc. work on FreeBSD/amd64.

A significant amount of improvements were done by jkim@ during the recent
months to make vesa(4) work better, over the initial code import.  This
work is based on OpenBSD's x86emu implementation and contributed by
paradox <ddkprog yahoo com> and swell.k at gmail com.

Hopefully I have stolen all their work to 8-STABLE :)

All bugs in this commit are mine, as usual.
2010-03-02 01:56:55 +00:00
John Baldwin
4dcf8bb3e2 MFC: Fix spelling of EACCES. 2010-03-01 21:04:01 +00:00
Gavin Atkinson
d180e5eb6c Merge r204166 from head:
Document the interaction between /etc/devfs.conf and
  /etc/defaults/devfs.conf

PR:		docs/117308
Submitted by:	Mel <mel.xyzzy rachie.is-a-geek.net> (partially)
2010-02-28 11:14:29 +00:00
Xin LI
a5a931b33f MFC 203052:
Add interface description capability as inspired by OpenBSD.  Thanks for
rwatson@, jhb@, brooks@ and others for feedback to the old implementation!

Sponsored by:	iXsystems, Inc.
2010-02-26 00:54:47 +00:00
Rebecca Cran
0ed9d88bca MFC r203681:
Fix typo and remove extra spaces.

Approved by:	rrs (mentor)
2010-02-18 10:39:53 +00:00
Gavin Atkinson
da7f88513e Merge 203689 from head:
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>
2010-02-16 22:23:33 +00:00
Maksim Yevmenkin
da9808aa29 MFC: r203676
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@
2010-02-16 19:00:47 +00:00
Alexander Motin
be4274118a MFC r203124:
Note added FIS-based switching support.
2010-02-15 16:41:30 +00:00
Gavin Atkinson
b6e226e6aa Merge r203620,203621 from head:
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-14 09:40:58 +00:00
Gavin Atkinson
d53236783d Merge r203636 from head:
Correct arguments to free_unr(), "item" was missing.
2010-02-14 09:37:13 +00:00
Antoine Brodin
2265536f11 Merge r201920 to stable/8:
libusb20 was renamed libusb several months ago.
2010-02-13 17:48:52 +00:00
Xin LI
992955ae5e MFC r203053:
Add a manual page for nvram(4).
2010-02-13 00:30:50 +00:00
Gavin Atkinson
75cf52103d Merge r202161 from head:
Spell "Hz" correctly wherever it is user-visible.

PR:		bin/142566
Submitted by:	N.J. Mann   njm njm.me.uk
2010-02-05 08:52:51 +00:00
Joerg Wunsch
0ad7cd49e7 MFC r203359: active xrefs to gpib(3) now that it's actually there. 2010-02-04 19:49:41 +00:00
Antoine Brodin
7ca8d389fe Regenerate. 2010-01-30 15:42:06 +00:00
Antoine Brodin
c9e0de0179 MFC r202440 to stable/8:
Unbreak world WITHOUT_NETGRAPH.

  PR:		137487
  Submitted by:	bf (previous version)
  No objections:	net@
2010-01-30 15:40:00 +00:00
Joerg Wunsch
6481e96423 MFC r203125: fix typo in .Xr. 2010-01-29 10:38:54 +00:00
Christian Brueffer
3716ed4726 MFC: r202317
Add manpages for ipwfw(4) and iwifw(4), based on iwnfw(4).
2010-01-28 17:07:14 +00:00
Joerg Wunsch
c146743160 Merge r202943: Add man pages for the gpib(4), pcii(4), and tnt4882(4)
drivers.
2010-01-27 10:42:34 +00:00
Edwin Groothuis
8a37c82c6c MFC of tzdata2010b, r203019
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.
2010-01-26 11:15:03 +00:00
Konstantin Belousov
179cbbba95 MFC r202884:
Document pthread_timedjoin_np.
Note implementation-defined EOPNOTSUPP error [1].
2010-01-26 09:20:33 +00:00
Attilio Rao
93a45f0f56 MFC r201879:
Introduce the new kernel thread called "deadlock resolver".
It is used in order to seek within the threads state and heuristically
understand if there is any deadlock happening.

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.

Sponsored by:	Sandvine Incorporated
2010-01-25 12:05:51 +00:00
Christian Brueffer
9a12033088 MFC: r202162
Various fixes.
2010-01-23 14:12:40 +00:00
Xin LI
7d230b5ceb MFC r201894:
Fix formatting.
2010-01-23 00:49:10 +00:00
Xin LI
deacfb8431 MFC r201892:
Add a set of manual pages for pthread[_attr]_[sg]etaffinity(3).

Reviewed by:	davidxu
2010-01-23 00:43:44 +00:00
Alexander Motin
e6b95cac7d MFC r202798:
Add "MIXER CONTROLS" chapter.
2010-01-22 11:42:23 +00:00
Alexander Motin
3af7dcdafa MFC r202160:
Update, reflecting added multichannel playback support.
2010-01-22 11:40:55 +00:00
John Baldwin
7b10638c5b MFC 198134,198149,198170,198171,198391,200948:
Add a facility for associating optional descriptions with active interrupt
handlers.  This is primarily intended as a way to allow devices that use
multiple interrupts (e.g. MSI) to meaningfully distinguish the various
interrupt handlers.
- Add a new BUS_DESCRIBE_INTR() method to the bus interface to associate
  a description with an active interrupt handler setup by BUS_SETUP_INTR.
  It has a default method (bus_generic_describe_intr()) which simply passes
  the request up to the parent device.
- Add a bus_describe_intr() wrapper around BUS_DESCRIBE_INTR() that supports
  printf(9) style formatting using var args.
- Reserve MAXCOMLEN bytes in the intr_handler structure to hold the name of
  an interrupt handler and copy the name passed to intr_event_add_handler()
  into that buffer instead of just saving the pointer to the name.
- Add a new intr_event_describe_handler() which appends a description string
  to an interrupt handler's name.
- Implement support for interrupt descriptions on amd64, i386, and sparc64 by
  having the nexus(4) driver supply a custom bus_describe_intr method that
  invokes a new intr_describe() MD routine which in turn looks up the
  associated interrupt event and invokes intr_event_describe_handler().
2010-01-21 17:54:29 +00:00
Ruslan Ermilov
a5cc755e58 MFC r202578 and r202579:
If CTAGS is not set or set to something other than "ctags" or "gtags",
"cleandepend" was not removing the .depend file; fixed. [1]

Allow the CTAGS to be set to something other than "gtags" or "ctags",
but assume it supports a ctags(1)-compatible syntax. [2]

PR:		126747 [1], 46676 [2]
2010-01-21 13:15:14 +00:00
Konstantin Belousov
038d31fa9c MFC r198470, r198521:
Syncronize iwn(4) manpages with HEAD.
2010-01-20 15:24:24 +00:00
John Baldwin
28b4af9852 MFC 202285:
- 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.
2010-01-20 14:48:42 +00:00
John Baldwin
37c002faf8 MFC 202284,202650:
- 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.
2010-01-19 20:48:23 +00:00
Attilio Rao
702748e988 MFC r200447,201703,201709-201710:
In current code, threads performing an interruptible sleep
will leave the waiters flag on forcing the owner to do a wakeup even
when the waiter queue is empty.
That operation may lead to a deadlock in the case of doing a fake wakeup
on the "preferred" 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.

Add a sleepqueue interface which does report the actual number of waiters
on a specified queue of a waitchannel and track if at least one sleepfail
waiter is present or not. In presence of this or empty "preferred" queue,
wakeup both waiters queues.

Discussed with:	kib
Tested by:	Pete French <petefrench at ticketswitch dot com>,
		Justin Head <justin at encarnate dot com>
2010-01-18 14:43:44 +00:00
Andrew Thompson
bc4acc704f MFC r202181,202243,202270
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-17 18:22:42 +00:00
Christian Brueffer
c1bf101993 MFC: r201870, r201889
Various language fixes.  Also fixed the URL to totd, obtained from NetBSD.
2010-01-17 17:31:53 +00:00
Christian Brueffer
8f47948986 MFC: r201888
bridge(4) acts like a switch, not like a hub.
2010-01-16 09:17:33 +00:00
Marius Strobl
ca3405fdef MFC: r201007
Correct my e-mail address.
2010-01-15 16:25:17 +00:00