Commit Graph

5697 Commits

Author SHA1 Message Date
ru
4944787dbf vnconfig(8) -> mdconfig(8). 2001-04-10 16:29:41 +00:00
sobomax
d06e42bb7e Whitespace only: convert several tabs into spaces to make style consistent. 2001-04-09 16:55:32 +00:00
sobomax
08cc70e40d Whitespace only: Convert several tabs into spaces, to make style consistent. 2001-04-09 16:36:48 +00:00
ru
214ce2c82f Introduce SCRIPTS for bsd.prog.mk. See bsd.README for details.
Idea stolen from NetBSD.

Reviewed by:	bde
2001-04-07 11:13:46 +00:00
billf
03f530375f Typo ("no not" -> "do not")
Submitted by:	Dave McKay <monk@sneakerz.org>
2001-04-07 08:19:20 +00:00
wollman
bd58b55bbb Merge tzdata2001b from vendor branch. 2001-04-06 16:46:52 +00:00
wollman
79f3df58a4 This commit was generated by cvs2svn to compensate for changes in r75264,
which included commits to RCS files with non-trunk default branches.
2001-04-06 16:43:21 +00:00
wollman
783482b691 Latest timezone database form Arthur Olson. This update includes changes
to the following locations:

Antarctica
Australia (additional historical comments)
Bangladesh (new spelling of Dhaka)
Brazil (multiple changes; America/Porto_Acre renamed America/Rio_Branco)
CNMI
Canada
Chile
Dominican Republic
East Timor
Falkland Islands
Fiji
France (additional history)
Guam
Israel (additional historical comments)
Latvia
Mexico
Moldova (Europe/Tiraspol removed)
Netherlands (additional history)
Paraguay
Philippines (additional history)
Tonga
United States (additional historical comments)

Obtained from:	Arthur Olson; <ftp://elsie.nci.nih.gov/pub/tzdata2001b.tar.gz>
2001-04-06 16:43:21 +00:00
jedgar
911e6f337b Remove the recently-depricated LIBPOSIX1E 2001-04-05 12:11:02 +00:00
mpp
d86e393136 We don't use the "pseudo-device" configuration option any longer,
so update the example to use the correct definition.

Add an example for documenting kernel compile options, along with
a small example of how to reference them in the main text of the
man page (I.e. the .Dv macro).

Inspired-by:  a brief exchange I saw in in the commit messages mail
2001-04-05 09:37:55 +00:00
ru
0c3a8e26a5 Record -lposix1e death. 2001-04-05 07:59:19 +00:00
dd
1a2e942922 Make it clear that commands within labels must be indented to be
recognized.

PR:		26293
Reviewed by:	brian
2001-04-05 01:25:42 +00:00
jhb
91f585bdaf 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
a33a1f952e We don't use quotes around kernel options now. 2001-04-04 17:32:08 +00:00
bmah
4b8ca31804 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
e354144cdf mdoc(7) police: removed final dot from the .Nd call. 2001-04-04 12:00:29 +00:00
ru
6d5fa6e8cf mdoc(7) police: there is no single manpage that uses ``.Sy not''. 2001-04-04 11:57:03 +00:00
ru
2b3fe9c493 mdoc(7) police: fix markup and spelling. 2001-04-04 11:51:59 +00:00
ru
541e424cf6 mdoc(7) police: add missing .Pa call. 2001-04-04 10:48:13 +00:00
ru
eec7ac9c2c mdoc(7) police: add a missing comma in the SEE ALSO. 2001-04-04 10:39:06 +00:00
ru
d828836161 mdoc(7) police: sort xrefs. 2001-04-04 09:42:25 +00:00
dd
04f715925e Fix a spelling error.
PR:		26308
2001-04-03 05:43:07 +00:00
ru
755e4fa30b Introduce ${PROGNAME}, the name that the program will be installed as,
if different from ${PROG}.  (The name PROGNAME was stolen from NetBSD.)

Reviewed by:	bde
2001-04-02 11:44:20 +00:00
dd
485d3bb724 Indicate that sh(1) has an 'if' builtin command.
PR:		26193
2001-04-01 01:08:33 +00:00
obrien
395d3406d2 Use -r rather than -R to get "reasonable permissions and ownership". 2001-03-31 18:38:05 +00:00
jhb
21062a0848 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
8df5fee25b - 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
fb4775edfe Fix typo. 2001-03-30 20:32:05 +00:00
asmodai
3263ed06d8 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
asmodai
c3030e9fc4 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.
2001-03-29 14:03:07 +00:00
ben
4ae9cfa7a0 Kill vn related manual pages, they're not used any more.
Approved by:	phk
2001-03-29 11:36:46 +00:00
bde
9991180a00 Fixed bitrot in the prototypes for NDINIT and NDFREE. 2001-03-29 10:29:37 +00:00
bde
006416e0f7 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
4c29931b6c 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
601f4f9326 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
d426389962 Whoops, mention the Asante PCI 1000BASE-SX Gigabit Ethernet Adapter
(fiber version) too.
2001-03-29 00:25:58 +00:00
wpaul
7e7afe3aad 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
ed8584b377 Prepare for pseudofs. 2001-03-28 22:21:07 +00:00
jhb
5f19fe6276 Update history to reflect that ktr first appeared in BSD/OS 3.0. 2001-03-28 17:54:50 +00:00
ru
18be3bb86d - Document recent MAN[1-9] -> MAN changes.
- Backout part of revision 1.4 (../Makefile.inc -> bsd.inc.mk change).
2001-03-28 15:12:29 +00:00
ru
d4e02f3396 Define MAN to ${PROG}.1 if no manpages were specified, but still
provide MAN1 for backwards compatibility.  Third party software
may still have dependancy lines of this form:

${MAN1}:	foo.man
2001-03-28 15:07:48 +00:00
ru
ddaaf10b81 - Removed `n' from the list of manpage sections.
- Only support the old syntax for manpage declarations
  (MAN1...MAN9) if no MAN is defined.
2001-03-28 14:58:08 +00:00
jhb
11a6b9c53f - 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
f515c0a62f 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
ru
98c6ecb383 Bye-bye /usr/lib/libtelnet.a. This should fix ``make release'' brokeness.
Approved by:	markm
2001-03-28 12:08:22 +00:00
jhb
640834f755 Add a manpage for the critical_enter/exit() functions. 2001-03-28 07:30:58 +00:00
ru
a27d1d954d MAN[1-9] -> MAN. 2001-03-27 13:48:25 +00:00
ru
d7aebcb4f6 Make it possible to build manpages for the entire source tree. 2001-03-27 08:43:28 +00:00
ken
24c4b1e75b 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
47e63f32ef Added burncd to the SEE ALSO section.
Idea by: "Akinori MUSHA" <knu@iDaemons.org>
2001-03-26 19:49:39 +00:00