Commit Graph

2265 Commits

Author SHA1 Message Date
ache
1afa2e8391 Replace previous fix with less agressive, just return EIO
if ttywait can't drain queue.
1995-02-13 02:03:57 +00:00
ache
1ebc44d8a6 1. If some output still present at the end of ttywait, kill it.
2. Even if ttywait() fails, call ttyflush(FREAD) in ttywflush.
This two fixes guarantee that queues are empty after calling ttywflush()
in any case
1995-02-12 23:01:13 +00:00
jkh
86d0c26995 Pick a more sensible default for # of ptys, add comment that this can
go as high as 64 now.
1995-02-12 09:29:59 +00:00
dg
5ab55f8021 Carefully choose the low limit for number of buffers to acheive the best
performance on small memory machines.
1995-02-12 09:21:04 +00:00
dg
093fa7fcad Carefully choose the value for vm_object_cache_max. The previous calculation
was rather bogus in most cases; the new value works very well for both
large and small memory machines.
1995-02-12 09:19:44 +00:00
dg
4e2de300a9 Fixed a bogus comment and made a stylistic change (testl instead of orl
to test for zero).
1995-02-12 09:13:27 +00:00
dg
67517faba1 Minor code improvement to uiomove() 1995-02-12 09:11:47 +00:00
jkh
ec0b39d2fd Rename the local variable used by various macros outside the user's
namespace.
Reported-By: "Philippe Charnier" <charnier@lirmm.fr>
1995-02-12 08:31:31 +00:00
jkh
fe0106ed7b Remove the evil I perpetrated on this file in the name of the Cyclades driver,
now we're back to the old way.  By way of amends, I cleaned up all the
casting evils and generally neated this file up as much as possible.  It
still, however, needs to die.
1995-02-11 05:54:04 +00:00
jkh
fc75fc3024 Remove dead sound blaster driver entry. 1995-02-11 05:43:44 +00:00
phk
7f8d4b8663 Intels App Note AP-485 applied.
We will now tell a good deal more about the CPU if Intel made it.

What is a i486DX2 Write-Back Enhanced CPU ?
1995-02-11 04:21:24 +00:00
dg
5adebb03cd Wire the page table before doing the vm_fault(). Fixes a panic that
happens when using gdb.

Submitted by:	John Dyson
1995-02-10 22:36:11 +00:00
bde
24a94d2bcd Use the correct block number for updating the backup copy of the FAT when
deleting a file.  Deleting a large file used to scramble the backup copy.
1995-02-10 18:39:45 +00:00
se
a213898c49 Block interrupts in more places and warn about the NCR exception handler
being called at inappropriate times (should never happen !).

Reviewed by:	se
Submitted by:	wolf@kintaro.cologne.de (Wolfgang Stanglmeier)
1995-02-10 13:24:52 +00:00
dg
5ccd30340c Changed extended memory test so that it's non-destructive and not a
complete test (it never was "complete", which is why it was bogus). Now
only a single longword is checked in each page.
1995-02-10 07:44:03 +00:00
dg
4a3234f042 Removed obsolete and unused vmtime() function. 1995-02-10 07:17:46 +00:00
dg
7241fca64f Removed unnecessary check for pr_scale in the AST/OWEUPC case. 1995-02-10 06:43:47 +00:00
dg
b23397a17f Check P_PROFIL flag for profiling rather than pr_scale as it makes more
sense.
1995-02-10 06:25:14 +00:00
dg
54d8522bec Turn on "Capture Effect" avoidence. This modifies the collision algorithm
so that the interface won't have the effect of blocking other senders
during bulk transfers (i.e. hogging the ethernet). It improves performance
in all of my tests by reducing collisions and I believe it to be a Good
Thing.
1995-02-10 06:06:42 +00:00
amurai
9e67759149 Delete a redundant line - "options TUN" and Add explanation for
"pseudo-device tun" as same as other device.
1995-02-10 05:42:24 +00:00
wollman
72af2aa44a Merge Transaction TCP, courtesy of Andras Olah <olah@cs.utwente.nl> and
Bob Braden <braden@isi.edu>.

NB: This has not had David's TCP ACK hack re-integrated.  It is not clear
what the correct solution to this problem is, if any.  If a better solution
doesn't pop up in response to this message, I'll put David's code back in
(or he's welcome to do so himself).
1995-02-09 23:13:27 +00:00
se
93f26e434a Try to detect overlapping PCI memory assignment.
(This can only happen with devices that are mapped
by the BIOS.)

Reviewed by:	se
Submitted by:	wolf (Wolfgang Stanglmeier)
1995-02-09 20:20:33 +00:00
se
cf143514ee Initialisation of interrupt masks changed.
Reviewed by:	se
Submitted by:	wolf (Wolfgang Stanglmeier)
1995-02-09 20:16:19 +00:00
dg
532b758076 Killed MACHVMCOMPAT function prototypes as the functions don't exist. 1995-02-09 14:16:07 +00:00
dg
93c83d06ad Killed MACHVMCOMPAT code. It doesn't compile, and in its present state
would require some work to make it not a serious security problem. It's
non-standard and not very useful anyway.
1995-02-09 14:14:13 +00:00
dg
0415b6dd5c Clean up after Jordan's commit: add d_read_t and d_write_t types for
compatibility with the screwy conf.c macros.
1995-02-09 13:51:25 +00:00
jkh
da959b72c7 The whole NEW_CONF_C_SYNTAX was bogus; David's right, it can't be
optional at all.  Make it non-optional.
Submitted by:	davidg
1995-02-09 11:59:40 +00:00
jkh
27f293f435 Remove duplicate functions.
Submitted by:	gj
1995-02-09 11:30:07 +00:00
jkh
203ea981b0 Add PPP to the generic kernel. Now that Poul has made us all this space,
maybe I can get us back into the slip/ppp game without having to tell users
to reconfigure their kernels all the time! :)
1995-02-09 11:21:07 +00:00
jkh
2cbfd0e229 Export ttnread().
Submitted by: Heikki Suonsivu <hsu@cs.hut.fi>
1995-02-09 11:14:19 +00:00
jkh
bf79ed40a3 >32 PTY support
Submitted by: Heikki Suonsivu <hsu@cs.hut.fi>
1995-02-09 11:13:30 +00:00
jkh
2f624e8b5e Some scary macros from Heikki Suonsivu <hsu@cs.hut.fi>. Actually, they
make cdev entries look almost readable.  If his stuff works for most of
the entries in here, it might be worth it to refit them all.
1995-02-09 11:13:09 +00:00
jkh
e0092e86d6 Add the Cyclades serial driver code (ALPHA) from Andrew Werple and
adapted to FreeBSD by Heikki Suonsivu <hsu@cs.hut.fi>.
Submitted by:	Andrew Werple <andrew@werple.apana.org.au> and
		Heikki Suonsivu <hsu@cs.hut.fi>
Obtained from:	NetBSD
1995-02-09 09:47:31 +00:00
dg
2bd1a20fe1 Minor algorithmic adjustments that reduce the CPU consumption of the
pagedaemon in half while not reducing its effectiveness.

Submitted by:	me & John
1995-02-09 07:41:42 +00:00
dg
79e7847479 Fixed another TTCP ifdef problem...there isn't any tcp_sysctl field in
!TTCP.
1995-02-09 00:56:09 +00:00
dg
6ca0e1e381 Fix/#ifdef prototype for tcp_mss...apparantly overlooked by Garrett. 1995-02-09 00:49:20 +00:00
bde
f568e81eb8 Disable bogus attempt to switch from the TS_ISOPEN state to the
TS_WOPEN state when CLOCAL is toggled from on to off while there
is no carrier.  There is no way back, and with sio there is no way
forward either (TS_ISOPEN will never be set again for the current
open).  This bug was observed in 1.1 and was fixed in 1.1.5.
1995-02-08 22:02:02 +00:00
bde
017b22dff1 Rewrite the netisr dispatcher.
Rename `_dummynetisr' to `dummynetisr' so that it doesn't show up in
profiling (with gprof -u).

Clean up.
1995-02-08 21:46:44 +00:00
bde
c68c6ddc37 More complete implementation of SUBDIR for programs, libraries and kmods.
`depend' wasn't supported.  This seems to have only broken `make depend'
in gnu/usr.bin/ld.

bsd.prog.mk:
Build the man pages in ${MANDEPEND} at build time.
1995-02-08 21:35:31 +00:00
wollman
97873f1113 T/TCP changes to generic IP code. This is all ifdefed TTCP so should
have no effect on most users for now.  (Eventually, once this code is
fully tested, the ifdefs will go away.)
1995-02-08 20:22:09 +00:00
wollman
25cedbd345 Merge in T/TCP TCP header file changes. 1995-02-08 20:18:48 +00:00
wollman
7534decaff Define RTF_PINNED for future use. 1995-02-08 20:01:13 +00:00
gpalmer
8e0d212fc2 Remove a possible loophole - previously the code wouldn't pass packets destined
to the loopback address to the packet filter.

Reviewed by:	"Ugen J.S.Antsilevich" <ugen@netvision.net.il>
1995-02-07 20:30:42 +00:00
wollman
3b59d5225b Correct fix for merge conflicts: RTM_VERSION is always 5. Header files
included by user code must never depend on kernel compile options.
1995-02-07 19:05:12 +00:00
jkh
2bc5b1e700 Support for more Sun compatible dlopen() and friends. Also added proper error
handling.
Reviewed by:	gj
Submitted by:	Mark Diekhans <markd@grizzly.com>
1995-02-07 13:26:39 +00:00
sos
2bc72c9fe9 Fixed the bug that caused the cursor to disappear under
boot with -c option
1995-02-07 11:53:27 +00:00
dg
d07ad100e8 Fixed unresolved CVS conflict on RTM_VERSION. 1995-02-07 06:19:56 +00:00
dg
6a86aa802f Changed maximum number of symlinks in a path from 8 to 32. The exact value
isn't important; it is only used to prevent symlink loops from looping
forever. 32 is a quite reasonable default.

Submitted by:	Ed Hudson <elh@p5.spnet.com>
1995-02-07 03:33:05 +00:00
wollman
d963f7f61f Make sure to disable RSVP intercept when the socket is closed. 1995-02-07 02:53:14 +00:00
wollman
897c89c0d9 Merge in the socket-level support for Transaction TCP from the OLAH_TTCP
branch.

Submitted by: Andras Olah <olah@cs.utwente.nl>
1995-02-07 02:01:57 +00:00