Commit graph

59269 commits

Author SHA1 Message Date
Dima Dorfman a9bc34c882 Alphabetize command-line options in the synopsis. 2001-05-02 06:41:46 +00:00
Warner Losh adfdb4ae20 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
Dima Dorfman ad0447715b Implement the -r and -w options as -o ro' and -o noro', respectively. At
least in -w's case, simply unsetting the correct bit in init_flags was not
enough.  The bit may be reset later if, say, the filesystem is marked `ro'
in fstab.  The command line option should override the fstab setting, but
did not.  The implementation of -r was changed for consistency.

PR:		26886
Reviewed by:	archie
2001-05-02 02:16:16 +00:00
Brian Somers de85e722d1 Only define DEBUG if it's undefined. This should eventually go, but
can stay for now in case of problems.
2001-05-02 01:47:34 +00:00
Brian Somers ad01e0c856 Add a ``digi'' driver.
This driver supports PCI Xr-based and ISA Xem Digiboard cards.
dgm will go away soon if there are no problems reported.  For now,
configuring dgm into your kernel warns that you should be using
digi.  This driver is probably close to supporting Xi, Xe and Xeve
cards, but I wouldn't expect them to work properly (hardware
donations welcome).

The digi_* pseudo-drivers are not drivers themselves but contain
the BIOS and FEP/OS binaries for various digiboard cards and are
auto-loaded and auto-unloaded by the digi driver at initialisation
time.  They *may* be configured into the kernel, but waste a lot
of space if they are.  They're intended to be left as modules.

The digictl program is (mainly) used to re-initialise cards that
have external port modules attached such as the PC/Xem.
2001-05-02 01:08:09 +00:00
Warner Losh 19212fa445 ulpt(4) doesn't exist, so don't cross ref to it.
Reviewed by: n_hibma
2001-05-01 21:46:28 +00:00
Poul-Henning Kamp 92fa92b327 Don't mount a md(4) over /dev on DEVFS enabled diskless systems. 2001-05-01 20:13:59 +00:00
Kenneth D. Merry 9c6a092060 Fix up unit attention and selection timeout handling in various peripheral
drivers.

- change daprevent() to set CAM_RETRY_SELTO and SF_RETRY_UA when it calls
  cam_periph_runccb().
- change the pt(4) driver to ignore unit attentions
- change the targ(4) driver to retry selection timeouts
- clean up a few formatting glitches in the targ(4) driver

Reviewed by:	gibbs
2001-05-01 19:37:25 +00:00
Wilko Bulte d893814116 First half of SGMLifying. More to follow. 2001-05-01 18:46:19 +00:00
Jens Schweikhardt e986850f9f Fixed typos: dependant -> dependent 2001-05-01 14:10:12 +00:00
Jens Schweikhardt eb8e0f0e6b Fixed typos: decendant -> descendant 2001-05-01 14:09:20 +00:00
Jens Schweikhardt de79862524 pseudo-device -> device in kernel config.
Reviewed by:	joerg, dd
2001-05-01 11:26:14 +00:00
Jens Schweikhardt 4e7c865a3d pseudo-device -> device in kernel config.
Approved by:	joerg, dd
2001-05-01 10:52:50 +00:00
David Malone ea66ccbf96 Avoid a warning by making a variable a const char *. 2001-05-01 10:35:20 +00:00
David Malone 0627f53b57 Don't give a warning about "proc size mismatch" if no struct were
returned. (This arose on a list about a month ago when someone
found bogus warnings if they used "ps -Uuser_with_no_processes".)

Approved by:	mckusick
2001-05-01 10:34:15 +00:00
Mark Murray 31a651fa98 Clean out some cruft that has been put in a better (central) place. 2001-05-01 10:30:08 +00:00
Mark Murray 51bf9b8a50 Compensate for header dethreading. 2001-05-01 09:37:01 +00:00
Mark Murray 98d2ef9e72 Compenate for header dethreading. 2001-05-01 09:32:34 +00:00
Mark Murray e16138fead Compensate for header dethreading. 2001-05-01 09:30:02 +00:00
Josef Karthauser f383120181 * Add Config.pm to fight situations when perldoc(1) showed a manual page
for a module overridden by BSDPAN instead of the original module.

* Fix wrong manual section numbers in SEE ALSO.

* Add `Revision 42' to the beer-ware license.  The BSDPAN author did not
  originally get the reference and removed the revision from original
  phk's version.

Submitted by:	Anton Berezin <tobez@tobez.org>
2001-05-01 09:25:24 +00:00
Mark Murray 82633431b3 Compensate for header dethreading. 2001-05-01 09:24:15 +00:00
Jens Schweikhardt ec09ef4ff8 pseudo-device -> device in kernel config lines. Removed whitespace at EOL.
Reviewed by:	joerg, dd
2001-05-01 09:15:30 +00:00
Poul-Henning Kamp 3858e5e797 Use ufs_bmaparray() rather than VOP_BMAP() on our own vnodes. 2001-05-01 09:12:39 +00:00
Poul-Henning Kamp 3c7a8027cb Remove blatantly pointless call to VOP_BMAP().
Use ufs_bmaparray() rather than VOP_BMAP() on our own vnodes.
2001-05-01 09:12:31 +00:00
Poul-Henning Kamp cf94807d03 Remove blatantly pointless call to VOP_BMAP(). 2001-05-01 09:12:05 +00:00
Mark Murray 573fbdc21f Compensate for dethreaded headers.
(I have no religion about how this was done. Follow-up commits welcome)
2001-05-01 09:08:09 +00:00
Mark Murray 2888dd72bf Compensate for dethreaded headers.
(I have no religion about how this was done. Follow-up commits welcome)
2001-05-01 09:02:06 +00:00
Mark Murray 6e547eabb8 Compensate for header dethreading. 2001-05-01 08:46:02 +00:00
Mark Murray 325a83b456 Compensate for header dethreading. 2001-05-01 08:39:23 +00:00
Poul-Henning Kamp a62615e59b Implement vop_std{get|put}pages() and add them to the default vop[].
Un-copy&paste all the VOP_{GET|PUT}PAGES() functions which do nothing but
the default.
2001-05-01 08:34:45 +00:00
Mark Murray fb919e4d5a Undo part of the tangle of having sys/lock.h and sys/mutex.h included in
other "system" header files.

Also help the deprecation of lockmgr.h by making it a sub-include of
sys/lock.h and removing sys/lockmgr.h form kernel .c files.

Sort sys/*.h includes where possible in affected files.

OK'ed by:	bde (with reservations)
2001-05-01 08:13:21 +00:00
Warner Losh 8904de15a2 Add cross reference to ast, for folks with IDE tape drives. 2001-05-01 03:43:34 +00:00
John Baldwin 3908917969 Turn on preemption by default on the alpha arch. This also removes the
PREEMPTION kernel option.

Not objected to by:	-alpha
2001-05-01 00:19:24 +00:00
Dima Dorfman f238e04f6f mdoc(7) police: remove hard sentence breaks. 2001-04-30 23:20:43 +00:00
Kenneth D. Merry 7b1f8d8bd4 Add sense key table entries for DATA PROTECT and BLANK CHECK. This will
prevent scsi_sense_desc() from deferencing a NULL pointer when a drive
happens to return one of these sense keys.

Reported by:	Michael Samuel <michael@miknet.net>
2001-04-30 21:40:09 +00:00
John Baldwin 39c451331e Allow the size of the SSC memory disk used with the SKI emulator to be
overridden in the kernel config file via the SSC_NSECT option.
2001-04-30 21:26:43 +00:00
Poul-Henning Kamp e9d19a117e Uncut&paste som bogus use of VOP_BMAP in cd9660::VOP_STRATEGY.
XXX mark some stuff which looks like further cut&paste junk.
2001-04-30 21:23:05 +00:00
Poul-Henning Kamp c1acc01996 Uncut&paste som bogus use of VOP_BMAP in hpfs::VOP_STRATEGY.
At the same time, eliminate uninitialized use of a vnode
pointer.  Interesting GCC didn't spot this.
2001-04-30 21:21:53 +00:00
Kenneth D. Merry 00e54d14f6 In camperiphscsisenseerror(), don't return an error when the error action
is SS_NOP.

Submitted by:	joerg
2001-04-30 21:02:57 +00:00
Matthew Dillon 1561f90e65 Remove a real FQDN host reference from the example
Add $FreeBSD tag
2001-04-30 20:19:22 +00:00
Nick Hibma d309bc7f71 Regen. 2001-04-30 17:38:57 +00:00
Nick Hibma eb9c76a9f0 Add 4300C Id
Submitted by:	Ernst de Haan <ernst@heinz.jollem.com>
2001-04-30 17:37:11 +00:00
Bruce A. Mah d190c3ce1b FreeBSD 3.0 is no longer in the future tense. Merge in some new
words from RELNOTESng to fix this.

PR:		docs/26794
Submitted by:	B.Candler@pobox.com
2001-04-30 16:13:58 +00:00
Kenneth D. Merry 6c3a3e1013 Fix an errant search and replace that broke SCSI start unit commands.
This should fix automatic spinups as well as 'camcontrol start'.
2001-04-30 16:07:38 +00:00
Bruce A. Mah 5cd86e36bd Fix typo: Descriptions of SK-9842 and SK-9843 (GigE NICs supported by
sk(4)) were reversed.

While I'm here, update list of cards supported by sk(4) to be consistent
with the manpage.

PR:		docs/21700
Submitted by:	neuf@lrs.e-technik.uni-erlangen.de
2001-04-30 16:06:46 +00:00
Bruce A. Mah 182f921d80 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
Jimmy Olgeni d07c5c0a7c MFS: Add sawfish and windowmaker (1.1.2.2 -> 1.1.2.3)
They are required by sysinstall's XFree86 desktop configuration menu.
2001-04-30 15:59:53 +00:00
Jimmy Olgeni f83c06a2c2 Fix typo in comment: dependancies -> dependencies 2001-04-30 15:46:07 +00:00
Bruce A. Mah cdb54e9eb7 The pkg_version -c output will now call for a "make clean" before and
after the port build/install.  The former cleans up "dirty" port work
directories that happen to be lying around, and the latter cleans up
after we're done so that they won't trip up someone else.

PR:		ports/25106
Submitted by:	tim@bishnet.net, nik, mwm@mired.org
2001-04-30 15:35:43 +00:00
Bruce Evans 438abdb9c6 Backed out previous commit. It cause massive filesystem corruption,
not to mention a compile-time warning about the critical function
becoming unused, by replacing spec_bmap() with vop_stdbmap().

ntfs seems to have the same bug.

The factor for converting specfs block numbers to physical block
numbers is 1, but vop_stdbmap() uses the bogus factor
btodb(ap->a_vp->v_mount->mnt_stat.f_iosize), which is 16 for ffs with
the default block size of 8K.  This factor is bogus even for vop_stdbmap()
-- the correct factor is related to the filesystem blocksize which is not
necessarily the same to the optimal i/o size.  vop_stdbmap() was apparently
cloned from nfs where these sizes happen to be the same.

There may also be a problem with a_vp->v_mount being null.  spec_bmap()
still checks for this, but I think the checks in specfs are dead code
which used to support block devices.
2001-04-30 14:35:35 +00:00