Commit Graph

34084 Commits

Author SHA1 Message Date
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
sos
3a1d8992ad Fix NOIMPL -> NOPROTO as per bruce. 1998-12-22 08:59:19 +00:00
eivind
67f47c87c4 Better error checking and more complete struct initialization.
Reviewed by:	Simon Shapiro <shimon@simon-shapiro.org>
1998-12-22 00:52:27 +00:00
eivind
bfa99712d7 Check return value of tsleep(). I've checked of all call points -
there does not seem to be a problem with this.

PR:		kern/8732
Analysis by:	David G Andersen <danderse@cs.utah.edu>
Tested by:	Alfred Perlstein <bright@hotjobs.com>
1998-12-22 00:44:11 +00:00
eivind
44aed9007b Staticize. 1998-12-21 23:38:33 +00:00
luigi
443facc34d Recover from previous dummynet screwup 1998-12-21 22:40:54 +00:00
luigi
08924154da Add manpages for dummynet and bridging 1998-12-21 22:37:53 +00:00
mjacob
108a3c4469 Add in forward space/backward space/write SetMarks commands.
Obtained from:Martin.Birgmeier@aon.at
1998-12-21 22:14:02 +00:00
luigi
f1931f9580 Restore 1.82->1.83 change deleted by mistake< per Bruce suggestion 1998-12-21 21:36:40 +00:00
des
9e4bcea4f3 Implement and document file list retrieval. 1998-12-21 19:41:50 +00:00
sos
eba851f3ac The result of running make linux_sysent.c on the new syscall.master file 1998-12-21 19:31:57 +00:00
sos
585733c155 Syscall 168 (poll) is not implemented in the Linux emulator. This
syscall is used by Oracle.

PR:		9154
Submitted by:	Marcel Moolenaar <marcel@scc.nl>
1998-12-21 19:28:13 +00:00
sos
d8249acd2b Kill(pid, 0) normally returns 0 on both FreeBSD and Redhat after having
performed all sorts of sanity checks. The FreeBSD linux emulator returns
EINVAL in such a case.
Allowing signal 0 to be passed to kill will result in compatible behaviour.

PR:	9082
Submitted by:	Marcel Moolenaar <marcel@scc.nl>
1998-12-21 19:21:36 +00:00
joerg
5ebeb0cfee As promised, cleanup the #if __FreeBSD_version mess. 1998-12-21 18:11:10 +00:00
joerg
4722181010 Include information about rdp(4). 1998-12-21 18:07:16 +00:00
joerg
8517fc7ee7 Include rdp(4).
Should i also include it into GENERIC?
1998-12-21 18:04:20 +00:00
joerg
4c9f1929fe This commit was generated by cvs2svn to compensate for changes in r41980,
which included commits to RCS files with non-trunk default branches.
1998-12-21 18:01:15 +00:00
joerg
749703c29e This is my first cut on a driver for the RealTek RTL 8002 pocket
ethernet driver.

The BUGS section is still impressive, but the driver seems to work for
me now.  Disclaimer: i haven't been able to test this under -current
so far (but it compiles, and the notebook it's intended for can now be
updated to -current more easy than before).  Don't be afraid of the
many #ifdefs on __FreeBSD_version in the imported file; i want them in
the repository on the vendor-branch so other people can also manually
integrate it into older systems.  I'll clean it up on the -current
branch in a followup commit.  The vendor-banch version right now
supports systems back to 2.2R.

This driver should be layered upon ppc(4), but i currently have no
idea how to do this.

Eventually i'll further develop the driver to also support the more
modern RTL 8012 success, which seems to be present in a number of
cheap pocket ethernet adapters these days.  Right now, i doubt it will
run with the 8012 without any changes.

Finally a big Thanks! to RealTek for promptly providing me with
documentation and with the source code for the 8012 pocket driver upon
request.  I wish all vendors were that cooperative!.
1998-12-21 18:01:15 +00:00
jkh
96e1e986e6 Just fetch distfiles from a single location. The change to textproc/docproj
broke my fetch heuristic anyway.
1998-12-21 17:34:33 +00:00
dillon
8c45e3c71e update HISTORY section 1998-12-21 10:34:53 +00:00
dillon
91f3d1981d Add manual page for experimental kernel asleep() and await() routines 1998-12-21 10:29:28 +00:00
msmith
1e11204e3e Regrettably, you can't take setdef0.c out of order, or, surprise,
linker sets don't work and thus neither does the kernel.

This should stop being a problem with an improved linker set mechanism in
the pipeline (see the bootloader) but for now this has to stay like this.
1998-12-21 10:29:09 +00:00
kato
4bab5e37a9 Sync with sys/i386/conf/options.i386 revision 1.96. 1998-12-21 09:58:37 +00:00
kato
7a16f6ab9a Sync with sys/i386/conf/Makefile.i386 revision 1.131. 1998-12-21 09:57:42 +00:00
dillon
ba76e4bb3f Elf (and a.out?) rebuild of bootstrap tools appeared to be broken due to
some tools requiring header files, such as errno.h, that are softlinks.
    The mini installation of include files in Makefile.inc1 wasn't doing
    the job, so it has been ripped out and replaced with a true make of the
    /usr/src/include/ directory (make all and make beforeinstall).  I think
    the original idea was to save time by not installing unnecessary header
    files, but it doesn't really save all that much time.

    Also, I have moved a NOCLEAN conditional to cover rebuilding the object
    tree 'Rebuilding the ${OBJFORMAT} obj tree' section.  This may or may not
    be correct but it appears to function properly.  If it is not correct we
    need to find another way to avoid scanning every single file in the
    entire source hierarchy for make restarts.
1998-12-21 09:41:26 +00:00
msmith
fae9038aff Check for DMA capbility is against unit,not controller.
Submitted by:	Lee Cremeans <lee@st-lcremean.tidalwave.net>
1998-12-21 08:55:56 +00:00
dillon
a9ec2a512c Add asleep() and await() support. Currently highly experimental. A
small support structure had to be added to the proc structure, and
    a few minor conditional panics no longer apply.
1998-12-21 07:41:51 +00:00
msmith
ece733bdb6 Flush the output file before exiting; short-lived programs don't even fill
the stdio buffer.
1998-12-21 06:34:50 +00:00
jkoshy
90d34d690f Clarify that "/usr/share" is used for architecture independent files
and need not be restricted to ASCII text files.

PR:		docs/9124
Submitted by:	Mattias Pantzare <pantzer@ludd.luth.se>
1998-12-21 05:57:57 +00:00
mjacob
a39c477c2b Bad Dog! No Biscuit! *Never* commit without testing- even if it was
"just a printf formatting change"....
1998-12-20 20:32:34 +00:00