summaryrefslogtreecommitdiffstats
path: root/share
Commit message (Collapse)AuthorAgeFilesLines
* MAN[1-9] -> MAN.ru2001-03-2714-15/+16
|
* Make it possible to build manpages for the entire source tree.ru2001-03-276-5/+23
|
* Rewrite of the CAM error recovery code.ken2001-03-272-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Added burncd to the SEE ALSO section.sos2001-03-261-0/+1
| | | | Idea by: "Akinori MUSHA" <knu@iDaemons.org>
* Adjust FreeBSD 4.3 release date.wosch2001-03-261-1/+1
| | | | Approved by: jkh
* Backout botched attempt to introduce MANSECT feature; itru2001-03-261-4/+1
| | | | doesn't work in "developer" mode (single module checkout).
* Removed _MANPAGES, MANDEPEND and MANSRC.ru2001-03-262-47/+48
| | | | | | | Added MAN which will eventually replace MAN[0-9] and MAN1aout. For now, the old syntax is still supported. Reviewed by: bde
* Do not depend on ``all-man'' if -DNOMAN.ru2001-03-261-1/+4
|
* Fix .Xr sd -> da.dirk2001-03-252-2/+2
|
* Add new categories science and ukrainian.asami2001-03-243-0/+5
|
* Sort includes and remove bogus typedef of modeventhand_t, since thisalex2001-03-241-5/+1
| | | | | | isn't used in the example any more. Pointed out by: bde
* - DECLARE_MODULE needs SYSINIT -> include sys/kernel.halex2001-03-231-1/+3
| | | | | | | - 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>
* Since ctime compatibility restrictions removed, use more natural date formatsache2001-03-224-8/+8
|
* Add padding for some short names to make their length the same to notache2001-03-2110-88/+88
| | | | break colums
* Remove fixed length restrictions and paddingache2001-03-2141-404/+337
|
* Replace %y with %Yache2001-03-2149-49/+49
|
* Pentium II's do not support SSE, that came in with the PIIIkris2001-03-211-1/+1
| | | | Submitted by: sf
* List libfetch.des2001-03-201-0/+1
| | | | Submitted by: bde
* If the MANSECT variable is specified, it will override the defaultru2001-03-201-1/+4
| | | | | | | | manual section. If, for example, MANSECT is set to 8, the default MAN1=${PROG}.1 feature of bsd.prog.mk becomes MAN8=${PROG}.8. Useful for games, libexec, sbin and usr.sbin subtrees. Reviewed by: bde
* Add LIBPOSIX1Ejedgar2001-03-201-0/+1
|
* Axe TCP_RESTRICT_RST. It was never a particularly good idea except for a fewdes2001-03-191-8/+0
| | | | | | | 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)
* o Rename "namespace" argument to "attrnamespace" as namespace is a C++rwatson2001-03-192-4/+4
| | | | | | | reserved word Submitted by: jkh Obtained from: TrustedBSD Project
* Fix typo: s/DRIVERMODULE/DRIVER_MODULE/alex2001-03-181-2/+2
| | | | | PR: 25901 Submitted by: Maxime Henrion <mux@qualys.com>
* Convert to new locale format with md_order and without E[Ff]_fmtache2001-03-1861-276/+262
| | | | Add ampm_fmt to all locales
* Don't link et_EE with 8859-1ache2001-03-171-2/+4
|
* o The revenge of the mdoc(7) police:rwatson2001-03-163-28/+38
| | | | | | | | | - 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
* o The mdoc(7) police strike with avengance:rwatson2001-03-162-20/+27
| | | | | | | | | - 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
* mdoc(7) police: empty lines outside displays cause warnings in -mdocNG.ru2001-03-161-1/+1
|
* mdoc(7) police: apply formatting fixes to rev 1.14.ru2001-03-161-11/+12
|
* Add et_EEache2001-03-161-1/+1
|
* Make empty unused am/pmache2001-03-162-4/+4
|
* Add et_EEache2001-03-163-0/+73
| | | | | PR: 25495 Submitted by: Vallo Kallaste <vallo@matti.ee>
* Add et_EEache2001-03-166-0/+46
| | | | | PR: 25495 Submitted by: Vallo Kallaste <vallo@matti.ee>
* Add et_EEache2001-03-166-0/+375
| | | | | PR: 25495 Submitted by: Vallo Kallaste <vallo@matti.ee>
* Part of DIS_8859-15 -> ISO_8859-15 renameache2001-03-1610-12/+12
|
* DIS_8859-15 -> ISO_8859-15 renameache2001-03-1610-438/+24
|
* /modules -> /boot/kerneldd2001-03-161-4/+5
| | | | | PR: 25053 Approved by: nik
* Remove the ATA_ENABLE_ATAPI_DMA, ATA_ENABLE_WC and ATA_ENABLE_TAGSsos2001-03-151-34/+14
| | | | options, add the tuneables for this purpose.
* o Update some of the kernel man pages associated with extended attributesrwatson2001-03-153-27/+60
| | | | | | to reflect EA API change to explicit namespacing. Obtained from: TrustedBSD Project
* Remove the last remnants of circle queues.dd2001-03-151-6/+5
| | | | | | PR: 25184 Submitted by: Alex Kapranoff <alex@kapran.bitmcnit.bryansk.su> Approved by: nik
* /devs -> /devdd2001-03-151-5/+5
| | | | | | PR: 25252 Submitted by: Christian Weisgerber <naddy@mips.inka.de> Approved by: nik, phk (via nik)
* Add a commented out entry for compat4xmurray2001-03-141-0/+1
| | | | | PR: 25196 Submitted by: Chris Knight <chris@aims.com.au>
* update this to be marginally closer to realitymjacob2001-03-141-5/+14
|
* .St macro cleanup:ru2001-03-121-6/+2
| | | | | | | | | | | | - 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'')
* mdoc(7) police:ru2001-03-121-3/+5
| | | | removed hard sentence breaks, use Ft for function return type.
* Fixed typo.ru2001-03-121-2/+2
|
* mdoc(7) police: misc formatting fixes.ru2001-03-121-7/+9
|
* mdoc(7) police: misc formatting fixes.ru2001-03-121-5/+5
|
* mdoc(7) police:ru2001-03-121-6/+8
| | | | | | o Update document date. o Remove hard sentence break. o Sort xrefs.
* mdoc(7) police: misc formatting fixes.ru2001-03-121-19/+30
|
OpenPOWER on IntegriCloud