Commit Graph

4271 Commits

Author SHA1 Message Date
Xin LI
57d848483e When an underlying ioctl(2) handler returns an error, our ioctl(2)
interface considers that it hits a fatal error, and will not copyout
the request structure back for _IOW and _IOWR ioctls, keeping them
untouched.

The previous implementation of the SIOCGIFDESCR ioctl intends to
feed the buffer length back to userland.  However, if we return
an error, the feedback would be defeated and ifconfig(8) would
trap into an infinite loop.

This commit changes SIOCGIFDESCR to set buffer field to NULL to
indicate the previous ENAMETOOLONG case.

Reported by:	bschmidt
MFC after:	2 weeks
2010-04-14 22:02:19 +00:00
Julian Elischer
f6b93040fd Man page change to documant slight change in ktr_alq behaviour. 2010-04-14 21:44:14 +00:00
Pyun YongHyeon
9b00b6e1ee Add sge(4) man page and hook up sge(4) to the build.
Also add Xr to appropriate man pages.
2010-04-14 21:27:48 +00:00
Ulrich Spörlein
aa12cea2cc mdoc: order prologue macros consistently by Dd/Dt/Os
Although groff_mdoc(7) gives another impression, this is the ordering
most widely used and also required by mdocml/mandoc.

Reviewed by:	ru
Approved by:	philip, ed (mentors)
2010-04-14 19:08:06 +00:00
Jung-uk Kim
9fc1e26fe1 Reflect recent logo_saver changes and mention dragon_saver. 2010-04-07 18:04:25 +00:00
Sam Leffler
a3ce3b49b7 remove pre-vap examples 2010-03-21 17:53:54 +00:00
Ulrich Spörlein
66b23135f8 - Use Va' for variables instead of Dv'.
- Correctly spell negative values.
- Also fixes make manlint.

Found by:	make manlint
Reviewed by:	ru
Approved by:	philip (mentor)
2010-03-16 11:38:07 +00:00
Joel Dahl
071c17cede Switch to our preferred license.
Approved by:	Dirk-Willem Van Gulik <dirkx@webweaving.org>
2010-03-15 20:25:28 +00:00
Gavin Atkinson
23aa9a76e3 Add extra Xrefs
PR:		docs/114184
Submitted by:	Julian Stacey  <jhs berklix.org>
MFC after:	1 week
2010-03-14 15:49:04 +00:00
Ulrich Spörlein
63d46d1d5e Fix several typos in macros or macro misusage.
Found by:	make manlint
Reviewed by:	ru
Approved by:	philip (mentor)
2010-03-12 10:01:06 +00:00
Jung-uk Kim
ef47c93f6c Document a new sysctl variable and a loader tunable. 2010-03-09 19:19:07 +00:00
Joel Dahl
44d68185d1 Switch to our preferred license text.
Approved by:	imp
2010-03-06 05:57:24 +00:00
Joel Dahl
936663c887 Use our preferred license text (no more "voices in his head"). While here,
also move to a 2-clause license.  From n_hibma@:

  "The 3rd clause was originally there for a reason, but I guess that it is
  safe to assume that no one can assume endorsement by me or anyone else
  without prior consent on anything really, so we might as well remove that
  clause."

Approved by:	n_hibma
2010-03-04 22:06:57 +00:00
Alexander Motin
2baf3a137d Add links to cam(4). 2010-03-04 11:09:49 +00:00
Alexander Motin
6d6d0ae46d Reflect added CAM ATA support. 2010-03-04 10:59:21 +00:00
Alexander Motin
39915804e9 Add some more supported controllers.
Crosslink with CAM ATA man pages.
2010-03-03 19:44:43 +00:00
Joel Dahl
8bf7539fe9 The NetBSD Foundation has granted permission to remove clause 3 and 4 from
their software.

Obtained from:	NetBSD
2010-03-02 21:59:03 +00:00
Gleb Smirnoff
78e58b8725 Sync with recent changes from luigi - struct ng_ipfw_tag superceeded
by more general ipfw_rule_ref. The latter isn't documented here, since
it should be documented in ipfw.4.
2010-03-02 10:43:41 +00:00
Alexander Motin
550cc032b7 Some style and language improvements.
Submitted by:	ru
2010-03-02 09:23:54 +00:00
Pyun YongHyeon
d6c57df72b Document newly added loader tunable and sysctl variable dev.mskc.%d.int_holdoff 2010-03-01 23:56:51 +00:00
Weongyo Jeong
e7dc8641d6 Updates what firmware module should be used for LP (low power) PHY
users and bumps date.
2010-02-26 00:37:49 +00:00
Weongyo Jeong
7b0c4174cd Connect bwn.4 to the build. 2010-02-25 19:43:22 +00:00
Nathan Whitehorn
823d02a093 Add the ability to set SMU-based machines to restart automatically after
power loss.
2010-02-24 01:27:36 +00:00
Nathan Whitehorn
34f19b54cd Fix two bugs in this manpage: 'System' is not abbreviated with 'P',
and a non-useful version of smu(4) was in 8.0, so modify the history
to reflect that.

Submitted by:	gavin
2010-02-23 14:56:49 +00:00
Nathan Whitehorn
904460b9e5 Add a manpage for smu(4) now that it does something useful. 2010-02-23 04:56:06 +00:00
Weongyo Jeong
45d9abdbc3 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
Gavin Atkinson
ee158a7fc4 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
Rebecca Cran
c7ea7c4618 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 Atkinson
8ce0c61c05 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 Atkinson
891acefe7c 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 Atkinson
c383d55b77 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
Rebecca Cran
869978d4c8 Fix typo and remove extra spaces.
Approved by:	rrs (mentor)
MFC after:	3 days
2010-02-08 20:04:16 +00:00
Gavin Atkinson
b31b20fa02 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 Atkinson
d28510ab32 Bump .Dd for r203620
MFC after:	1 week
2010-02-07 18:06:55 +00:00
Gavin Atkinson
e83bcc015f 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
Joerg Wunsch
fac3c43153 Add xrefs to gpib(3), now that it exists.
MFC after:	3 days
2010-02-01 21:01:20 +00:00
Andrew Thompson
676d231868 Hook run(4) to the build. 2010-01-28 22:28:01 +00:00
Andrew Thompson
069f1a8056 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
Joerg Wunsch
efdeafc377 Fix typo in xref (it accidentally referenced itself).
MFC after:	1 day
2010-01-28 19:12:40 +00:00
Alexander Motin
502370266e Note added FIS-based switching support. 2010-01-28 18:15:19 +00:00
Xin LI
5c335c81b3 Add a manual page for nvram(4).
MFC after:	2 weeks
2010-01-27 00:34:52 +00:00
Xin LI
215940b3fa 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
Joerg Wunsch
6941401c87 Add an example, derived from the basic demo phk once sent me. 2010-01-25 06:37:44 +00:00
Joerg Wunsch
a70473eec5 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
Alexander Motin
4c3bf245fe Add "MIXER CONTROLS" chapter. 2010-01-22 11:04:25 +00:00
Gavin Atkinson
86c18b3607 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 Atkinson
f04fb828c4 Fix loader.conf(5) Xref
Approved by:	ed (mentor, implicit)
2010-01-16 14:32:02 +00:00
Christian Brueffer
b5212e27ec Manpage for the siba(4) Sonic Inc. Silicon Backplane driver.
Submitted by:	weongyo
2010-01-15 19:34:40 +00:00
Ruslan Ermilov
aa4a335bae Use the newly brought %U macro. 2010-01-15 16:01:22 +00:00
Christian Brueffer
1d1405c1b5 Add manpages for ipwfw(4) and iwifw(4), based on iwnfw(4).
MFC after:	2 weeks
2010-01-14 22:21:43 +00:00