Commit Graph

12884 Commits

Author SHA1 Message Date
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
Marius Strobl
f0152768f7 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 Brodin
158c24fd61 MFC r200440 to stable/8:
Install firmware(9) examples.
2010-01-15 14:24:32 +00:00
Pyun YongHyeon
33e6efefc1 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
John Baldwin
d46150d432 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
Ruslan Ermilov
60ee8f1ae1 MFC: r200026,201801: Swap carp(4) log levels. 2010-01-11 12:32:06 +00:00
Christian Brueffer
811a80b4a4 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
Pyun YongHyeon
18c3b93957 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
Christian Brueffer
1cb2c81c14 MFC: r201397
Add one more supported controller.
2010-01-09 00:27:23 +00:00
Konstantin Belousov
c7d57a89e4 MFC r201504:
PG_NOSYNC is called VPO_NOSYNC for long time.
2010-01-07 11:33:57 +00:00
Edwin Groothuis
d4b8091dc3 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 Groothuis
85e1d32e21 MFC of r200835, tzcode2009t
Comment only, no data changes.
2009-12-29 10:07:09 +00:00
Maxim Konovalov
143dcf0b47 MFC r197799: fix typo. 2009-12-26 20:52:47 +00:00
Peter Pentchev
2ba8aab785 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
Benedict Reuschling
299e7b88fe 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
Benedict Reuschling
24ca088da7 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
Xin LI
e84ca6158d MFC r199464:
Add a missing .Ed tag.
2009-12-18 19:16:44 +00:00
Xin LI
f8aa319ba0 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
Konstantin Belousov
2709ebf1a5 MFC r200450:
Document PBDRY and SLEEPQ_STOP_ON_BDRY.
2009-12-17 18:43:34 +00:00
Stanislav Sedov
abc1e8de6c - 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
Xin LI
a1b9e5fa76 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
Nathan Whitehorn
9ad8053be5 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
Christian Brueffer
4d672d94c1 MFC: r197900
Improved one-line description of this module (taken from NOTES).
2009-12-07 08:36:49 +00:00
Bjoern A. Zeeb
a1778929b7 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
Bjoern A. Zeeb
3b558c96ce MFC r199947, 199950:
Enable IPcomp by default.

PR:	kern/123587
2009-12-05 19:25:29 +00:00
Christian Brueffer
90ecb96535 MFC: r199739, r199825
- LSI MegaRAID 9260 works, sort the hardware list while here.
- Add IBM ServeRAID-MR10i to the hardware list.
2009-11-30 07:54:22 +00:00
Christian Brueffer
17d1b37db5 MFC: r199748
Grammar and mdoc improvements.
2009-11-30 07:51:37 +00:00
Pyun YongHyeon
44d2845719 MFC r199013:
88E8057(Ultra 2) is now supported.
2009-11-29 20:11:38 +00:00
Pyun YongHyeon
97333ffb74 MFC r198475:
- Add support for Marvell Yukon 88E8042 device.
2009-11-29 20:06:57 +00:00
Pyun YongHyeon
fcd5f788ff MFC 197593.
DGE-560SX is now supported.
2009-11-29 19:22:44 +00:00