Commit Graph

34113 Commits

Author SHA1 Message Date
wpaul
7df6e39137 The VIA Rhine appears to be yet another chip that always includes the
ethernet CRC in received frames and has no option to turn this behavior
off. Trim the CRC off manually in vr_rxeof().
1998-12-24 18:03:17 +00:00
wpaul
8ae85ca5c5 Fix a small bug in xl_start(): when queuing a packet onto the end of
an existing chain, don't forget to move xl_tx_tail to point to the new
tail end.
1998-12-24 17:50:34 +00:00
bde
32fe797f87 Flush the fifos at the correct place in cyopen(). Various things
in cyopen() were done in a different order than in sioopen(), partly
to (ab)use a side effect of comparam() and partly because I didn't
understand what the reset was doing (it flushes the fifos).  This
turned out to be more than a cosmetic problem.  Flushing the fifos
quite late is good for discarding input that arrived while the line
state was being initialized, and in the cy driver it also seems to
reduce a problem with input that arrived long ago during the previous
close (the UART loses sync too easily and for too long).
1998-12-24 14:17:57 +00:00
dfr
e5d81e36f0 Disable building with alpha software completion options until we upgrade
compilers.
1998-12-24 13:17:58 +00:00
bde
32b09559af Restored rev.1.31 which was clobbered by rev.1.69 (the big Lite2
merge).  This fixes at least hanging in revoke(2) when a somewhat
active slave pty is revoked.  The hang made the window for the
null pointer bug in ufsspec_{read,write} much larger.

There are many other bugs in this area (revoke of an active fifo
at best leaks memory...).
1998-12-24 12:07:16 +00:00
bde
409f62601d Fixed null pointer panics which I introduced in rev.1.86. Vnodes
may be revoked, so vnop routines must be careful about accessing
the vnode if they may have blocked.

Fixed marking for update after successfully reading or writing 0
bytes.  In this case, POSIX.1 specifies marking if and only if the
requested count is nonzero, but rev.1.86 never marked.
1998-12-24 09:45:10 +00:00
jkh
33b658b5ad Turn off NODOC again; apparently this problem was fixed. 1998-12-24 08:55:05 +00:00
foxfair
faf96076a5 Correct the wrong PCI-IDE probing on AcerLabs Aladdin-V chipset. It won't
change the original code but add an extra option "ALI_V" to check the
precise IDE port.(especially, secondary) Use the same option "ALI_V" on
the kernel config file to prevent generic DMA check causes wrong result.
(It seems buggy even on PIIX4 chipset, and I don't know when this bug start)

Should I add the option "ALI_V" into /sys/i386/conf/LINT ?
1998-12-24 06:30:21 +00:00
mjacob
60be3bd66f Not quite right for the goal of using swi_register, but on the way there. 1998-12-24 06:05:48 +00:00
mjacob
6d70d0c5f7 a more correct change that should meet the sniff test 1998-12-24 06:01:15 +00:00
jkh
8de676be42 Turn NODOCS on for now. 1998-12-24 04:28:25 +00:00
mjacob
69d1505994 Unstaticize swi_camnet && swi_cambio so Alpha kernels can build again. 1998-12-24 02:43:41 +00:00
imp
f99a3591c8 Added new users/group that Matt Dillan added. While not strictly
necessary due to later changes to the tree, they may someday be
required.
1998-12-24 02:02:09 +00:00
obrien
bab33865ec Remove:
corelate
	corelated
	corelation
	corelative
	corelatively

My Random-House dictionary doesn't list them, and grog says (paraphrased):

	SOED only accepts 'corelate's, and it just notes corelate as an
	alternative (and obviously not exactly mainstream) spelling for
	correlate.

(yes these spellings tripped me)
1998-12-24 01:06:59 +00:00
mjacob
71d331197a you can retry SYNC CACHE on UA errors 1998-12-23 16:48:17 +00:00
foxfair
3483a036c0 Add Matrox Mystique 1064/1164SG chips info. By the datasheet from Matrox,
they use the same value in the VID register.

PR		kern/9137: Matrox Mystique chip name typo error
Submitted by:	Alex D. Chen <dhchen@Canvas.dorm7.nccu.edu.tw>
1998-12-23 14:28:37 +00:00
peter
52eedb3095 The largest PID is now 99999
Reported by: Ben Stuyts <ben@stuyts.nl>
1998-12-23 12:03:33 +00:00
dfr
0c8900b543 [This is a null commit to supply the correct log entry]
Rename 'cerror' to '.cerror' so that programs which have a function or
global variable named 'cerror' don't completely break the syscall error
reporting mechanism.
1998-12-23 11:55:42 +00:00
dfr
82f430f229 Implement fpsetmask() and other fp*() functions. Programs should use
#include <ieeefp.h>

to access these functions instead of the i386 specific

	#include <machine/floatingpoint.h>

Submitted by: Hidetoshi Shimokawa <simokawa@sat.t.u-tokyo.ac.jp>
1998-12-23 11:50:52 +00:00
msmith
58f76b01c5 Don't leave the CDROM tray locked if an attempt to mount it is made and
the drive is actually empty.

Submitted by:	Ben Smithurst <ben@scientia.demon.co.uk>
1998-12-23 09:07:40 +00:00
dillon
f56593b02d Add (commented out) directive and note regarding dumpfile location
when running in a sandbox.

Submitted by:	Ben Smithurst <ben@scientia.demon.co.uk>
1998-12-23 06:06:13 +00:00
dillon
6fc42de7e4 Update comments to routines in vm_page.c, most especially whether a
routine can block or not as part of a general effort to carefully
    document blocking/non-blocking calls in the kernel.
1998-12-23 01:52:47 +00:00
dillon
456492d180 M_AWAIT changed to M_ASLEEP 1998-12-23 01:06:57 +00:00
dillon
d3f16421ed Documentation update for new M_AWAIT flag to kernel malloc, plus revamp
the descriptions of the flags and return value.
1998-12-23 01:05:06 +00:00
dillon
ff217540cb update asleep/await sections 1998-12-23 00:24:59 +00:00
imp
0fe14c5c5c Invalid is spelled with the v *BEFORE* the a. 1998-12-22 22:31:06 +00:00
abial
d12f60a467 Fix typo.
Submitted by:	Ilya V. Komarov <mur@lynx.ru>
1998-12-22 21:40:56 +00:00
luigi
1bd6e809b6 Add entries for DUMMYNET and BRIDGE 1998-12-22 20:44:13 +00:00
luigi
84c0ad49af 'ip_fw_head' and 'M_IPFW' are also used in ip_dummynet so cannot be
static...
Reported by: Dave Alden
1998-12-22 20:38:06 +00:00
eivind
633fa01de7 Error check is not necessary - this function cannot fail in this
context.

Noted by:	gibbs
1998-12-22 20:21:12 +00:00
eivind
fa5c939def Staticize.
Reviewed by:	gibbs
1998-12-22 20:05:23 +00:00
dillon
4d4cb3cff6 Add manual page describing kernel buffer management system (i.e.
kern/vfs_bio.c).
1998-12-22 19:47:48 +00:00
dillon
45ce27313c Grammer / Consistancy update
Submitted by:	Eivind Eklund <eivind@yes.no>
1998-12-22 19:02:51 +00:00
dillon
bab4372f0d Adjust some comments to prevent future confusion on the implementation.
Also add a reference to the buf(9) manual page.
1998-12-22 18:57:30 +00:00
gibbs
b02ac91ee3 Don't calculate the residual twice. 1998-12-22 18:14:50 +00:00
gibbs
7f4f6c9191 Staticize the overrun buffer so that they are not shared between
cards of different bus types as each bus type may have a different
bus mapping.

Submitted by:	Eivind Eklund <eivind@yes.no>
1998-12-22 18:14:15 +00:00
gibbs
5192d58aac Return NULL on resource shortage instead of blindly continuing.
Obtained from: Eivind Eklund <eivind@yes.no>
1998-12-22 18:12:09 +00:00
mjacob
beb823974f Print out latched cdb's correlated to latched errors in MTIOCERRSTAT case.
Complete the addition of the setmark support
(from Martin.Birgmeier@aon.at).
1998-12-22 17:28:25 +00:00
mjacob
458fa2d5eb Add a quirk NORRLS (no reserve/release) which can (and
will) get set for the devices that don't actually support
reserve/release (so we don't keep trying it).

Add softc storage and manage storing last I/O and CTL
commands that had errors (for correlative purposes).

In saclose clear the 'MOUNTED' bit if we either rewind or
unload (yes, this shouldn't be necessary since the next open
should catch whether a tape change occurred, but I'm having
some questions about that actually working so this is
safer for the moment). Oh, forgot to mention in previous
commit messages that some of the failures particularly at
close time cause the tape to be ejected (for the sake
of safety)- all this prior to redoing the state machine
(which is in progress) which will try and handle this better.

Complete the addition of the setmark support
(from Martin.Birgmeier@aon.at).
1998-12-22 17:26:13 +00:00
mjacob
9e2afc0915 add command storage to correlate with latched error 1998-12-22 17:17:17 +00:00
luoqi
cc870068fe Correctly handle misaligned VMIO buffer (whose start or end offset in the VM
object are not page aligned). This should fix the mount_msdos panic after a
failed attemp to mount as ffs.

Reviewed By:	Matthew Dillon	<dillon@apollo.backplane.com>
		Archie Cobbs	<archie@whistle.com>
		Dmitrij Tejblum <dima@tejblum.dnttm.rssi.ru>
1998-12-22 14:43:58 +00:00
jkh
93a9c24b7a Add /usr/share/examples/bootforth so that world builds don't start falling
over.

Forgotten by:	abial :-)
1998-12-22 12:33:32 +00:00
jkh
fbc1e2100e Collapse the "get" code substantially by combining common functions.
Also make mountpoint for each media type easier to change.
Also reshuffled some menus for easier usage.
1998-12-22 12:31:26 +00:00
abial
4cc446fb2d Add examples how to use the terminal emulation code in /boot/loader to
create nice startup menus. Improvements are warmly welcome. :-)
1998-12-22 12:15:45 +00:00
jkh
e8b8dac2ac User reports that using mount_null destroyed his filesystem, I reply
that nullfs really doesn't work, he askes why this isn't noted for the
"dangerous" filesystems, I go "hmmm."
1998-12-22 11:52:10 +00:00
abial
8c46b00bf5 Add simple terminal emulator, compatible with cons25. Currently supported
capabilities are: AF, AB, cm, ho, me, cd. The code is hidden behind
-DTERM_EMU - should it cause any problems, you can remove this define
to get back the old behaviour.

You'll find some examples how to use it in src/share/examples/bootforth.

Reviewed by:	jkh
1998-12-22 11:51:25 +00:00
abial
73c1ba9ace Add new word ".#" which acts like "." but doesn't output a space separator.
I found it impossible to output parametrized strings like "\033[%d;%dH"
without building them first in pad area.
1998-12-22 11:46:27 +00:00
abial
32b47360c7 * Begin integration of built-ins with Forth: leave the exit code from
a built-in command on Forth stack.
* Fix a bug which was causing a panic when loading stripped aout kernels.

Reviewed by:	jkh
1998-12-22 11:41:51 +00:00
joerg
8a502b2095 For whatever reason, i've thrown away this change yesterday instead of
committing it: include rdp.4.

Pointed out by:	bde
1998-12-22 09:36:29 +00:00
sos
51bfe4e17c The result of running make linux_sysent.c on the new syscalls.master 1998-12-22 09:00:47 +00:00