12908 Commits

Author SHA1 Message Date
antoine
a83800c0bf Merge r201920 to stable/8:
libusb20 was renamed libusb several months ago.
2010-02-13 17:48:52 +00:00
delphij
100ba6bc66 MFC r203053:
Add a manual page for nvram(4).
2010-02-13 00:30:50 +00:00
gavin
250c6042c1 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
ddb234c5cf MFC r203359: active xrefs to gpib(3) now that it's actually there. 2010-02-04 19:49:41 +00:00
antoine
fcbcd262c3 Regenerate. 2010-01-30 15:42:06 +00:00
antoine
8f8fe6b19e 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
3e24c5b541 MFC r203125: fix typo in .Xr. 2010-01-29 10:38:54 +00:00
brueffer
e3ab72f759 MFC: r202317
Add manpages for ipwfw(4) and iwifw(4), based on iwnfw(4).
2010-01-28 17:07:14 +00:00
joerg
46f6d2f2cc Merge r202943: Add man pages for the gpib(4), pcii(4), and tnt4882(4)
drivers.
2010-01-27 10:42:34 +00:00
edwin
3f25331ec0 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
kib
e0116e9633 MFC r202884:
Document pthread_timedjoin_np.
Note implementation-defined EOPNOTSUPP error [1].
2010-01-26 09:20:33 +00:00
attilio
a55a6e870b 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
brueffer
2ba0e3cfaa MFC: r202162
Various fixes.
2010-01-23 14:12:40 +00:00
delphij
e72cd11ab1 MFC r201894:
Fix formatting.
2010-01-23 00:49:10 +00:00
delphij
4e79f22935 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
mav
e17d2aae48 MFC r202798:
Add "MIXER CONTROLS" chapter.
2010-01-22 11:42:23 +00:00
mav
98e03f61ab MFC r202160:
Update, reflecting added multichannel playback support.
2010-01-22 11:40:55 +00:00
jhb
41fd8cafd5 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
ru
7e3f6b423a 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
kib
d3ae260c06 MFC r198470, r198521:
Syncronize iwn(4) manpages with HEAD.
2010-01-20 15:24:24 +00:00
jhb
30e3d79213 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
jhb
06bba321ee 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
5fcd322a25 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
thompsa
2e685ed5b8 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
brueffer
6ebbadd626 MFC: r201870, r201889
Various language fixes.  Also fixed the URL to totd, obtained from NetBSD.
2010-01-17 17:31:53 +00:00
brueffer
fef4da674f MFC: r201888
bridge(4) acts like a switch, not like a hub.
2010-01-16 09:17:33 +00:00
marius
0f15691097 MFC: r201007
Correct my e-mail address.
2010-01-15 16:25:17 +00:00
marius
7a990a12db MFC: r201007
Add a man page for mk48txx(4).

Requested by:	n_hibma
Obtained from:	NetBSD (original version)
2010-01-15 16:21:32 +00:00
antoine
640a64591f MFC r200440 to stable/8:
Install firmware(9) examples.
2010-01-15 14:24:32 +00:00
yongari
6a26b45771 MFC r200958:
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.
2010-01-14 22:33:46 +00:00
jhb
4d81011390 MFC 201215:
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.
2010-01-12 19:55:07 +00:00
ru
add842460c MFC: r200026,201801: Swap carp(4) log levels. 2010-01-11 12:32:06 +00:00
brueffer
2da920b901 MFC: r201538, r201539
Catch up with the VFS_VPTOFH(9) -> VOP_VPTOFH(9) repocopy that happened
almost three years ago in r166794.

Add a missing word.
2010-01-11 05:19:51 +00:00
yongari
378ff93e1a MFC r200641,200676
r200641:
  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

r200676:
  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
2010-01-09 00:36:28 +00:00
brueffer
627e016630 MFC: r201397
Add one more supported controller.
2010-01-09 00:27:23 +00:00
kib
0801ed4053 MFC r201504:
PG_NOSYNC is called VPO_NOSYNC for long time.
2010-01-07 11:33:57 +00:00
edwin
3f94c75855 MFC of tzdata2009u, 201189
Bangladesh will change its clock back to Standard Time on Dec 31, 2009.
2009-12-29 10:15:11 +00:00
edwin
f9051bde8f MFC of r200835, tzcode2009t
Comment only, no data changes.
2009-12-29 10:07:09 +00:00
maxim
c6ed242c40 MFC r197799: fix typo. 2009-12-26 20:52:47 +00:00
roam
cee4228f46 MFC r199863:
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>
2009-12-24 20:29:58 +00:00
bcr
6907778912 MFC r200731:
Reference the correct man page for firmware(9).

PR:		docs/140986
Submitted by:	Glen Barber (glen dot j dot barber at gmail dot com)
Reviewed by:	sam
Approved by:	sam, jkois (mentor)
2009-12-23 16:30:39 +00:00
bcr
a82778a703 MFC r200415:
Reference the correct man page for firmware(9).

PR:             docs/140985
Submitted by:   Glen Barber (glen dot j dot barber at gmail dot com)
Reviewed by:    rpaulo
Approved by:    rpaulo, jkois (mentor)
Merged with:    user/des/fmerge
2009-12-18 19:26:16 +00:00
delphij
ff16854d3d MFC r199464:
Add a missing .Ed tag.
2009-12-18 19:16:44 +00:00
delphij
313c69ffd1 MFC r199463:
rc.early(8) was removed as of 20090530 so remove manual page reference
to it.
2009-12-18 18:55:15 +00:00
kib
e8d3de89b4 MFC r200450:
Document PBDRY and SLEEPQ_STOP_ON_BDRY.
2009-12-17 18:43:34 +00:00
stas
72c632617e - MFC r197832, r197834, r197837:
- Add support for new BGE chips (5761, 5784 and 57780).  These chips uses new
    BGE_PCI_PRODID_ASICREV register to store the chip identifier and its revision.
  - Add new grouping macro for 7575+ chips (BGE_IS_5755_PLUS).
  - Add IDs for Fujitsu-branded Broadcom adapters.
2009-12-15 10:00:00 +00:00
delphij
05db0aa9b7 MFC revisions 196550 and 196552:
Add a new rc.d script, static_arp, which enables the administrator to
statically bind IPv4 <-> MAC address at boot time.

In order to use this, the administrator needs to configure the following
rc.conf(5) variable:

 - static_arp_pairs: A list of names for static bind pairs, and,
 - a series of static_arp_(name): the arguments that is being passed to
   ``arp -S'' operation.

Example:
  static_arp_pairs="gw"
  static_arp_gw="192.168.1.1 00:01:02:03:04:05"

See the rc.conf(5) manual page for more details.
2009-12-08 18:23:51 +00:00
nwhitehorn
855882a01f MFC r200070:
Add manpages for ams(4), akbd(4), adb(4), and cuda(4), which describe
various drivers for Apple Desktop Bus controllers and peripherals.
2009-12-08 05:18:59 +00:00
brueffer
f86fc5c3f1 MFC: r197900
Improved one-line description of this module (taken from NOTES).
2009-12-07 08:36:49 +00:00
bz
c75ccf4f6c MFC r197518:
lindev(4) [1] is supposed to be a collection of linux-specific pseudo
  devices that we also support, just not by default (thus only LINT or
  module builds by default).

  While currently there is only "/dev/full" [2], we are planning to see more
  in the future.  We may decide to change the module/dependency logic in the
  future should the list grow too long.

  This is not part of linux.ko as also non-linux binaries like kFreeBSD
  userland or ports can make use of this as well.

Suggested by:	rwatson [1] (name)
Submitted by:	ed [2]
Discussed with:	markm, ed, rwatson, kib (weeks ago)
Reviewed by:	rwatson, brueffer (prev. version)
PR:		kern/68961
2009-12-05 20:37:46 +00:00