Jordan K. Hubbard
dbb315cb8e
Gag! Somebody removed the bus mouse from GENERIC for reasons unknown.
...
That certainly explains why I noticed it suddenly missing from the
2.2 SNAPSHOT! :-)
1996-04-09 09:00:41 +00:00
Paul Traina
d78a37ad5a
Logging UDP and TCP connection attempts should not be enabled by default.
...
It's trivial to create a denial of service attack on a box so enabled.
These messages, if enabled at all, must be rate-limited. (!)
1996-04-09 07:01:53 +00:00
John Dyson
d3a3498598
Reinstitute the map lock for processes being swapped out. This
...
is needed because of the vm_fault used to bring the page table page
for the kernel stack (UPAGES) back in. The consequence of the
previous incorrect change was a system hang.
1996-04-09 04:36:58 +00:00
Sujal Patel
c755a8837c
Added isa_dmadone() to fix the errors the sound driver has been complaining
...
about.
Update driver to use isa_dma_acquire() and isa_dma_release()
1996-04-08 19:42:07 +00:00
Sujal Patel
100f78bbe0
Update drivers to use isa_dma_acquire() and isa_dma_release()
...
Reviewed by: bde
1996-04-08 19:40:57 +00:00
Sujal Patel
1dce4e5d60
Add a lock for DMA Channels to prevent two devices from using the same DMA
...
channel at the same time. The functions isa_dma_acquire() and
isa_dma_release() should be used in all ISA drivers which call isa_dmastart().
This can be used more generally to register the usage of DMA channels in
any driver, but it is required for drivers using isa_dmastart() and friends.
Clean up sanity checks, error messages, etc.
Remove isa_dmadone_nobounce(), it is no longer needed
Reviewed by: bde
1996-04-08 19:38:57 +00:00
Garrett Wollman
dadd5f3a95
Added a $Id$ keyword. Bruce still needs to put a copyright notice
...
on this file.
1996-04-08 16:41:06 +00:00
Poul-Henning Kamp
a925b654ee
Replace usage of buf->b_actf with queue.3 and buf->b_act.
1996-04-08 07:56:42 +00:00
Poul-Henning Kamp
b96b6bb1e6
Replace usage of buf->b_actf by queue.3 and buf->b_act
1996-04-08 07:54:51 +00:00
Poul-Henning Kamp
d19287f2e9
Add five macros to TAILQ family to improve readability.
1996-04-08 07:51:57 +00:00
John Dyson
b5cfb15fad
Map lock checks not needed anymore for swapping out. We don't use
...
map operations for it anymore. Certain deadlocks should never happen
anymore.
1996-04-08 03:42:01 +00:00
David Greenman
58b248e254
Removed sections 3 and 4 from my copyright.
1996-04-08 01:31:42 +00:00
David Greenman
d40802692e
Killed sections 3 and 4 of my copyright as I think it is unnecessarily
...
restrictive.
1996-04-08 01:25:22 +00:00
David Greenman
39f70d4545
Killed sections 3 and 4 of my copyright as I don't agree with it (I believe
...
it to be unnecessarily restrictive). For tty_subr.c, update to my standard
copyright.
1996-04-08 01:22:00 +00:00
Poul-Henning Kamp
d4893bd812
remove b_actb, it's not used anywhere.
1996-04-07 22:12:25 +00:00
Bruce Evans
3fd674e22b
Use breakpoint() function instead of inline assembler.
1996-04-07 18:34:59 +00:00
Bruce Evans
5dbd168e2e
Changed bdb() to breakpoint() and always enable it.
...
Made the style more consistent, especially for the new Pentium functions.
1996-04-07 18:30:56 +00:00
Bruce Evans
bc4750691c
Use rdtsc() function instead of inline essembler.
1996-04-07 18:16:26 +00:00
Bruce Evans
4165cacd4f
Changed #includes of <i386/include/foo.h> to #includes of <machine/foo.h>.
1996-04-07 17:56:53 +00:00
Bruce Evans
5670f8fbd7
Changed #includes of <i386/include/foo.h> to #includes of <machine/foo.h>.
1996-04-07 17:50:10 +00:00
Bruce Evans
6ffde942bf
Removed never-used #includes of <machine/cpu.h>. Many were apparently
...
copied from bad examples.
1996-04-07 17:39:28 +00:00
Bruce Evans
3157adc8af
Removed now-unused #includes of <machine/cpu.h>. They were for bootverbose
...
being declared in the wrong place.
1996-04-07 17:32:42 +00:00
Bruce Evans
c1263076e3
Removed unused declaration of bootverbose.
1996-04-07 17:03:12 +00:00
Bruce Evans
ae58fb1c43
systm.h:
...
Moved declaration of bootverbose to a better place. It isn't
machine-dependent.
proc.h:
Moved declaration of cpu_fork() to a better place. Only its
implementation is machine-dependent.
1996-04-07 16:46:28 +00:00
Bruce Evans
860ff32995
Moved declaration of bootverbose to a better place. Externs should
...
only be declared in headers.
1996-04-07 16:45:36 +00:00
Bruce Evans
73dc05d67c
Moved declaration of bootverbose to a better place. It isn't
...
machine-dependent.
Moved declaration of cpu_fork() to a better place. Only its
implementation is machine-dependent.
1996-04-07 16:44:28 +00:00
Bruce Evans
92ff4bb0e7
Declared pgrpdump() properly.
1996-04-07 16:16:05 +00:00
Bruce Evans
5e0f6c4338
Fixed the ownership and permissions of /dev/io. Rev.1.32 broke rev.1.29.
1996-04-07 14:59:26 +00:00
Bruce Evans
2151975455
Fixed devfs device names and numbers.
...
Fixed handling of unknown CMOS types - don't attach unrecognized devices.
1996-04-07 14:46:42 +00:00
Bruce Evans
120c5995aa
Cleaned up naming and formatting in recent changes.
1996-04-07 14:32:14 +00:00
Bruce Evans
0166c5c6b4
Allow specifying the BIOS drive number. Removed the hd drive type.
...
hd essentially wired the FreeBSD drive number to 0 without changing
the BIOS drive number. Now the numbers can be specified independently.
Replaced the BOOT_HD compile time flag with with BOOT_HD_BIAS. Defining
the new flag as 1 should give the same behaviour as defining the old
flag as anything. I haven't tested defining these flags.
1996-04-07 14:28:05 +00:00
Bruce Evans
242c09c05e
Don't generate code for the unused function sleep().
1996-04-07 13:35:58 +00:00
Bruce Evans
4181e70803
Removed the 2 remaining calls to sleep().
1996-04-07 13:20:40 +00:00
Poul-Henning Kamp
45ec3b3838
Move the "mib" variables out to their own file.
1996-04-07 13:03:06 +00:00
David Greenman
c655b7c4f4
Added proper splnet protection while modifying the interface address list.
...
This fixes a panic that occurs when ifconfig ioctl(s) were interrupted
by IP traffic at the wrong time - resulting in a NULL pointer dereference.
This was originally noticed on a FreeBSD 1.0 system, but the problem still
exists in current sources.
1996-04-07 06:59:52 +00:00
John Dyson
07b1059113
Major cleanups for the pmap code.
1996-04-07 02:23:05 +00:00
Joerg Wunsch
cbe4630780
Fix the reproto.sh script that was broken after my KNFification.
...
Pointed out by: bde
1996-04-07 01:15:03 +00:00
Joerg Wunsch
d9fb9dd03e
KNFify the function definitions. It's harder to grep around when the
...
function names don't start in column 1.
1996-04-06 13:34:37 +00:00
Gary Palmer
8577a36957
pccard.c:
...
#include <i386/include/clock.h> to get sysbeep() prototype
pcic.c:
add appropriate #ifdef around a prototype to quiet GCC because
fn decl. is also #ifdef'd.
1996-04-06 01:16:19 +00:00
David Greenman
baddaf9480
Switch 586/686 back to generic_bzero and #if 0'd the "optimized" code. It
...
turns out that it actually reduces performance in real-world cases.
Noticed by: bde
1996-04-06 01:06:06 +00:00
Marc G. Fournier
4297524c49
Fixed a bug in DEVFS code that was producing "name slot allocation failed"
...
messages.
1996-04-05 19:12:01 +00:00
Andrey A. Chernov
b0b321257d
Fix adjkerntz expression priority.
...
Make filetimes the same as DOS times for UTC cmos clock.
1996-04-05 18:59:06 +00:00
Andrey A. Chernov
2cb9219c5d
Fix adjkerntz expression priority
1996-04-05 18:56:10 +00:00
Andrey A. Chernov
ef5fdc52f5
Don't adjust file times for UTC clock to have the same timestamps
...
for DOS/FreeBSD.
1996-04-05 16:31:49 +00:00
Andrey A. Chernov
fe0d5f43c5
Add wall_cmos_clock sysctl variable, needed to manage adjkerntz even for
...
UTC cmos clocks (needed for Local Timezone FSes)
1996-04-05 03:36:31 +00:00
Joerg Wunsch
c80faa792c
Work around a braindead signal handling in many newer HP printers.
...
They don't have BUSY de-asserted by the time they ACK (and thus cause
an interrupt). The workaround is to try seeing if the BUSY will be
de-asserted soon, and if not, to use an incremental backoff and
semi-polled mode instead of the fixed timeout with 1/2 s we've been
using previously (that caused the printer to run really slooow).
Printers that have been working previously should not be affected by
this.
1996-04-04 12:28:36 +00:00
Poul-Henning Kamp
34be9bf3ce
Add a sysctl (net.inet.tcp.always_keepalive: 0) that when set will force
...
keepalive on all tcp sessions. Setsockopt(2) cannot override this setting.
Maybe another one is needed that just changes the default for SO_KEEPALIVE ?
Requested by: Joe Greco <jgreco@brasil.moneng.mei.com>
1996-04-04 11:17:04 +00:00
Poul-Henning Kamp
816a3d836e
Log TCP syn packets for ports we don't listen on.
...
Controlled by: sysctl net.inet.tcp.log_in_vain: 1
Log UDP syn packets for ports we don't listen on.
Controlled by: sysctl net.inet.udp.log_in_vain: 1
Suggested by: Warren Toomey <wkt@cs.adfa.oz.au>
1996-04-04 10:46:44 +00:00
Sujal Patel
04a4979760
Fixed a typo in the comment for sv_errsize.
1996-04-04 01:08:20 +00:00
Gary Palmer
c94554b47d
add a `Warning:' to the message saying that the root directory is not a
...
multiple of the clustersize in length to try and reduce the number
of questions we get on the subject.
1996-04-03 23:05:40 +00:00