Commit Graph

18913 Commits

Author SHA1 Message Date
John Polstra
18be4a71df Use xmalloc instead of malloc in two places, so that out-of-memory
conditions will be detected.

Submitted by:	Philippe Charnier <charnier@xp11.frmug.org>
1997-01-24 00:07:03 +00:00
Stefan Eßer
a67fa10338 Make IRQ 0 invalid in pci_map_int(), since it is hardwired to the
programmable interval timer chip in PC systems.
1997-01-23 22:58:03 +00:00
Søren Schmidt
0d3f983ad2 Add save/restore cursor as pr SCO screen(HW) manpage.
Fix ESC[2J to not move cursor home
Clear mouse cutmarking on more cases.
Minor changes by me.

Submitted by:	ache
1997-01-23 20:00:45 +00:00
Garrett Wollman
6a4c899092 Put newlines after log messages.
Submitted by:	seki@sysrap.cs.fujitsu.co.jp PR#2563 (but the patch didn't
		apply)
1997-01-23 16:17:09 +00:00
Masafumi Max NAKANE
427910f0e2 Fix typo in instruction message. 1997-01-23 09:02:49 +00:00
KATO Takenori
30fcb6026c Synchronize with sys/i386/i386/trap.c revision 1.86. 1997-01-23 08:39:59 +00:00
David E. O'Brien
8d1db4e2bb Adaptec AHA-1535 works fine with FBSD. It is basicly an ROM-less, PIO
Plug-n-Pray verison of the the AHA-1540.
1997-01-23 07:44:57 +00:00
David E. O'Brien
2663983f01 Adaptex 1535 and 2980U are supported. 1997-01-23 07:36:04 +00:00
David E. O'Brien
e9ce3d82e4 Adds slice_type_name() which extends chunk_n[] for subtype's too.
Curorary review by:	phk
1997-01-23 06:29:01 +00:00
Masafumi Max NAKANE
54ddcf4fa1 When calling recover() from getarg(), also check to see if the first
character of the argument being processed isn't '\0'.

This fixes problem with backgammon exiting abnormally when you answer 'y' to
the question it asks if you need instruction for the game.

2.2 cnadidate, maybe?
1997-01-23 04:41:01 +00:00
Masafumi Max NAKANE
628c949a71 Merge 1.199 -> 1.201 changes. 1997-01-23 04:26:34 +00:00
Masafumi Max NAKANE
30f326d22f Merge 1.52->1.55 changes. 1997-01-23 04:19:03 +00:00
Masafumi Max NAKANE
8a7bb5c435 Make this list in alphabetical order again.
Added a comment at the top to remind committers keep this list in
alphabetical order.
1997-01-23 04:14:55 +00:00
John Dyson
7e64cb7a96 Remove some dead code from trapwrite.
Submitted by:	Stephen McKay <syssgm@devetir.qld.gov.au>
1997-01-23 01:30:59 +00:00
Jordan K. Hubbard
b9ee2adda6 Note that Adaptec 1505 is also supported.
Pointed-Out-By: Doug White and Danie Van Heerden
1997-01-22 20:29:41 +00:00
Jordan K. Hubbard
3619bac7dd Add Kazutaka YOKOTA to committers list. 1997-01-22 19:23:59 +00:00
Jordan K. Hubbard
d87e2a2cc5 Don't dereference NULL pwd on non-existant username (I wonder how long
THAT has been in here!).
1997-01-22 18:36:27 +00:00
Justin T. Gibbs
5ea6dc36ff Be smarter about enabling memory mapped I/O. The AHC_ALLOW_MEMIO option
should not be required anymore.

Turn on ULTRA for cards that don't have a BIOS or SEEPROM.
1997-01-22 18:07:15 +00:00
Justin T. Gibbs
71318ca3ea Remove some unnecessary overhead in the command complete processing. It
should be nearly impossible to overflow the QOUTFIFO (worst case 9 command
have to complete with at least 6 of them requiring paging on an aic7850),
so don't take the additional PIO hit to guard against this condition.  If we
don't see our interrupt in time, the system has bigger problems elsewhere.
If this ever does happen, the timeout handler will notice and retry the
command.

Remove the ABORT_TAG sequencer interrupt handler.  This condition can't happen
with the new SCB paging scheme.

Fix a few bugs noticed by Dan Eischen <deischen@iworks.InterWorks.org>
that could prevent ULTRA from being negotiated to drives above ID 7 and
also could allow an SCB to be passed to ahc_done twice during error recovery.

Fix a bug notice by Rory Bolt <rory@atBackup.com>.  It turns out that a
sequencer reset will actually start the sequencer running regardless of the
state of the pause bit.  This could lead to strange problems with loading
the sequencer.
1997-01-22 18:05:31 +00:00
Justin T. Gibbs
6d14c339f6 Clear the SCSI channel after we go to busfree instead of after re/selection.
Only enable reselections once the channel and SCSIRATE have been cleared.

Add a pause block around the test busy code in the non-tagged case to simplify
error recovery in the corner case of aborting an SCB that just got started.

Simplify reselection processing by removing the call to initialize_scsiid.

Clear the scsiseq re/select control bits and setup for catching bogus
busfrees earlier in the re/select process.

Improve the automatic PIO code.  It turns out that SPIORDY is not a reliable
hardware condition bit, so use REQINIT intstead.  Don't rely on PHASEMIS
either since it can take too long to come true.  Use a brute force comparison
instead.

Remove some unnecessary overhead in the command complete processing.  It
should be nearly impossible to overflow the QOUTFIFO (worst case 9 command
have to complete with at least 6 of them requiring paging on an aic7850),
so don't take the additional PIO hit to guard against this condition.  If we
don't see our interrupt in time, the system has bigger problems elsewhere.
If this ever does happen, the timeout handler will notice and retry the
command.
1997-01-22 18:01:07 +00:00
Jordan K. Hubbard
f445a0ba55 Add Darren Reed and Tor Egge to developers list. 1997-01-22 14:34:30 +00:00
Adam David
4f3cac8f23 typo 1997-01-22 12:38:40 +00:00
John Dyson
8130eff80a Fix I386 copyout support. The new page-table management code will
not lazy-fault page table pages.  Update the copyout support to take
that into account.  This should fix some segfault problems on such
machines.

After a short test period, we'll move this into 2.2.

Submitted by:	Stephen McKay <syssgm@devetir.qld.gov.au>
1997-01-22 06:15:27 +00:00
David Nugent
07e23a12b8 Made more reasonable as a set of defaults. Remove cruft, fix a couple
of errors and eliminate cap_mkdb errors. Closes PR misc/2551.
1997-01-22 03:33:55 +00:00
David Nugent
5217f56ec6 Fix handling of empty shell field in passwd file (use /bin/sh); problem
was caused by introduction of login classes. Closes PR bin/2550.
Added references to login.conf to manpage, crossreference to login.conf(5).
1997-01-22 02:45:16 +00:00
David Nugent
e82d554503 Style police. 1997-01-22 02:07:55 +00:00
John Dyson
fed9a9032e Fix two problems where a NULL object is dereferenced. One problem
was in the VM_INHERIT_SHARE case of vmspace_fork, and also in vm_map_madvise.
Submitted by:	Alan Cox <alc@cs.rice.edu>
1997-01-22 01:34:48 +00:00
Jordan K. Hubbard
7e698f84f0 *groan*. I broke tape extraction with the same optimization.
Fix that too.
1997-01-22 00:27:22 +00:00
Jordan K. Hubbard
898f607a63 Argh! Moving the media initialization to before the disk scribbling
section was a good thing, since it made it possible to detect media problems
*before* the installation started, but it also caused various things to
be mounted BEFORE the chroot() call, which definitely messes things up.

Fix this by detecting the pre-chroot() case and mounting into a subdir.
1997-01-22 00:15:51 +00:00
Stefan Eßer
99867152a5 Add PCI LKM support:
The new function pci_register_lkm (struct pci_device *dvp) appends the
driver to the list of known PCI drivers, and initiates a PCI bus rescan.
1997-01-21 23:41:42 +00:00
Stefan Eßer
b755685be8 Add PCI LKM support:New -a option checks whether a driver has been assigned to a device. 1997-01-21 23:29:15 +00:00
Stefan Eßer
993dec9d58 Add PCI LKM support. 1997-01-21 23:23:40 +00:00
Garrett Wollman
a5969f5ffc Print out the new uninteresting-multicast-packets statistic. 1997-01-21 21:08:57 +00:00
Garrett Wollman
82c39223b9 Count multicast packets received for groups of which we are not
a member separately from generic ``can't forward'' packets.  This
would have helped me find the previous bug much faster.
1997-01-21 21:08:09 +00:00
Adam David
3cf6d2e792 -n was broken
2.2 candidate (probably)
1997-01-21 21:07:29 +00:00
Jordan K. Hubbard
b5b673ff99 Only send QUIT if the last operation didn't time out (otherwise you're
just going to hang forever on the close).
1997-01-21 20:37:59 +00:00
Garrett Wollman
93e808cd76 Who had the conical hat? Correct a typo, hidden by a bad cast,
which prevented IP multicast reception from happening.
1997-01-21 19:44:46 +00:00
Jordan K. Hubbard
211253fcfd Remove incorrect use of double-negative since it means the same thing
to make but perhaps not to the human reading it.
1997-01-21 18:16:02 +00:00
David Nugent
1273ebf576 Copy process resource settings before modifying.
Candidate for 2.2.
1997-01-21 16:37:01 +00:00
David Nugent
0a98733422 Activate limits(1). 1997-01-21 15:09:03 +00:00
David Nugent
c03293e593 limits(1): set and display process resources. 1997-01-21 15:05:15 +00:00
Jordan K. Hubbard
5342201a6d Add uudecode to lib-tools so that the -p option is available for
the later build in lib/compat/* for those systems upgrading from source.

Pointed-Out-By: John Hay <jhay@zibbi.mikom.csir.co.za>
1997-01-21 13:12:10 +00:00
Jordan K. Hubbard
202b8e214b Add ckdist. 1997-01-21 12:59:34 +00:00
Jordan K. Hubbard
dcf118f17c ckdist - a handy utility for verifying the sanity of a distribution.
This will probably need to go away again someday when distributions get
folded into packages and there are no more dist files to check, but knowing
how long we've been waiting on THAT, this will be a welcome tool for the
interim.
Submitted by:	Robert Nordier <rnordier@iafrica.com>
1997-01-21 12:58:53 +00:00
Jordan K. Hubbard
73b50e0416 Clean up some of the tortured english in this file. 1997-01-21 12:36:01 +00:00
Jordan K. Hubbard
6fb16f982c Add missing entries for de.4, fxp.4, ix.4, le.4, lnc.4, ze.4, and zp.4.
Now things build again.

Forgotten Again By:     David E. O'Brien	:-)
1997-01-21 12:25:06 +00:00
Jordan K. Hubbard
c9af0102c6 Make some of the less necessary user feedback #ifdef VERBOSE.
We could also make this stuff only come out when getpid() != 1
and thus avoid the install case (where it really is just too verbose,
and people have complained), but this seems less messy and no one
complained when tzsetup didn't print the final "things went fine!"
messages (which sort of contravene the UNIX spirit of only yelling
when you need to anyway).
1997-01-21 10:53:38 +00:00
Mike Smith
b878522622 Add KernelDriver. 1997-01-21 08:36:11 +00:00
Mike Smith
0d812f1bb1 This is KernelDriver, a tool for automating the addition of
third-party device-driver source to the FreeBSD kernel (at versions
2.2 and later).  It can list and remove drivers it's added too.

It can (should) be included by device-driver authors in their driver
distributions, but is perhaps a little too specific to warrant a place
in the mainstream distribution.
1997-01-21 08:34:14 +00:00
KATO Takenori
2ffc5777b7 Synchronize with sys/i386/isa/syscons.c revision 1.198. 1997-01-21 07:11:14 +00:00