Garrett Wollman
bbf3a56610
Add four more filesystem flags:
...
VFCF_NETWORK (this FS goes over the net)
VFCF_READONLY (read-write mounts do not make any sense)
VFCF_SYNTHETIC (data in this FS is not real)
VFCF_LOOPBACK (this FS aliases something else)
cd9660 is readonly; nullfs, umapfs, and union are loopback; NFS is netowkr;
procfs, kernfs, and fdesc are synthetic.
1995-03-16 20:23:48 +00:00
Garrett Wollman
cff19ac2ef
Statically-compiled filesystems now use a VFCF_STATIC flag rather than
...
abusing the refcount.
1995-03-16 18:31:00 +00:00
Garrett Wollman
1025071f85
Reject source routes unless configured on by administrator.
1995-03-16 18:22:28 +00:00
Bruce Evans
b5e8ce9f12
Add and move declarations to fix all of the warnings from `gcc -Wimplicit'
...
(except in netccitt, netiso and netns) and most of the warnings from
`gcc -Wnested-externs'. Fix all the bugs found. There were no serious
ones.
1995-03-16 18:17:34 +00:00
Stefan Eßer
11098d3bad
Prepare for shared interrupts (required by the new PCI code that adds
...
support for PCI PCI bridges, e.g. found on 4ch. Ethernet cards).
Submitted by: Wolfgang Stanglmeier <wolf@kintaro.cologne.de>
1995-03-16 17:41:20 +00:00
Garrett Wollman
ef0cdf3329
Add inet_ntoa() and replace ARP's private routine with same.
1995-03-16 17:32:27 +00:00
Stefan Eßer
9b2fa02dd9
Prepare for shared interrupts (required by the new PCI code that adds
...
support for PCI PCI bridges, e.g. found on 4ch. Ethernet cards).
Submitted by: Wolfgang Stanglmeier <wolf@kintaro.cologne.de>
1995-03-16 17:31:19 +00:00
Bruce Evans
3bf0c362ad
Remove isa/prof_machdep.c. It doesn't exist yet.
1995-03-16 17:18:49 +00:00
Garrett Wollman
d99c7a23fa
This set of patches enables IP multicasting to work under FreeBSD. I am
...
submitting them as context diffs for the following files:
sys/netinet/ip_mroute.c
sys/netinet/ip_var.h
sys/netinet/raw_ip.c
usr.sbin/mrouted/igmp.c
usr.sbin/mrouted/prune.c
The routine rip_ip_input in raw_ip.c is suggested by Mark Tinguely
(tinguely@plains.nodak.edu ). I have been running mrouted with these patches
for over a week and nothing has seemed seriously wrong. It is being run in
two places on our network as a tunnel on one and a subnet querier on the
other. The only problem I have run into is that mrouted on the tunnel must
start up last or the pruning isn't done correctly and multicast packets
flood your subnets.
Submitted by: Soochon Radee <slr@mitre.org>
1995-03-16 16:25:55 +00:00
Stefan Eßer
f37ec55185
Make ncr.c compile again (PRINT_ADDR() had been patched
...
into the middle of a printf() by a buggy diff ...).
Submitted by: rgrimes
1995-03-16 13:02:40 +00:00
Peter Dufault
66b0ec7d86
Plug lurking bug when a device returns ASC:ASCQ 0xff:0xff
1995-03-15 22:42:25 +00:00
Stefan Eßer
8e95bee6d4
Conditionalise debug message.
...
Submitted by: Peter Dufault <dufault@hda.com>
1995-03-15 18:15:32 +00:00
Bruce Evans
fe7172b1a6
Fix support for extended partitions (forgot to release the buffer).
1995-03-15 16:25:08 +00:00
Peter Dufault
1a084a9abd
Change it so it doesn't say "probe0" for SCSI probe "device".
1995-03-15 14:44:01 +00:00
Peter Dufault
de6a307ec7
Document scsi options
1995-03-15 14:27:01 +00:00
Peter Dufault
7a162ba150
Add scsi/scsi_sense.c
1995-03-15 14:23:18 +00:00
Peter Dufault
73d664ca78
1. Add text for ASC/ASCQ
...
2. Clean up probe messages. This is how I propose it looks for 2.1 so
if you don't like it you have my e-mail address.
1995-03-15 14:22:12 +00:00
David Greenman
5eb7d0cd2e
Special cased the handling of mb_map in the M_WAITOK case. kmem_malloc()
...
now returns NULL and sets a global 'mb_map_full' when the map is full.
m_clalloc() has further been taught to expect this and do the right thing.
This should fix the "mb_map full" panics that several people have reported.
1995-03-15 07:52:06 +00:00
David Greenman
e8f1ce6f5a
Added $Id$
1995-03-14 22:15:36 +00:00
David Greenman
2c8fe19f89
pcb allocations are not always done on behalf of a process; it is not
...
okay to wait.
1995-03-14 21:50:55 +00:00
David Greenman
d41f24e742
Added support for generic FDDI and the DEC DEFEA and DEFPA FDDI adapters.
...
Submitted by: Matt Thomas
1995-03-14 09:16:07 +00:00
David Greenman
78dfa6036a
Removed "-D" option and made symbols load all the time. They will be
...
discarded if the kernel isn't built with DDB.
1995-03-14 08:21:53 +00:00
Steven Wallace
a91ccb55cf
Change device entry examples to reflect the following:
...
Remove PAS-only entry for OPL as ache pointed out.
Update OPL comment to show OPL-2 or OPL-3 support as it is auto-detected.
1995-03-13 18:49:37 +00:00
Steven Wallace
12fd08535f
Remove old snd file configuration list and add new file list
...
for the snd controller and the different sound devices.
Update LINT to include all sound device drivers using new format.
Reviewed by: wollman
1995-03-12 23:43:15 +00:00
Steven Wallace
1e25d964d2
Reorganize how sound devices are configured. Use a snd controller
...
with individual devices for each type of sound card:
opl, sb, sbxvi, sbmidi, pas, mpu, gus, gusxvi, gusmax, mss, uart
EXCLUDE_* options are no longer required to be included in the config file.
They are automatically determined by local.h depending on the devices
included.
Move #includes in local.h to os.h so files are included in the proper
order to avoid warnings.
soundcard.c now has additional code to reflect the device driver
routines needed.
Define new EXCLUDE_SB16MIDI for use in sb16_midi.c and dev_table.h.
#ifndef EXCLUDE_SEQUENCER or EXCLUDE_AUDIO have been added to
soundcard.c and sound_switch.c where appropriate.
Probe outputs changed to reflect new device names.
Readme.freebsd not needed. Update sound.doc with new config instructions.
Reviewed by: wollman
1995-03-12 23:34:12 +00:00
Joerg Wunsch
82f5379bc5
Finally get rid of this bothering ``biodone: buffer already done''
...
warning. The buffer needs only to be `biodone()' again if the format
operation timed out; otherwise fdstate() did already do the job.
1995-03-12 22:40:56 +00:00
Ugen J.S. Antsilevich
9870b4d2de
Allocate memory as M_IPFW,now we can watch firewall memory usage
...
in vmstat..
1995-03-12 13:28:13 +00:00
Ugen J.S. Antsilevich
a28fb64b82
Save all changed devices so thet dset would be able to retrive
...
data and device driver could change it as it wishes to..
1995-03-12 13:25:51 +00:00
Ugen J.S. Antsilevich
3f033b0f76
Add M_DEVS for list of saved isa_device's
...
and M_IPFW for firewall chans memory on the same opportunity,
theese types of memory are unique enough to have own identifiers and
besides vmstat looks much more useful and right for those now
1995-03-12 13:25:01 +00:00
Ugen J.S. Antsilevich
341dbf8041
Add id_next field to struct isa_device,this does not
...
breaks anything and needed only in userconfig to make dset work
for now..
1995-03-12 13:23:10 +00:00
Bruce Evans
1475d9283e
Move a kernel inline function inside `#ifdef KERNEL' so that including
...
<vm/vm.h> doesn't cause warnings about nonexistent functions called
by the inline function. Clean up the formatting of the function.
1995-03-12 12:42:00 +00:00
Bruce Evans
133d0cef4e
Fix config-time syntax errors in sound options.
1995-03-12 12:18:43 +00:00
Atsushi Murai
9cfb8f7ee9
Adding tunnel pseudo-device for Network Installation with User process PPP.
...
Reviewed by: amruai@spec.co.jp
1995-03-12 12:10:35 +00:00
Bruce Evans
ec00834c18
Finish the previous change. The device name got lost in diskerr().
1995-03-12 08:17:30 +00:00
David Greenman
c4ed5a07a5
Fixed obsolete comment.
1995-03-12 08:11:34 +00:00
David Greenman
6879ca0fcd
Deleted vm_object_setpager().
1995-03-12 08:05:46 +00:00
David Greenman
61ca29b0e5
Deleted vm_object_setpager().
1995-03-12 07:58:29 +00:00
David Greenman
4bb624613f
Explicitly set object->flags = OBJ_CANPERSIST.
1995-03-12 07:56:06 +00:00
Poul-Henning Kamp
47f196941e
Update a couple of counters.
1995-03-12 02:01:20 +00:00
David Greenman
3d2a8cf3d9
Added a comment.
1995-03-11 22:29:07 +00:00
David Greenman
17dda4c929
Added some additional DIAGNOSTIC code that makes sure that freed
...
memory addresses and types are with the valid range. Increased
MAX_COPY to 256 (used to verify no freed memory use with DIAGNOSTIC).
1995-03-11 22:28:16 +00:00
David Greenman
a14e8fd032
Fix completely bogus comment.
1995-03-11 22:25:20 +00:00
David Greenman
63635f5ae2
Clear OBJ_INTERNAL flag for device pager objects and named anonymous
...
objects.
1995-03-11 22:25:02 +00:00
David Greenman
9a4bf98e66
Removed gratuitous and *extremely* evil setting of OBJ_INTERNAL. This
...
caused a cascade of problems including kernel memory corruption, file
corruption, system hangs, and panics.
1995-03-11 22:23:14 +00:00
Poul-Henning Kamp
5511b2e4f3
A substantial change to the way this works. Not the "TEST_LABELING" is
...
a option you can turn on and of on the fly, as is debugging.
1995-03-11 09:32:45 +00:00
Poul-Henning Kamp
fc20488fba
Moved bb stuff to support.s per Bruces suggestion.
1995-03-11 03:49:50 +00:00
David Greenman
07be9bd45f
Increased default minfree to 8%.
1995-03-10 22:18:16 +00:00
David Greenman
e23c0ff5a0
The threshold for switching from time-space and space-time is too small
...
when minfree is 5%...so make it stay at space in this case.
Submitted by: Kirk McKusick
1995-03-10 22:11:50 +00:00
David Greenman
57677027ac
Patch to fix quota panic from Mike Karels:
...
allow Q_SYNC regardless of "target" uid, we allow it with -1;
fix bug that caused all ops to refer to user quotas, not group.
Submitted by: Mike Karels
1995-03-10 22:06:39 +00:00
David Greenman
f8a0b2dd88
Reorganized an if() expression for efficiency.
1995-03-10 21:18:24 +00:00