Commit Graph

2392 Commits

Author SHA1 Message Date
sobomax
224a4fdfb6 Correct cross-references:
setsockopt.3 --> setsockopt.2
  syslog.8 --> syslogd.8
  tcpdump.8 --> tcpdump.1

MFC after:	1 week
2001-06-05 12:50:33 +00:00
sobomax
96f3035fa9 Correct cross-references:
ng_bpf.8    --> ng_bpf.4
  ng_ether.8  --> ng_ether.4
  ng_iface.8  --> ng_iface.4
  ng_pppoe.8  --> ng_pppoe.4
  ng_socket.8 --> ng_socket.4
  ng_tty.8    --> ng_tty.4
  ng_{type}.4 --> /dev/null

MFC after:	1 week
2001-06-05 12:40:03 +00:00
sobomax
a4b0eda744 Fix cross-references:
ipnat.8 --> ipnat.1
  environ.5 --> environ.7
  isssetugid.2 --> issetugid.2

MFC after:	1 week
2001-06-05 12:23:22 +00:00
dillon
02cfe73589 Fix type-o's, update page 2001-06-05 05:59:21 +00:00
dd
a9077821e8 Add a missing word.
Obtained from:	OpenBSD
2001-06-05 00:25:18 +00:00
dd
dd60308815 Add a missing word. 2001-06-05 00:11:08 +00:00
eric
43db9749cc Add sprog.7 to the list. 2001-06-04 22:15:44 +00:00
eric
1ad075a6c1 Add sprog.7, the beginnings of the secure programming guide.
Reviewed by:	ru
2001-06-04 15:32:44 +00:00
phk
7154392297 Add diskcheck-daemon.
With a small disk being 20GB these days, chances are pretty good that
an ailing sector will not be read while still being recoverable by
the drive.

Diskcheck daemon will read disks in the background at a low rate and
that way give the diskdrive a chance to detect and correct soft read
errors before they become hard errors.

Idea by:	phk
Written by:     ben
2001-06-03 20:02:03 +00:00
sobomax
5dab862abb Correct varuable name: WITHOUT_X --> WITHOUT_X11.
Reviewed by:	ports, portmgr
Approved by:	will, obrien
2001-06-02 23:56:11 +00:00
imp
a07983c146 Man page for orm driver.
PR:		22078
Submitted by:	Nikolai Saoukh <nms@otdel-1.org>
2001-06-01 21:02:18 +00:00
ru
21147a3118 Remove vestiges of MFS. 2001-06-01 10:07:28 +00:00
dd
8fda1e30f4 Fix a spacing issue. (No content changes.) 2001-06-01 01:36:03 +00:00
dd
b0dffd5c1a Document the half-supported WITHOUT_X.
PR:		27709
Submitted by:	Mike Meyer <mwm@mired.org>
2001-05-31 22:36:35 +00:00
wpaul
6e6706afa9 Add device driver support for the Level 1 LXT1001 NetCellerator
gigabit ethernet controller chip. This device is used on some
fiber optic gigE cards from SMC, D-Link and Addtron. Jumbograms and
TCP/IP checksum offload on receive are supported. Hardware VLAN
filtering is not, because it doesn't play well with our existing
VLAN code. Also add manual page.

There is a 4.x version of this driver available at
http://www.freebsd.org/~wpaul/Level1/4.x if anyone feels adventurous
and wants to test it. I still need to do performance testing and
tuning with this device.

(For my next trick, I will make the 3Com 3cR990 sit up and beg.)
2001-05-31 21:44:26 +00:00
wpaul
2bb9e84e74 Fix date. This man page was not written on July 11, 2001, because that
day hasn't happened yet. It should be May. Ignore failed time-travel
experiment, K PLZ THX.
2001-05-31 00:18:19 +00:00
brian
63c76166b1 Default daily_accounting_flags to -q. I thought this was a typo in the
originally submitted patch (oops!).

Also check for an empty $daily_accounting_save.

Submitted by:	Udo Schweigert <Udo.Schweigert@cert.siemens.de>
2001-05-30 20:23:43 +00:00
brian
42390268c8 Add $daily_accounting_save and $daily_accounting_flags
Submitted by:	Udo Schweigert <Udo.Schweigert@cert.siemens.de>
MFC after:	2 weeks
2001-05-30 16:46:53 +00:00
dd
025c7a2511 Link make_dev.9 to make_dev_alias.9 and depends_dev.9. 2001-05-29 04:17:36 +00:00
dd
487d8e5035 Document depends_dev.
Reviewed by:	phk
2001-05-29 04:14:33 +00:00
dd
c45b2536db Remove obsolete DEVFS manual pages. The routines they describe don't
exist in the new (phk's) DEVFS.

Approved by:	phk
2001-05-28 20:27:23 +00:00
dillon
36717787a4 Add two new manual pages related to general firewall and tuning issues
Reviewed by: hackers
2001-05-27 23:14:27 +00:00
olgeni
68b6353ddf Fix typo: "an socket" -> "a socket".
Place period at the end of AUTHORS section.

MFC after:	1 week
2001-05-27 22:17:46 +00:00
ru
045bc51a1c Document /usr/include/fs/ntfs and /usr/include/fs/nwfs. 2001-05-26 12:04:02 +00:00
phk
8a296168de Forgot to cvs add these two files for the previous commit. 2001-05-26 09:28:43 +00:00
phk
035bb622cd Currently, each wireless networking driver has it's own control program
despite the fact that most people want to set exactly the same settings
regardless of which card they have.  It has been repeatidly suggested
that this configuration should be done via ifconfig.  This patch
implements the required functionality in ifconfig and add support to the
wi and an drivers.  It also provides partial, untested support for the
awi driver.

PR:		25577
Submitted by:	Brooks Davis <brooks@one-eyed-alien.net>
2001-05-26 09:27:08 +00:00
ru
6662aea4f0 - sys/msdosfs moved to sys/fs/msdosfs
- msdos.ko renamed to msdosfs.ko
- /usr/include/msdosfs moved to /usr/include/fs/msdosfs
2001-05-25 08:14:14 +00:00
obrien
758806b8d8 RFC 1323 (TCP extensions) is now on by default. 2001-05-25 04:27:48 +00:00
ru
fa31d25901 Document new /usr/include/fs include subdirs. 2001-05-23 17:22:38 +00:00
ru
6b1278c213 Rename (after a repo-copy) some mount(8) programs:
mount_fdesc -> mount_fdescfs
mount_null -> mount_nullfs
mount_portal -> mount_portalfs
mount_umap -> mount_umapfs
mount_union -> mount_unionfs
2001-05-23 14:58:19 +00:00
ru
3454d23f1f Add NO_I4B to avoid building/installing isdn4bsd package.
Prompted by:	Alexandr Listopad <laa@laa.zp.ua>
MFC after:	3 days
2001-05-23 13:32:32 +00:00
dd
0510e5ca49 Introduce a background_fsck rc.conf option which allows the user to
enable or disable background fsck'ing all in one shot.  Default is
currently 'YES'.

Reviewed by:	jkh
2001-05-22 00:05:48 +00:00
archie
1b03142c5f Ensure the generated BPF in the example deliver the whole packet. 2001-05-19 17:47:51 +00:00
ru
1a44b91454 Fixed typo in the description.
PR:		docs/27411
Submitted by:	David Wimsey <dwimsey@rtci.com>
2001-05-18 06:56:03 +00:00
jhb
0230dca703 Replace references to the KERNEL variable with KERNCONF. 2001-05-17 23:23:25 +00:00
ru
5eb8ffe5c9 Describe all current net.inet.tcp MIB variables.
Submitted by:	jlemon
MFC after:	1 week
2001-05-17 17:53:21 +00:00
ru
1e3206102a Removed reference to non-existing make(7).
PR:		docs/27392
Submitted by:	Hendrik Scholz <hendrik@scholz.net>
2001-05-17 06:58:57 +00:00
obrien
82c2548233 Back out rev 1.50. VCS was correct -- it is Version Control System. 2001-05-17 02:05:36 +00:00
dougb
fcb2763d8e Minor typos 2001-05-17 01:36:01 +00:00
archie
6fbe7413a9 Add BUGS section describing the requirement to manually load the KLD. 2001-05-16 17:30:15 +00:00
ru
99325e12d3 mdoc(7) police: fix markup and spelling. 2001-05-16 10:39:42 +00:00
archie
f16b65d2c3 Fix typo.
Noticed by:     ade
2001-05-16 01:25:29 +00:00
ru
1f259f61c3 Removed duplilcate $FreeBSD$ tag. 2001-05-15 16:32:18 +00:00
ru
b9b1a650c5 mdoc(7) police: FreeBSD -> .Fx. 2001-05-15 16:17:39 +00:00
ru
988c89f965 mdoc(7) police: sort xrefs. 2001-05-15 15:57:05 +00:00
schweikh
5878287897 New option isdn_screenflags to set the syscons screen params for isdnd,
plus documentation.

Submitted by:	Alexander Leidinger <Alexander@Leidinger.net>
Not objected to by:	hm
MFC after:	1 week
2001-05-14 20:51:10 +00:00
wpaul
c2ceacfa6a Add support for gigabit ethernet cards based on the NatSemi DP83820
and DP83821 gigabit ethernet MAC chips and the NatSemi DP83861 10/100/1000
copper PHY. There are a whole bunch of very low cost cards available with
this chipset selling for $150USD or less. This includes the SMC9462TX,
D-Link DGE-500T, Asante GigaNIX 1000TA and 1000TPC, and a couple cards
from Addtron.

This chip supports TCP/IP checksum offload, VLAN tagging/insertion.
2048-bit multicast filter, jumbograms and has 8K TX and 32K RX FIFOs.
I have not done serious performance testing with this driver. I know
it works, and I want it under CVS control so I can keep tabs on it.
Note that there's no serious mutex stuff in here yet either: I need
to talk more with jhb to figure out the right way to do this. That
said, I don't think there will be any problems.

This driver should also work on the alpha. It's not turned on in
GENERIC.
2001-05-11 19:56:39 +00:00
scottl
fed006f169 Add information about the 2400A controllers. Fix erroneous reference to
BSD/OS.
2001-05-10 22:34:45 +00:00
bsd
664149fd16 Bring the doc up to date with regard to the /etc bootstrapping code
and the role of /conf/default/etc.
2001-05-10 20:50:54 +00:00
bsd
0c3fab72d9 MFS: bring Luigi's updated diskless man page into -current. 2001-05-10 20:45:46 +00:00
dd
b4fd612729 Fix a typo (pasto?). 2001-05-09 05:03:35 +00:00
horikawa
a0de67d59b Fix typos.
o replace `of possible' with `if possible'
o VOP_SETACL(9) is modified to say about `ACL' instead of `extended
  attributed'
o EOPNOTSUPP of VOP_SETEXTATTR(9) is modified to say about
  VOP_SETEXTATTR(9) instead of VOP_GETEXTATTR(9)

Reviewed by: Robert Watson <rwatson@FreeBSD.org>,
	 Chris Costello <chris@calldei.com>
2001-05-07 22:15:18 +00:00
ru
de30f985aa A bit of markup and spelling fixes. 2001-05-07 12:48:38 +00:00
dd
f22feb16c0 s/mtx_try_enter/mtx_trylock/ 2001-05-06 22:04:17 +00:00
dd
9f39c71424 Add printf.9, and add links to tprintf.9 and uprintf.9. 2001-05-05 00:25:39 +00:00
dd
fd8bc72ede A manual page for the printf(), uprintf(), and tprintf() kernel functions.
Submitted by:	Andrew R. Reiter <arr@watson.org>
Reviewed by:	jhb
2001-05-04 23:25:58 +00:00
imp
e1bcf383b1 Add hint about how to build an ISA NMI card and why you'd want to do so.
Reviewed by: bde, dima dorfman
2001-05-02 03:26:10 +00:00
imp
3de6d02f00 ulpt(4) doesn't exist, so don't cross ref to it.
Reviewed by: n_hibma
2001-05-01 21:46:28 +00:00
schweikh
f2d343845c Fixed typos: dependant -> dependent 2001-05-01 14:10:12 +00:00
schweikh
9dbc855754 Fixed typos: decendant -> descendant 2001-05-01 14:09:20 +00:00
schweikh
41da542777 pseudo-device -> device in kernel config lines. Removed whitespace at EOL.
Reviewed by:	joerg, dd
2001-05-01 09:15:30 +00:00
imp
a461771124 Add cross reference to ast, for folks with IDE tape drives. 2001-05-01 03:43:34 +00:00
bmah
bf62480d6b Fix typo: Descriptions of SK-9842 and SK-9843 were reversed.
PR:		docs/21700
Submitted by:	neuf@lrs.e-technik.uni-erlangen.de
2001-04-30 16:02:46 +00:00
dd
dc71bdf13a Add xref to sym(4)
PR:		26881
2001-04-29 03:48:35 +00:00
dd
d393b089ef mdoc(7) police: use .Va and .Vt where appropriate 2001-04-29 03:45:04 +00:00
dd
779120efcd Document allscreens_kbdflags.
Reviewed by:	ru
2001-04-28 20:57:26 +00:00
dd
4357a565d1 mdoc(7) police: use .Va and .Vt where appropriate
Reviewed by:	ru
2001-04-28 20:51:23 +00:00
alex
e007aecb48 Improve description of "new_sysent". 2001-04-28 13:19:20 +00:00
alex
651e2fa29b Add SYSCALL_MODULE.9, a manpage for the SYSCALL_MODULE wrapper macro
for syscall klds.

Some text of this manpage is based on the comments in the example
syscall module written by Assar Westerlund.

Reviewed by:	ru
2001-04-28 13:18:40 +00:00
ru
12491347c1 mdoc(7) police: removed hard sentence breaks. 2001-04-27 10:27:06 +00:00
ru
c39eb9c6d3 mdoc(7) police: shrink list width by one character. 2001-04-27 09:06:50 +00:00
obrien
b7fade8f42 Reduce the number of $FreeBSD$'s from 3 to 2. I believe both remaining
are needed for proper examples.
2001-04-25 20:58:28 +00:00
dd
4f71496cff "break", "chdir", "continue", "else", and "while" are sh(1) builtins;
mark them as such.

PR:		26702
2001-04-25 05:53:20 +00:00
schweikh
f61461ee05 Document all isdn_* variables in rc.conf(5) - 6 more knobs to frob!
PR:		conf/24865
Submitted by:	schweikh
Reviewed by:	hm
2001-04-24 20:00:58 +00:00
ru
61a4fcc8d1 mdoc(7) police: update HISTORY section.
This interface is not available in 4.3-RELEASE.
2001-04-23 15:22:50 +00:00
obrien
524c780656 Address $FreeBSD$ and `rcsid'. 2001-04-22 02:32:42 +00:00
obrien
98e76c3609 Fix prototype wrap example and note how to wrap ANSI-style function
definitions.
2001-04-22 02:00:39 +00:00
dd
7e596f2f9a Reword a few things and document the search' and index' make targets.
PR:		26690
Submitted by:	Pete Fritchman <petef@databits.net>
2001-04-22 00:28:40 +00:00
dirk
1ef2e4ac46 Check for denied zone transfers (AXFR and IXFR). 2001-04-21 22:36:30 +00:00
ache
2c288f7f72 Fix typo in mousechar range 2001-04-21 16:28:29 +00:00
dd
b95c18811b Remove references to block devices.
PR:		26734
Submitted by:	Philipp Mergenthaler <un1i@rz.uni-karlsruhe.de>
2001-04-20 22:57:29 +00:00
dd
2c5fe3085e Fix miscellaneous spelling and grammar errors.
PR:		26672
Submitted by:	Seth <seth@psychotic.aberrant.org>
2001-04-20 03:49:07 +00:00
ache
f297de2463 Describe mousechar_start hook 2001-04-19 14:55:32 +00:00
ru
1db489053b mdoc(7) police: normalize .Nd. 2001-04-18 15:54:10 +00:00
ru
e450e5e8f4 mdoc(7) police: use .Fx. 2001-04-18 13:39:57 +00:00
ru
4fda042c2a mdoc(7) police: use .Fx. 2001-04-18 13:24:18 +00:00
ru
aff1cfdd86 mdoc(7) police: uppercase document title. 2001-04-18 08:25:26 +00:00
ru
2c3e9435e9 Use Groff versions of man(7) and mdoc(7) manpages.
mdoc.samples(7) is superseded by mdoc(7).
2001-04-17 12:48:14 +00:00
dd
746d677de3 Grammar police: "its", not "it's", is the possessive form of "it". 2001-04-15 19:53:47 +00:00
alfred
0c1cec9bab note that VOP_STRATEGY may block.
Learned from: vm/swap_pager.c comment above swap_pager_putpages()
2001-04-15 12:04:05 +00:00
dd
da69977622 mdoc(7) police: properly use a -diag list in the DIAGNOSTICS section.
Reviewed by:	ru
2001-04-13 19:59:47 +00:00
dd
58e2abcf0a mdoc(7) police: rename the DIAGNOSTICS section to ERRORS to match the
content, and correct the parameters to the -tag list therein.

Reviewed by:	ru
2001-04-13 19:49:07 +00:00
ru
c022939a11 Document /usr/include/fs/smbfs and /usr/include/netsmb.
Submitted by:	bp
2001-04-13 08:14:58 +00:00
ru
0a69fb7b38 vnconfig(8) -> mdconfig(8). 2001-04-10 16:29:41 +00:00
billf
f50b9dd97e Typo ("no not" -> "do not")
Submitted by:	Dave McKay <monk@sneakerz.org>
2001-04-07 08:19:20 +00:00
ru
3d3e82c3c5 Record -lposix1e death. 2001-04-05 07:59:19 +00:00
jhb
bdbc009fbd Use a plain .Dv for kernel option names rather than .Qq Dv to be consistent
with other manpages.
2001-04-04 17:41:50 +00:00
jhb
87cf1d2248 We don't use quotes around kernel options now. 2001-04-04 17:32:08 +00:00
bmah
4507c4564c Add removable_interfaces to /etc/defaults/rc.conf. It is used
(undocumented until now) by /etc/pccard_ether.

MFC candidate.

Pointed out by:	Dave Crane <dave@trig.net>
Reviewed by:	-mobile
2001-04-04 16:48:57 +00:00
ru
654e7bd16b mdoc(7) police: removed final dot from the .Nd call. 2001-04-04 12:00:29 +00:00
ru
417df8146b mdoc(7) police: there is no single manpage that uses ``.Sy not''. 2001-04-04 11:57:03 +00:00
ru
3629940380 mdoc(7) police: fix markup and spelling. 2001-04-04 11:51:59 +00:00
ru
89c7dd40a9 mdoc(7) police: add missing .Pa call. 2001-04-04 10:48:13 +00:00
ru
7fb456b391 mdoc(7) police: add a missing comma in the SEE ALSO. 2001-04-04 10:39:06 +00:00
ru
3fe4833de7 mdoc(7) police: sort xrefs. 2001-04-04 09:42:25 +00:00
dd
3f5785fc67 Fix a spelling error.
PR:		26308
2001-04-03 05:43:07 +00:00
dd
f3c3d9e35c Indicate that sh(1) has an 'if' builtin command.
PR:		26193
2001-04-01 01:08:33 +00:00
jhb
1f1c577114 Correct the MLINKS for mutex.9 to reflect the API change and add a new
MLINK for mtx_initialized.

Reminded by:	rwatson
2001-03-30 23:00:00 +00:00
jhb
688be3ad24 - Document mtx_initialized().
- Document that MTX_QUIET can be passed to mtx_init() and the new flag
  MTX_NOWITNESS.
2001-03-30 22:59:02 +00:00
archie
16a4f3f708 Fix typo. 2001-03-30 20:32:05 +00:00
asmodai
92d117fb8d Change NO_MAKEDEV to a finer granularity method:
NO_MAKEDEV_INSTALL and NO_MAKEDEV_RUN.  The former implying the latter.
The names imply what they do.  The last commit by DES based on a PR defeated
the original idea behind NO_MAKEDEV, which was not to run MAKEDEV, but to do
the installation of MAKEDEV.  This should satisfy both parties on the MAKEDEV
challenge.
Reflect this in the documentation.
2001-03-29 14:03:29 +00:00
ben
d61c3b42ac Kill vn related manual pages, they're not used any more.
Approved by:	phk
2001-03-29 11:36:46 +00:00
bde
09649436f3 Fixed bitrot in the prototypes for NDINIT and NDFREE. 2001-03-29 10:29:37 +00:00
bde
39a2e55d5e Fixed missing and disorded includes in synopsis.
Removed bogus quotes in .Fn invocations.  Single words don't need quoting.
2001-03-29 10:18:54 +00:00
bde
cec92f44ff Fixed wrong include in synopsis. <sys/param.h> is a prerequisite for
<sys/mutex.h> due to #include spam in <sys/mutex.h>.  (More precisely,
<sys/time.h> is the prerequisite, but that is provided by standard
#include spam in <sys/param.h>.)

Fixed bitrot in prototype for mtx_init().
2001-03-29 10:06:50 +00:00
ben
282ab22d5d Correct the description of the "low" (< 1024) port range.
PR:		25500
Submitted by:	Barry Irwin <bvi@devco.net>
2001-03-29 01:00:42 +00:00
wpaul
ad7a5c473e Whoops, mention the Asante PCI 1000BASE-SX Gigabit Ethernet Adapter
(fiber version) too.
2001-03-29 00:25:58 +00:00
wpaul
afea0f01ea Mention that the Asante GigaNIX1000T Gigabit Ethernet Adapter is supported
by the ti(4) driver. (Another OEM'ed Tigon 2.)
2001-03-29 00:23:17 +00:00
des
6c75e0cab5 Prepare for pseudofs. 2001-03-28 22:21:07 +00:00
jhb
b31138fcac Update history to reflect that ktr first appeared in BSD/OS 3.0. 2001-03-28 17:54:50 +00:00
jhb
f9b672bb16 - Both <sys/sx.h> and <sys/mutex.h> depend on <sys/types.h> and
<sys/lock.h>.
- <sys/sx.h> depends on <sys/mutex.h>.
2001-03-28 12:45:41 +00:00
jhb
218c4fd2b5 Add a simple manpage describing the basic functionality of witness.
It needs a diagonistics section added at some point in the future.
2001-03-28 12:44:30 +00:00
jhb
1ae13d09e6 Add a manpage for the critical_enter/exit() functions. 2001-03-28 07:30:58 +00:00
ru
1f87862f43 MAN[1-9] -> MAN. 2001-03-27 13:48:25 +00:00
ken
3b195d6418 Rewrite of the CAM error recovery code.
Some of the major changes include:

	- The SCSI error handling portion of cam_periph_error() has
	  been broken out into a number of subfunctions to better
	  modularize the code that handles the hierarchy of SCSI errors.
	  As a result, the code is now much easier to read.

	- String handling and error printing has been significantly
	  revamped.  We now use sbufs to do string formatting instead
	  of using printfs (for the kernel) and snprintf/strncat (for
	  userland) as before.

	  There is a new catchall error printing routine,
	  cam_error_print() and its string-based counterpart,
	  cam_error_string() that allow the kernel and userland
	  applications to pass in a CCB and have errors printed out
	  properly, whether or not they're SCSI errors.  Among other
	  things, this helped eliminate a fair amount of duplicate code
	  in camcontrol.

	  We now print out more information than before, including
	  the CAM status and SCSI status and the error recovery action
	  taken to remedy the problem.

	- sbufs are now available in userland, via libsbuf.  This
	  change was necessary since most of the error printing code
	  is shared between libcam and the kernel.

	- A new transfer settings interface is included in this checkin.
	  This code is #ifdef'ed out, and is primarily intended to aid
	  discussion with HBA driver authors on the final form the
	  interface should take.  There is example code in the ahc(4)
	  driver that implements the HBA driver side of the new
	  interface.  The new transfer settings code won't be enabled
	  until we're ready to switch all HBA drivers over to the new
	  interface.

src/Makefile.inc1,
lib/Makefile:		Add libsbuf.  It must be built before libcam,
			since libcam uses sbuf routines.

libcam/Makefile:	libcam now depends on libsbuf.

libsbuf/Makefile:	Add a makefile for libsbuf.  This pulls in the
			sbuf sources from sys/kern.

bsd.libnames.mk:	Add LIBSBUF.

camcontrol/Makefile:	Add -lsbuf.  Since camcontrol is statically
			linked, we can't depend on the dynamic linker
			to pull in libsbuf.

camcontrol.c:		Use cam_error_print() instead of checking for
			CAM_SCSI_STATUS_ERROR on every failed CCB.

sbuf.9:			Change the prototypes for sbuf_cat() and
			sbuf_cpy() so that the source string is now a
			const char *.  This is more in line wth the
			standard system string functions, and helps
			eliminate warnings when dealing with a const
			source buffer.

			Fix a typo.

cam.c:			Add description strings for the various CAM
			error status values, as well as routines to
			look up those strings.

			Add new cam_error_string() and
			cam_error_print() routines for userland and
			the kernel.

cam.h:			Add a new CAM flag, CAM_RETRY_SELTO.

			Add enumerated types for the various options
			available with cam_error_print() and
			cam_error_string().

cam_ccb.h:		Add new transfer negotiation structures/types.

			Change inq_len in the ccb_getdev structure to
			be "reserved".  This field has never been
			filled in, and will be removed when we next
			bump the CAM version.

cam_debug.h:		Fix typo.

cam_periph.c:		Modularize cam_periph_error().  The SCSI error
			handling part of cam_periph_error() is now
			in camperiphscsistatuserror() and
			camperiphscsisenseerror().

			In cam_periph_lock(), increase the reference
			count on the periph while we wait for our lock
			attempt to succeed so that the periph won't go
			away while we're sleeping.

cam_xpt.c:		Add new transfer negotiation code.  (ifdefed
			out)

			Add a new function, xpt_path_string().  This
			is a string/sbuf analog to xpt_print_path().

scsi_all.c:		Revamp string handing and error printing code.
			We now use sbufs for much of the string
			formatting code.  More of that code is shared
			between userland the kernel.

scsi_all.h:		Get rid of SS_TURSTART, it wasn't terribly
			useful in the first place.

			Add a new error action, SS_REQSENSE.  (Send a
			request sense and then retry the command.)
			This is useful when the controller hasn't
			performed autosense for some reason.

			Change the default actions around a bit.

scsi_cd.c,
scsi_da.c,
scsi_pt.c,
scsi_ses.c:		SF_RETRY_SELTO -> CAM_RETRY_SELTO.  Selection
			timeouts shouldn't be covered by a sense flag.

scsi_pass.[ch]:		SF_RETRY_SELTO -> CAM_RETRY_SELTO.

			Get rid of the last vestiges of a read/write
			interface.

libkern/bsearch.c,
sys/libkern.h,
conf/files:		Add bsearch.c, which is needed for some of the
			new table lookup routines.

aic7xxx_freebsd.c:	Define AHC_NEW_TRAN_SETTINGS if
			CAM_NEW_TRAN_CODE is defined.

sbuf.h,
subr_sbuf.c:		Add the appropriate #ifdefs so sbufs can
			compile and run in userland.

			Change sbuf_printf() to use vsnprintf()
			instead of kvprintf(), which is only available
			in the kernel.

			Change the source string for sbuf_cpy() and
			sbuf_cat() to be a const char *.

			Add __BEGIN_DECLS and __END_DECLS around
			function prototypes since they're now exported
			to userland.

kdump/mkioctls:		Include stdio.h before cam.h since cam.h now
			includes a function with a FILE * argument.

Submitted by:	gibbs (mostly)
Reviewed by:	jdp, marcel (libsbuf makefile changes)
Reviewed by:	des (sbuf changes)
Reviewed by:	ken
2001-03-27 05:45:52 +00:00
sos
cb744d44f3 Added burncd to the SEE ALSO section.
Idea by: "Akinori MUSHA" <knu@iDaemons.org>
2001-03-26 19:49:39 +00:00
dirk
9d092ee37f Fix .Xr sd -> da. 2001-03-25 11:57:25 +00:00
alex
aee5cabec4 Sort includes and remove bogus typedef of modeventhand_t, since this
isn't used in the example any more.

Pointed out by:		bde
2001-03-24 12:18:45 +00:00
alex
2f8672fe4b - DECLARE_MODULE needs SYSINIT -> include sys/kernel.h
- modeventhand_t declares a pointer to a function, so it can't be
  used as a forward declaration (d'oh!)

Submitted by:	Harti Brandt <brandt@fokus.gmd.de>
2001-03-23 14:05:05 +00:00
des
824b0ea4e3 Axe TCP_RESTRICT_RST. It was never a particularly good idea except for a few
very specific scenarios, and now that we have had net.inet.tcp.blackhole for
quite some time there is really no reason to use it any more.

(second of three commits)
2001-03-19 22:07:32 +00:00
rwatson
1b88b78f06 o Rename "namespace" argument to "attrnamespace" as namespace is a C++
reserved word

Submitted by:	jkh
Obtained from:	TrustedBSD Project
2001-03-19 05:53:39 +00:00
alex
8e1e5cf170 Fix typo: s/DRIVERMODULE/DRIVER_MODULE/
PR:		25901
Submitted by:	Maxime Henrion <mux@qualys.com>
2001-03-18 16:54:39 +00:00
rwatson
ce67b919f8 o The revenge of the mdoc(7) police:
- These pages abused Ar macro (they should have used Fa).
   - NULL and other numeric constants should be marked with Dv.
   - VOP_* in the ERRORS section for the EOPNOTSUPP entry should be marked
     with Fn.

Submitted by:	ru
2001-03-16 17:42:38 +00:00
rwatson
b796adf323 o The mdoc(7) police strike with avengance:
- These pages abused Ar macro (they should have used Fa).
   - NULL constant should be marked with Dv.
   - VOP_* in the ERRORS section for the EOPNOTSUPP entry should be marked
     with Fn.

Submitted by:	ru
2001-03-16 15:02:30 +00:00
ru
4e2b569f18 mdoc(7) police: empty lines outside displays cause warnings in -mdocNG. 2001-03-16 13:50:50 +00:00
ru
f2bd8ad705 mdoc(7) police: apply formatting fixes to rev 1.14. 2001-03-16 13:38:49 +00:00
dd
5d95f8a9d2 /modules -> /boot/kernel
PR:		25053
Approved by:	nik
2001-03-16 02:26:48 +00:00
sos
1d97203ee4 Remove the ATA_ENABLE_ATAPI_DMA, ATA_ENABLE_WC and ATA_ENABLE_TAGS
options, add the tuneables for this purpose.
2001-03-15 15:38:57 +00:00
rwatson
b5b6b4a264 o Update some of the kernel man pages associated with extended attributes
to reflect EA API change to explicit namespacing.

Obtained from:	TrustedBSD Project
2001-03-15 03:13:58 +00:00
dd
89862bb5b5 Remove the last remnants of circle queues.
PR:		25184
Submitted by:	Alex Kapranoff <alex@kapran.bitmcnit.bryansk.su>
Approved by:	nik
2001-03-15 02:08:44 +00:00
dd
e24a9cb5ba /devs -> /dev
PR:		25252
Submitted by:	Christian Weisgerber <naddy@mips.inka.de>
Approved by:	nik, phk (via nik)
2001-03-15 02:06:44 +00:00
mjacob
badaf74796 update this to be marginally closer to reality 2001-03-14 04:31:36 +00:00
ru
57207947d9 .St macro cleanup:
- spell the abbreviation of 1003.1 as ``POSIX.1''
- fixed the description of -p1003.1-90; it was sold as ISO/IEC 9945-1:1990
- removed -p1003.1b; it only existed as 1003.1b-1993 (-p1003.1b-93), and
  is part of 1003.1 since 1003.1-1996.
- replaced -p1003.1g (project) with -p1003.1g-2000 (approved draft)
- changed abbreviation of -isoC from ``ISO C'' to ``ISO C89''
- removed -iso9899 alias for -isoC
- IEC was missing from some names
- added abbreviation for -susv2 (``SUSv2'')
2001-03-12 17:19:38 +00:00
ru
01c3f7b7c9 mdoc(7) police:
removed hard sentence breaks, use Ft for function return type.
2001-03-12 10:15:03 +00:00
ru
44ab0f8235 Fixed typo. 2001-03-12 10:07:33 +00:00
ru
802beb16d7 mdoc(7) police: misc formatting fixes. 2001-03-12 09:33:07 +00:00
ru
4128270120 mdoc(7) police: misc formatting fixes. 2001-03-12 09:26:32 +00:00
ru
7edcbb14e8 mdoc(7) police:
o  Update document date.
o  Remove hard sentence break.
o  Sort xrefs.
2001-03-12 09:14:22 +00:00
ru
6fd288928c mdoc(7) police: misc formatting fixes. 2001-03-12 09:05:59 +00:00
ru
4a3fa1a68c mdoc(7) police: mark C types with Vt macro. 2001-03-12 08:54:49 +00:00
assar
dc506e8e8a change the default mode from adhoc to bss (infrastructure)
Reviewed by:	Brooks Davis <brooks@one-eyed-alien.net>
2001-03-12 06:13:39 +00:00
bp
c8a9bee5a0 Apply some grammar fixes.
Submitted by:	asmodai
2001-03-12 05:18:37 +00:00
assar
220a5ddedc change default from adhoc mode to BSS (infrastructure) 2001-03-12 04:49:50 +00:00
mjacob
533d5eb0f0 Document the make_dev_alias function. 2001-03-11 20:10:45 +00:00
alex
ad2f1eef1d Add a manpage for the DEV_MODULE kernel macro. 2001-03-11 17:30:08 +00:00
alex
0e850a63fe Use type of modeventhand_t for the event handler (defined in module.h).
Add a reference to module(9) for more info about the event handler.
2001-03-11 17:07:20 +00:00
alex
dc7752e507 Fix brain damage: s/CDEV_MODULE/DEV_MODULE/ 2001-03-11 16:52:17 +00:00
alex
967c312f2a Add MODULE_DEPEND.9 and MODULE_VERSION.9 2001-03-11 14:42:38 +00:00
alex
bab4668b71 Add a manpage for the MODULE_DEPEND macro. 2001-03-11 14:33:34 +00:00
alex
b025521e1b Add a manpage for the MODULE_VERSION macro. 2001-03-11 14:33:15 +00:00
alex
e93d61c449 Add calls to MODULE_VERSION and MODULE_DEPEND to the EXAMPLE. 2001-03-11 14:18:23 +00:00
alex
fe5528ed4b Cross references between the DEVICE_*(9) manual pages. 2001-03-10 19:53:38 +00:00
alex
024b6e2552 Add references to the various DEVICE_*(9) manpages, otherwise people
don't even know about these.
2001-03-10 19:42:26 +00:00
alex
2c0c5c482c Add DEVICE_IDENTIFY.9 2001-03-10 19:37:27 +00:00
alex
7a9918051c Add a manpage for the last of the driver's functions, the identify
routine.

PR:		18654
Submitted by:	myself (reworked today)
2001-03-10 19:34:42 +00:00
alex
95039a0988 Two mdoc fixes:
- .Os is used without "FreeBSD" nowadays.
- remove hard sentence breaks.
2001-03-10 19:12:46 +00:00
markm
6fa077bb07 Update for /dev/random improvements. 2001-03-10 16:08:04 +00:00
okazaki
9342ff04ac Fix typo.
Approved by:	tanimura
2001-03-10 10:19:38 +00:00
bp
c5809f4ee7 Add documentation for mchain API.
Reviewed by:	asmodai, ru (mbchain.9)
2001-03-10 06:10:48 +00:00
phk
75afbf0041 Make md(4) and mdconfig(8) take over the role of vn(4) and vnconfig(8)
entirely as previously advertised.

md(4) adopted all assets of vn(4) some time back and has proper devfs
support and cloning abilities to boot.
2001-03-09 20:09:28 +00:00
phk
4e6c170009 Make md(4) more in line with reality.
NB: probably contains mdoc mistakes, feel free to fix.
2001-03-09 20:07:37 +00:00
ru
6b7d9ead17 mdoc(7) police: in mdocNG, -offset and -width values without scaling
indicator are treated as strings, so "-offset 0" will set the offset
to the width of the string "0", as opposed to "no offset".

TIP: if offset is not needed, the -offset clause may be omitted.
2001-03-09 16:22:37 +00:00
alex
2eecc9f70e Add module.9 and DECLARE_MODULE.9 2001-03-09 14:16:46 +00:00
alex
d5c4d029d3 Add a general manpage about kernel modules, similar to driver(9).
Reviewed by:	dfr, ru
2001-03-09 14:12:43 +00:00
alex
4a73f7e4a2 Add a manpage for the kernel macro DECLARE_MODULE.
Reviewed by:	dfr, ru
2001-03-09 14:11:56 +00:00
ru
bbec953696 Make it possible to use IP_TTL and IP_TOS setsockopt(2) options
on certain types of SOCK_RAW sockets.  Also, use the ip.ttl MIB
variable instead of MAXTTL constant as the default time-to-live
value for outgoing IP packets all over the place, as we already
do this for TCP and UDP.

Reviewed by:	wollman
2001-03-09 12:22:51 +00:00
jhb
8b63a08ab0 Document how to compile KTR into the kernel, tweak its behavior, and
examine the event logs in ddb(4).
2001-03-09 03:43:18 +00:00
jhb
2a04346236 Document the ithread_* API used to manage interrupt threads and their
list of handlers.
2001-03-09 03:30:20 +00:00
jhb
f3bae11011 Add 2001 to copyright. 2001-03-09 03:17:18 +00:00
jhb
abd0a49968 - Add 2001 to copyright.
- Kthread functions return an error status, they don't set errno to an
  error status.
- Remove the BUGS section as all the bugs listed have been fixed now.
2001-03-09 03:09:30 +00:00
jhb
96fc368a01 The 'gdb' command works on the alpha as well as the i386. 2001-03-09 03:07:53 +00:00
ru
ced286fdd0 MFS: update HISTORY, synch dates. 2001-03-07 12:52:53 +00:00
ru
24357bd9f5 Replace custom type of comments here too. 2001-03-07 09:26:18 +00:00
sos
b2bed05051 Update woith latest chipsets and options 2001-03-07 08:12:24 +00:00
markm
df6f86bea7 Grammar police. 2001-03-06 10:19:12 +00:00
markm
207867400c Fix markup.
Submitted by:	ru
2001-03-06 10:08:36 +00:00
ru
a4e4522ce3 mdoc(7) police: Use Vt for variable types. 2001-03-06 08:22:10 +00:00
jhb
eb1c975e0b Adjust swi.9 MLINKS to catch up to the new swi API. 2001-03-05 23:48:38 +00:00
jhb
24856cc504 Catch up to the new swi API. 2001-03-05 23:47:34 +00:00
jasone
92553ca53b Implement shared/exclusive locks.
Reviewed by:	bmilekic, jake, jhb
2001-03-05 19:59:41 +00:00
ru
5391a1c15a Fixed typo. 2001-03-05 15:37:03 +00:00
ru
3b5443960d mdoc(7) police: misc fixes. 2001-03-05 14:25:41 +00:00
ru
e784677087 mdoc(7) police: markup/spelling fixes. 2001-03-05 10:03:03 +00:00
assar
05286a6e61 implement OCRNL, ONOCR, and ONLRET
Obtained from:	NetBSD
2001-03-04 06:04:50 +00:00
cokane
472a4277da Small style fix, remove highlight from second list in FILES section. 2001-03-03 22:54:00 +00:00
cokane
fe651a8371 Added a man page for the tdfx 3Dfx Voodoo I/II device driver 2001-03-03 22:47:19 +00:00
markm
7d3dd159a1 Minor fixes. ManPolice stuff, and a clarification of interrupt
harvesting.
2001-03-03 14:21:58 +00:00
markm
26ea14af89 Extra MLINKS to reflect expansion of BUS_SETUP_INTR(9) manpage. 2001-03-03 14:19:39 +00:00
markm
280c2396bb Add a whole lot of extra info. Lots was gained from reading code
or comments, and some is as a result of simply documenting the
entropy harvester.

This still needs work: could a newbus guru pleazse follow up
and fix.extend my (no doubt) obvious mistakes!
2001-03-03 14:13:53 +00:00
ru
11200a6edf mdoc(7) police: fix markup. 2001-03-02 09:59:58 +00:00