Commit Graph

13252 Commits

Author SHA1 Message Date
luigi
3711d7ec1d Remove one unused variable. 1998-12-31 07:52:49 +00:00
luigi
09f08ede8d Partial fix for when ipfw is used with bridging. Bridged packets
have all fields in network order, whereas ipfw expects some to be
in host order. This resulted in some incorrect matching, e.g. some
packets being identified as fragments, or bandwidth not being
correctly enforced.
NOTE: this only affects bridge+ipfw, normal ipfw usage was already
correct).

Reported-By: Dave Alden and others.
1998-12-31 07:43:29 +00:00
luigi
d3efa9889b Remove some unused variables. 1998-12-31 07:35:49 +00:00
luigi
84df373829 Extend the callback mechanism and add hooks to support PCI cards.
Remove a few unused variables.
1998-12-31 07:34:01 +00:00
luigi
7f0ec02562 Update documentation on cards and config 1998-12-31 07:28:24 +00:00
kato
406890324e Add SMC EtherEZ98 support(PC-98).
Slim up of if_ed98.h.

Submitted by:	Chiharu Shibata <chi@bd.mbn.or.jp>
1998-12-31 03:23:39 +00:00
kato
0539734ce1 Another(better) way to support Access/NOTE N98(PC-98) without any effects
for other Access/PC series.

Submitted by:	Chiharu Shibata <chi@bd.mbn.or.jp>
1998-12-31 03:21:14 +00:00
sos
241d58f7a2 Commit patch in
PR: 9232
Submitted by:	marcel@scc.nl <Marcel Moolenaar>
1998-12-30 21:20:00 +00:00
sos
9023a71340 Commit #2 of
PR: 9235
Submitted by:	marcel@scc.nl <Marcel Moolenaar>
1998-12-30 21:01:34 +00:00
sos
d2eceef518 Commit #1 of:
PR: 9235
1998-12-30 20:58:28 +00:00
bde
c7d4679276 Backed out previous commit. It depends on a.out utilities and libraries
somehow being available even on pure elf systems.
1998-12-30 12:06:08 +00:00
yokota
5a32103859 Make the VESA KLD module work! 1998-12-30 11:21:08 +00:00
bde
ddd867ad2c Always build ${MACHINE}/boot if it exists. Makefiles shouldn't know
about deficiencies in subdirs.
1998-12-30 11:17:09 +00:00
bde
ac17bd0978 Enforce building with -aout, since building with OBJFORMAT=elf doesn't
work.

Rely on ../Makefile.inc to set the the default for BINDIR.
1998-12-30 10:55:50 +00:00
bde
f0d9a217f5 Rely on ../Makefile.inc to set the object format in CFLAGS and the
default for BINDIR.

Fixed some style bugs in previous aout enforcement.
1998-12-30 10:48:09 +00:00
dfr
9aad9d912f Various changes to support OSF1 emulation:
* Move the user stack from VM_MAXUSER_ADDRESS to a place below the 32bit
  boundary (needed to support 32bit OSF programs).  This should also save
  one pagetable per process.
* Add cvtqlsv to the set of instructions handled by the floating point
  software completion code.
* Disable all floating point exceptions by default.
* A minor change to execve to allow the OSF1 image activator to support
  dynamic loading.
1998-12-30 10:38:59 +00:00
bde
14201fe4fa Enforce building with -aout, since building with OBJFORMAT=elf doesn't
work.
1998-12-30 10:37:45 +00:00
bde
b16cf02538 Enforce building with -aout, since building with OBJFORMAT=elf doesn't
work.

Rely on ../Makefile.inc to set the the default for BINDIR.

Removed comments about installing links to bootxx and xxboot.
1998-12-30 10:34:48 +00:00
bde
e3edc91874 Rely on ../Makefile.inc to set the default for BINDIR. 1998-12-30 10:26:18 +00:00
bde
8bdaca54d8 Rely on ../Makefile.inc to set the object format in CFLAGS and the
default for BINDIR.  The default BINDIR of /usr/mdec can't be overridden
yet because libdisk still uses /usr/mdec and installing in /boot might
clobber the new boot blocks.

Don't install links to bootxx or xxboot.

Install boot1 and boot2 in 1 step.

Don't delete the boot.help source file on installing it when ${COPY} is
null.
1998-12-30 10:21:37 +00:00
bde
7b1084f205 Add -aout to CFLAGS centrally.
Set the default for BINDIR (to /usr/mdec) centrally.
1998-12-30 10:05:56 +00:00
phk
2d063a5d4b We don't specify "vector mumble" anymore
Submitted by:	Boris Staeblow <balu@dva.in-berlin.de>
1998-12-30 09:43:36 +00:00
kato
73edf934d9 Sync with sys/i386/isa/sio.c revision 1.220. 1998-12-30 08:09:11 +00:00
kato
c3a2261141 Sync with sys/i386/isa/pcaudio.c revision 1.45. 1998-12-30 08:08:05 +00:00
kato
680fa5ad1c Sync with sys/i386/isa/fd.c revision 1.130. 1998-12-30 08:06:41 +00:00
kato
4c4ee41967 Sync with sys/i386/conf/options.i386 revision up to 1.100. 1998-12-30 08:03:03 +00:00
kato
639d70a550 Sync with sys/i386/conf/majors.i386 revision up to 1.58. 1998-12-30 07:58:42 +00:00
kato
e493a0b9a6 Sync with sys/i386/conf/files.i386 revision up to 1.215. 1998-12-30 07:57:00 +00:00
kato
6d55bedc90 Sync with sys/i386/conf/devices.i386 revision 1.15. 1998-12-30 07:51:20 +00:00
kato
0ae4e727cd SMP stuff has been merged into GENERIC98 file. 1998-12-30 07:49:47 +00:00
kato
e052ca1174 Removed GENERICupgrade file. 1998-12-30 07:47:53 +00:00
kato
487e64c4eb Sync with sys/i386/conf/GENERIC revision up to 1.140. 1998-12-30 07:46:23 +00:00
hoek
5e720f3594 Silence -Wtrigraph.
Submitted by:	Bradley Dunn <bradley@dunn.org>  (pr: kern/8817)
1998-12-30 00:37:44 +00:00
dt
065be55870 Don't free swap in swap_pager_getpages(): this code probably cause the
"dying daemons" problem. (I thought this code was introduced in rev.1.80,
but it just relaxed the condition.)

Also, kill related "suggest more swap space" warning (also introduced in
1.80). It was confusing, to say the least...

Requested by:		msmith
Not objected by:	dg
1998-12-29 22:53:51 +00:00
wpaul
9cf4a5a2e1 Fix the tl_start() routine; sometimes the tl_tx_tail pointer was not
being updated correctly.
1998-12-29 15:39:35 +00:00
phk
306cc42355 follow up to:
Pre 3.0 branch cleanup casualty #1: DSI_SOFT_MODEM support.
1998-12-29 13:06:54 +00:00
peter
54ee4a85e9 Add -I${.CURDIR} since it #includes logo.c from the source dir and breaks
when building with an obj dir.

Reported by:	Quite a few people.. :-/
1998-12-29 09:02:44 +00:00
gpalmer
30483bef64 Add fxp0. It seems to be Alpha-OK, although I don't have a card to test. 1998-12-29 03:59:49 +00:00
mjacob
569e4e2739 reserve 110 for ses (SCSI Environmental Services) driver 1998-12-29 00:13:37 +00:00
jkh
bc52e6f85d Reserve cdev 110 for SCSI Environmental Services driver
Requested by:	mjacob
1998-12-29 00:04:48 +00:00
msmith
981941d406 Improved DDB_UNATTENDED behaviour. From the submitter:
There's something that's been bugging me for a while, so I decided to fix it.
FreeBSD now will DTRT WRT DDB and DDB_UNATTENDED (!debugger_on_panic), at least
in my opinion. The behavior change is such that:

	1. Nothing changes when debugger_on_panic != 0.
	2. When DDB_UNATTENDED (!debugger_on_panic), if a panic occurs, the
		machine will reboot. Also, if a trap occurs, the machine will
		panic and reboot, unlike how it broke to DDB before. HOWEVER,
		a trap inside DDB will not cause a panic, allowing full use
		of DDB without having to worry about the machine being stuck
		at a DDB prompt if something goes wrong during the day.
		Patches for this behavior follow my signature, and it would
		be a boon to anyone (like me) who uses DDB_UNATTENDED, but
		actually wants the machine to panic on a trap (otherwise,
		what's the use, if the machine causes a fatal trap rather than
		a true panic, of debugger_on_panic?). The changes cause no
		adverse behavior, but do involve two symbols becoming global

Submitted by:	Brian Feldman <green@unixhelp.org>
1998-12-28 23:03:00 +00:00
mjacob
5c42627795 clarify headers;ansify 1998-12-28 19:24:23 +00:00
mjacob
13ecc0c78f clarify headers;move uninit to outer layer;remove watchdog 1998-12-28 19:22:27 +00:00
mjacob
24486a7674 Force ARCHIVE Vipers to be FIXED 1998-12-28 19:21:12 +00:00
nsouch
e6c7b35780 Rename smbtx to intsmb (IntelSMB interface), the future PIIX4 SMBus
interface driver.
1998-12-28 19:07:51 +00:00
peter
835f36ebcf Update for pseudo-device support tweaks.. 1998-12-28 16:43:21 +00:00
peter
f47909f0c7 Config glue for 'pseudo-device vinum' 1998-12-28 16:31:26 +00:00
peter
9a3d9ee577 Some relatively minor tweaks to enable vinum to be built into a static
kernel as a pseudo-device.  The changes were:
- #ifdef DEBUG -> #ifdef VINUMDEBUG
- opt_vinum.h for holding above config variable
- Fixing up a few stray problems where DEBUG wasn't optional.
- config.c -> vinumconfig.c (there's already a config.o)
- Other *.c -> vinum*.c (wasn't strictly necessary, but done in case we end
  up with something else conflicting later on and we might have to have yet
  more repository copies of files).
- include file paths fixups..  (ie: get them all from the kernel tree
  instead of partly from the kernel and partly from /usr/include/machine)

I've spoken with Greg about this..  I hope this doesn't mess him around
too much..
1998-12-28 16:28:24 +00:00
des
f1120f85a5 Activate the logo screensaver. 1998-12-28 14:23:43 +00:00
des
7578fd53e0 One more for the road: Chuck the friendly floating daemon. Requires
VESA_800x600 to run.
1998-12-28 14:22:57 +00:00
des
4fe2aa5f70 Save the palette in case syscons doesn't restore it properly.
Fix a minor overflow.
1998-12-28 14:20:13 +00:00
kato
790434fad1 CAM support.
Submitted by:	NOKUBI Hirotaka <hnokubi@yyy.or.jp> and
             	Takahashi Yoshihiro <nyan@wyvern.cc.kogakuin.ac.jp>
1998-12-28 12:46:55 +00:00
peter
85c18bc7e4 Reconnect vinum KLD module and have it build from sys/dev/vinum rather than
from outside the src/sys tree like before.
1998-12-28 05:27:24 +00:00
peter
952f5278a3 If I've done this right, revive the vinum code in it's now home after it
was savaged in the blood bath a few hours ago.
1998-12-28 04:56:24 +00:00
msmith
7d69874701 From the submitter:
CPU_WT_ALLOC does not work correctly for K6-2s of model 8+ and
probably K6-3s (when they appear on the market soon). In addition,
print_AMD_info() incorrectly printfs write allocation's size. I've
fixed them, so they now Do The Right Thing, and added a
"NO_MEMORY_HOLE" option to easily allow 15-16mb range handling for us
K6 and K6-2 users.

Submitted by:	Brian Feldman <green@unixhelp.org>
1998-12-27 23:23:26 +00:00
des
c3231064a7 Activate the warp screensaver. 1998-12-27 22:03:40 +00:00
des
3b7e907f02 Finally give FreeBSD a graphical screensaver. It isn't much, but it works,
and can serve as a template for further efforts. Consider this my (belated)
Christmas present to the Project :)

Requested by:	jkh
1998-12-27 22:03:09 +00:00
phk
c7ecc129d7 Initial entry of ISDN4BSD into the FreeBSD tree.
ISDN4BSD is the work of our brand-new comitter: Hellmuth Michaelis,
who has done a tremendous amount of work to bring us this far.

There are still some outstanding issues and files to bring into
the tree, and for now it will be needed to pick up all the extra
docs from the isdn4bsd release.

It is probably also a very good idea to subscribe to the isdn@freebsd.org
mailing list before you try this out.

These files correspond to release "beta Version 0.70.00 / December
1998" from Hellmuth.
1998-12-27 21:47:14 +00:00
phk
d47a7a8e1a Update sppp support to i4b level. This includes the new spppcontrol
program to set PPP options like authentication with.
1998-12-27 21:30:44 +00:00
sos
6c89567c1b Fix the move of the ulaw.h file.. 1998-12-27 20:09:31 +00:00
phk
93c598a249 followup to
Pre 3.0 branch cleanup casualty #4: pcvt
1998-12-27 19:51:34 +00:00
sos
c20c90c709 Temporaryly disable vinum, awaiting repository copy of misplaced files. 1998-12-27 19:43:28 +00:00
sos
0775b4a219 Remove LKM's depricated by modules. 1998-12-27 19:38:15 +00:00
sos
32fd2a83cb Remove depricated wcd module. 1998-12-27 19:01:47 +00:00
dfr
9238b8271d Fix some 64bit truncation problems which crept into SYSCTL_LONG() with the
last cleanup.  Since the oid_arg2 field of struct sysctl_oid is not wide
enough to hold a long, the SYSCTL_LONG() macro has been modified to only
support exporting long variables by pointer instead of by value.

Reviewed by: bde
1998-12-27 18:03:29 +00:00
sos
8214ce6ac3 Fix breakage by cleanup. 1998-12-27 17:12:02 +00:00
phk
9d6fbd1091 follow up to:
Pre 3.0 branch cleanup casualty #4: pcvt
1998-12-27 16:44:24 +00:00
sos
3ea5a3c11d Pre 3.0 branch cleanup sos#2: sound
Superceded by the snd driver...
1998-12-27 14:21:37 +00:00
sos
6e00996c05 Pre 3.0 branch cleanup sos#1: wcd
Superceded by acd driver...
1998-12-27 14:00:10 +00:00
sos
303c78f8b7 Pre 3.0 branch cleanup sos#1: wcd
Superceded by acd driver...
1998-12-27 13:55:48 +00:00
phk
6c6e9b3514 Pre 3.0 branch cleanup casualty #6: ft 1998-12-27 13:40:57 +00:00
phk
49535908df forgot to remote options here. 1998-12-27 13:36:44 +00:00
phk
068b4007cb Delete stale config. 1998-12-27 13:13:41 +00:00
phk
46e29b02ed Add commented out SMP stuff in GENERIC, remove stale configs. 1998-12-27 13:12:59 +00:00
phk
a20df15251 Pre 3.0 branch cleanup casualty #5: nca, sea, wds, uha
No CAM drivers available.  If somebody CAMifies one of these, they
will be welcome back in the tree
1998-12-27 13:06:44 +00:00
phk
eb15c87aad Pre 3.0 branch cleanup casualty #4: pcvt 1998-12-27 12:52:46 +00:00
phk
2225f39db3 Pre 3.0 branch cleanup casualty #3: 3c505 ethernet support 1998-12-27 12:44:57 +00:00
phk
77de2e7413 Pre 3.0 branch cleanup casualty #2: Transputer support 1998-12-27 12:40:07 +00:00
phk
ee35d57124 Pre 3.0 branch cleanup casualty #1: DSI_SOFT_MODEM support. 1998-12-27 12:35:48 +00:00
foxfair
a90947f54c Turn the VIA chipset ,<<IDE/USB>> controller probing off.
It might cause some problem and something like USB has its
own driver.
1998-12-27 07:59:25 +00:00
dfr
60ea4e55cb Tweak ptrace(PT_READ_U) so that the last alpha register can be read. 1998-12-26 17:14:37 +00:00
phk
824f31bd96 More isdn4bsd convergence: cleanup log messages. 1998-12-26 13:14:45 +00:00
phk
7b748a7ecc Converge further on the isdn4bsd version of this file. 1998-12-26 12:43:26 +00:00
phk
f6d05aad4c clean up more timeout/untimeout portability stuff.
make sure flags and stuff are set sensibly.
1998-12-26 12:14:31 +00:00
dfr
1cee4d444d Fix for creating files on a Solaris 7 server with NFSv3 (the request was
slightly garbled but older servers seemed to understand it).

Reviewed by: David O'Brien <obrien@nuxi.ucdavis.edu>
1998-12-25 10:34:27 +00:00
kato
2b62056e5e Sync with sys/i386/isa/wd.c revision 1.182. 1998-12-25 09:05:17 +00:00
kato
208dec27b4 Sync with sys/i386/conf/files.i386 revision 1.207. 1998-12-25 09:04:11 +00:00
kato
5218748c8b Sync with sys/i386/conf/Makefile.i386 revision 1.132. 1998-12-25 09:03:18 +00:00
julian
46bb1eee79 According to the author..
"I've been having a problem running the patches [committed to current]
installed with the COMPAT_LINUX_THREADS option along
with the VM_STACK patches I did.  I'm not sure what
the problem is, since it seemed to work before.

In any event, the attached patch fixes the problem for
me.  While I've had no report of problems from anyone
else, possibly it would be wise to commit the patch
until the problem is found.

Also, there was some left-over junk in the linux_misc.c
file from some earlier work I did.  The attached patch
cleans that up too."

Submitted by: "Richard Seaman, Jr." <dick@tar.com>
1998-12-24 21:21:20 +00:00
wpaul
7378825b0e One more time: another case where we need to trim the CRC manually. 1998-12-24 19:10:05 +00:00
wpaul
4959cd39d9 Grrrr... The RealTek 8139 is yet another chip that includes the ethernet
CRC in received frames, which we need to trim manually.
1998-12-24 18:39:48 +00:00
wpaul
bd6e00f32c 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
fcf431dd97 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
66eea65587 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
bde
85c558753b 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
20e32654dd 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
foxfair
e20489fd39 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
7075e49e77 Not quite right for the goal of using swi_register, but on the way there. 1998-12-24 06:05:48 +00:00
mjacob
b957d414e4 a more correct change that should meet the sniff test 1998-12-24 06:01:15 +00:00
mjacob
82fe5cabdf Unstaticize swi_camnet && swi_cambio so Alpha kernels can build again. 1998-12-24 02:43:41 +00:00
mjacob
f68c969888 you can retry SYNC CACHE on UA errors 1998-12-23 16:48:17 +00:00
foxfair
a8c2d8d742 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
dfr
0d57a81a8b 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
cb8b246a39 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
52a9d9d6e6 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
imp
fb5b48c1cb Invalid is spelled with the v *BEFORE* the a. 1998-12-22 22:31:06 +00:00
luigi
245474e1f7 Add entries for DUMMYNET and BRIDGE 1998-12-22 20:44:13 +00:00
luigi
fa2dcdbf3d '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
987c440a03 Error check is not necessary - this function cannot fail in this
context.

Noted by:	gibbs
1998-12-22 20:21:12 +00:00
eivind
abd545d666 Staticize.
Reviewed by:	gibbs
1998-12-22 20:05:23 +00:00
dillon
56451ce788 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
8a434eb2e3 Don't calculate the residual twice. 1998-12-22 18:14:50 +00:00
gibbs
b6ee7c1b3f 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
b4aed04769 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
9dfd874676 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
1a33b99ce0 add command storage to correlate with latched error 1998-12-22 17:17:17 +00:00
luoqi
fa77afb3a9 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
abial
75069f671c 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
866889d236 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
524f060924 * 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
sos
ac56d181bd The result of running make linux_sysent.c on the new syscalls.master 1998-12-22 09:00:47 +00:00
sos
23bd50b5ed Fix NOIMPL -> NOPROTO as per bruce. 1998-12-22 08:59:19 +00:00
eivind
026c874b6d 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
a4213663c9 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
a0317115f8 Staticize. 1998-12-21 23:38:33 +00:00
luigi
c797b9a57d Recover from previous dummynet screwup 1998-12-21 22:40:54 +00:00
mjacob
e517d1fb13 Add in forward space/backward space/write SetMarks commands.
Obtained from:Martin.Birgmeier@aon.at
1998-12-21 22:14:02 +00:00
luigi
4eebef513c Restore 1.82->1.83 change deleted by mistake< per Bruce suggestion 1998-12-21 21:36:40 +00:00
sos
5dc2c17026 The result of running make linux_sysent.c on the new syscall.master file 1998-12-21 19:31:57 +00:00
sos
885947f39b 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
65891f434b 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
7227af22eb As promised, cleanup the #if __FreeBSD_version mess. 1998-12-21 18:11:10 +00:00
joerg
8333c61640 Include rdp(4).
Should i also include it into GENERIC?
1998-12-21 18:04:20 +00:00
joerg
26fd01e252 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
msmith
61a91ed7ca 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
14f77a8cae Sync with sys/i386/conf/options.i386 revision 1.96. 1998-12-21 09:58:37 +00:00
kato
8dbdacacef Sync with sys/i386/conf/Makefile.i386 revision 1.131. 1998-12-21 09:57:42 +00:00
msmith
307f62acf1 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
953800406c 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
phk
543701a9e5 Add two fields for the lower layers convenience. 1998-12-20 19:06:22 +00:00
bde
cbf08b2af8 Remove unused file. It seems to have been a vestige of when mfs did its
own memory allocation.
1998-12-20 17:05:54 +00:00
bde
e2ca92ffd8 Backed out rev.1.46. It had no effect for aout, was incomplete for elf,
and had gratuitous gcc dependencies.  Rev.1.47 has a better fix.
1998-12-20 16:54:27 +00:00
bde
ff048604b9 Fixed building elf kernels without a `make depend' step. The magic
ordering in rev.1.38 was broken by putting setdef0.o before vnode_if.o
in SYSTEM_OBJS.
1998-12-20 16:25:21 +00:00
bde
7674c039cb Remove a vestige of the amd driver.
Forgotten by:	msmith
1998-12-20 15:26:02 +00:00
dfr
57b905afe0 Add a workaround to avoid 'defined but not used' warnings for linker
sets on i386 and alpha ELF kernels.
1998-12-20 14:20:11 +00:00
dfr
22cc141951 Add LDGP(pv) to suword, subyte, fuword, fubyte so that they can be called
from kernel modules.
1998-12-20 13:21:55 +00:00
dfr
7a9bc41cc4 In ufs_setattr(), if only one of va_atime or va_mtime are != VNOVAL, then
the code set the other field in the inode to VNOVAL.  This can happen
sometimes on an NFS server.
1998-12-20 12:36:01 +00:00
mjacob
d71b9016dc 1) Fix some serious bugs (1 botch on my part which caused a filemark to be
written even it the tape was opened readonly- 2 botches in deferred error
handling for FIXED LENGTH mode which caused panic && hand resp.). Fixed
a memory leak in sa_mount.
2) Fixed an annoying bug when turning of compression to actually reflect
this for future status calls.
3) Implement the MTIOCERRSTAT call where latched control and I/O residuals
and sense data are returned to the application asking for them.
1998-12-19 23:33:21 +00:00
msmith
9050cce8aa Move the "generic" SMP options from options.i386 to conf/options 1998-12-19 23:07:51 +00:00