Poul-Henning Kamp
01c9aaafc4
YFfix. added
...
errval scsi_probe_busses __P(( int, int, int));
1995-02-14 06:17:23 +00:00
Poul-Henning Kamp
8ede9d03cf
YFfix.
...
added int susword __P((void *base, int word));
1995-02-14 06:15:25 +00:00
Poul-Henning Kamp
d2fc53150b
YF fix.
1995-02-14 06:14:28 +00:00
Poul-Henning Kamp
7aa3a026ad
YF Fix.
1995-02-14 06:11:21 +00:00
Poul-Henning Kamp
5723344759
YF fix.
...
Reviewed by: phk
Submitted by: yves@dutncp8.tn.tudelft.nl (Yves Fonk)
1995-02-14 06:06:07 +00:00
Poul-Henning Kamp
a3dbba7a60
Yves has sent us a ~600 Kb patch, which shuts up gcc entirely for the
...
entire kernel.
Unfortunately we didn't send him a copy of the style guide before he did it.
I'm trying to find all the benign and downright sound bits and will commit
them without any other explanation than "YF fix" if they are merely cosmetic.
Reviewed by: phk
Submitted by: yves@dutncp8.tn.tudelft.nl (Yves Fonk)
1995-02-14 06:00:17 +00:00
Jordan K. Hubbard
3268f6b644
Get scdreg.h from new location.
1995-02-14 04:05:04 +00:00
David Greenman
bf4bd9bd9b
Fixed problem with msync causing a panic.
...
Submitted by: John Dyson
1995-02-14 04:00:17 +00:00
Garrett Wollman
522bab9535
Make capitalization consistent with other devices registered in
...
the database. Also, distinguish between VGA-like display devices
and everything else.
1995-02-14 03:19:27 +00:00
Garrett Wollman
2f96f1f446
Get rid of some unneeded #ifdef TTCP lines. Also, get rid of some
...
bogus commons declared in header files.
1995-02-14 02:35:19 +00:00
Jordan K. Hubbard
9e5c18f7b1
The following patches are for the sound drivers. These changes will
...
add a an ioctl call to set the transfer block size (SNDCTL_DSP_SETBLKSIZE)
and add the select system call to the drivers. They also fix a problem with
the #EXCLUDE macros for the PAS-16 card.
Submitted by: Jim Lowe <james@blatz.cs.uwm.edu>
1995-02-13 22:49:06 +00:00
David Greenman
2655f62632
In sync(), don't dereference the proc pointer if it's NULL. Should fix
...
most or all of the problems with calling sync() without a curproc (which
can happen in machdep.c during a panic sync).
1995-02-13 13:45:04 +00:00
Poul-Henning Kamp
1e3a24e880
Actually access the right first page if the file.
...
Bruce finally caught this bogon for me, Thank you Bruce !
Due to some part of the VM/buffer/pmap magic doing clustering, this bogon
managed to work better than 99.9% of the time. Amazing.
If You ever again see a weird message from the gzip code, please tell me.
1995-02-13 07:40:33 +00:00
Poul-Henning Kamp
4a565df5ed
strategy for block and char devices are rightfully spec_strategy.
...
I feel like yanking all the "ISODEVMAP" stuff altogether, it looks
like a bad kludge...
1995-02-13 06:12:32 +00:00
David Greenman
d86d477fe6
Fixed incorrect bufsize assignment that was causing a panic.
...
Submitted by: John Dyson
1995-02-13 04:25:46 +00:00
Andrey A. Chernov
6d50a4a80f
Purge queues in ttylclose(), if ttywflush() failed
1995-02-13 02:18:28 +00:00
Andrey A. Chernov
a3f80a9b22
*close: just purge tty queues if we can't drain them
1995-02-13 02:09:14 +00:00
Andrey A. Chernov
dee8849b8d
Replace previous fix with less agressive, just return EIO
...
if ttywait can't drain queue.
1995-02-13 02:03:57 +00:00
Andrey A. Chernov
911b598f11
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
Jordan K. Hubbard
9da6a15aa4
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
David Greenman
17703e4e91
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
David Greenman
0217125f2b
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
David Greenman
06031f1f3f
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
David Greenman
4aa2b6cf22
Minor code improvement to uiomove()
1995-02-12 09:11:47 +00:00
Jordan K. Hubbard
bcbd38050e
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
Jordan K. Hubbard
25719d742a
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
Jordan K. Hubbard
6469abd9ba
Remove dead sound blaster driver entry.
1995-02-11 05:43:44 +00:00
Poul-Henning Kamp
499454c6e9
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
David Greenman
914a63ebd4
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
Bruce Evans
24d4540cff
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
Stefan Eßer
045de8d38f
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
David Greenman
459a929e36
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
David Greenman
3c632e1f0c
Removed obsolete and unused vmtime() function.
1995-02-10 07:17:46 +00:00
David Greenman
b1e4a738e0
Removed unnecessary check for pr_scale in the AST/OWEUPC case.
1995-02-10 06:43:47 +00:00
David Greenman
5a32829d98
Check P_PROFIL flag for profiling rather than pr_scale as it makes more
...
sense.
1995-02-10 06:25:14 +00:00
David Greenman
95b44faffd
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
Atsushi Murai
b60d4a5d98
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
Garrett Wollman
a0292f2375
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
Stefan Eßer
fd65acba73
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
Stefan Eßer
6f22585dd4
Initialisation of interrupt masks changed.
...
Reviewed by: se
Submitted by: wolf (Wolfgang Stanglmeier)
1995-02-09 20:16:19 +00:00
David Greenman
a7fa409d30
Killed MACHVMCOMPAT function prototypes as the functions don't exist.
1995-02-09 14:16:07 +00:00
David Greenman
94aade54ff
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
David Greenman
62f8f85b7e
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
Jordan K. Hubbard
4a48e9b15a
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
Jordan K. Hubbard
640ed9d2a8
Remove duplicate functions.
...
Submitted by: gj
1995-02-09 11:30:07 +00:00
Jordan K. Hubbard
11af896263
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
Jordan K. Hubbard
1f26416679
Export ttnread().
...
Submitted by: Heikki Suonsivu <hsu@cs.hut.fi>
1995-02-09 11:14:19 +00:00
Jordan K. Hubbard
3663f75c18
>32 PTY support
...
Submitted by: Heikki Suonsivu <hsu@cs.hut.fi>
1995-02-09 11:13:30 +00:00
Jordan K. Hubbard
89c1e72662
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
Jordan K. Hubbard
cfc9f6212d
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