Commit Graph

7031 Commits

Author SHA1 Message Date
wollman
d06f6b4e4f Beginnings of support for loadable pseudo-devices. bsd.kmod.mk support
and Makefiles for the more interesting ones to come on Monday.
1995-03-17 22:02:18 +00:00
swallace
5dc0a50ecf Change probe output to gus0 instead of snd4. 1995-03-17 21:27:39 +00:00
nate
a8fc310bb0 Gcc v2.6.3 currently has a problem with templates. Specifically, with
default switches, template functions get EXTERNAL linkage in each file
in which they occur, causing multiple definition errors during
linking.  The enclosed patch (from gnu.g++.bug) appears to solve the
problem (I enclose the accompanying message as well).

This patch fixes the multiply defined template functions bug
which was introduced in 2.6.1.

Submitted by:	"Justin T. Gibbs" <gibbs@estienne.cs.berkeley.edu>
Obtained from:  Jason Merrill at cygnus support on G++ mailing list
1995-03-17 21:24:25 +00:00
ache
51b264e4f1 Fix savestring & gdb conflict
Moreover, this fix not breaks any pgm which uses readline's savestring
1995-03-17 21:11:53 +00:00
joerg
d03edd038c Include a file system debugger fsdb(8). 1995-03-17 19:28:59 +00:00
rgrimes
d40983c822 Remove extra fi that caused this script to fail during boot. 1995-03-17 17:57:24 +00:00
rgrimes
c8b5737b63 Add dummy lchown function so that cpio understands 4.4 symbolic links.
Reviewed by:	phk
1995-03-17 07:52:23 +00:00
dg
ca2e4bfc64 Changed some (incorrect) nfsrv_vput()'s back into regular vput()'s. This
fixes the last of the known NQNFS problems (until I find more, that is :-)).
1995-03-17 07:45:19 +00:00
phk
ab48163ad2 <libkern/libkern.h> has moved to <sys/libkern.h> (repository copy).
Since /usr/include/libkern doesn't and shouldn't exist, this is the
least evil way to handle this.
1995-03-17 06:15:40 +00:00
phk
23c9c8a95a Have include be the first $SUBDIR, this avoid install failure with the
kludgeous install rule in perl/x2p.

Pointed out by:	rgrimes
1995-03-17 04:59:44 +00:00
phk
7a9ff70615 Dont install DES bits in cdrom area. 1995-03-17 04:54:13 +00:00
phk
c88a90c41d Remove reference to fsdb(8). We don't have it. 1995-03-17 04:41:18 +00:00
phk
ee3d6a59f6 Remove a spurious printf. 1995-03-17 04:39:41 +00:00
dg
b553215b12 Added a new field to the pci_device struct called pd_shutdown to specify
a device specific shutdown routine for devconf. Assign the value of this
to the kern_devconf struct. Implement a device shutdown routine for if_de
that disables the device. This will stop the device from corrupting memory
after a reboot.
1995-03-17 04:27:21 +00:00
dg
865b8325a4 Call dev_shutdownall() just after unmounting filesystems. 1995-03-17 04:19:19 +00:00
dg
14517b375e Changed names of goaway routines into shutdown routines. 1995-03-17 04:18:07 +00:00
ache
1c5fac9a93 Upgrade 1995-03-17 01:40:52 +00:00
phk
7f7d0e0282 Remove imutable bits, they will not survive anyway. First cut at cdrom
make rule.
1995-03-16 22:54:42 +00:00
phk
2b505f7f2e Fix a spelling error.
Submitted by:	Stephen McKay <syssgm@devetir.qld.gov.au>
1995-03-16 22:03:09 +00:00
phk
6e03fba033 Fixed Stephen McKay's email address. 1995-03-16 22:01:57 +00:00
wollman
5569af19d9 Fix bonehead formatting error. 1995-03-16 21:43:03 +00:00
wollman
b2dad10ffa Print out the new flags. 1995-03-16 20:29:11 +00:00
wollman
8e37e9f479 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
wollman
0c139f325a Print out flags as text rather than a number. 1995-03-16 18:37:47 +00:00
wollman
27511388bb Statically-compiled filesystems now use a VFCF_STATIC flag rather than
abusing the refcount.
1995-03-16 18:31:00 +00:00
wollman
85811050d4 Document net.inet.ip.sourceroute MIB variable. 1995-03-16 18:24:19 +00:00
wollman
a428f47a5d Reject source routes unless configured on by administrator. 1995-03-16 18:22:28 +00:00
bde
289f11acb4 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
se
4c4945abee 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
wollman
8882d76eda Add inet_ntoa() and replace ARP's private routine with same. 1995-03-16 17:32:27 +00:00
se
9c613cfeae 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
bde
0a1bcbbaf5 Remove isa/prof_machdep.c. It doesn't exist yet. 1995-03-16 17:18:49 +00:00
wollman
d83a02d4f2 Fix long-standing core dump when ld returns failure. 1995-03-16 17:11:21 +00:00
wollman
80a34ebfdf Semi-major RC file cleanup:
- Do ntp right
- Move recenrly-added and long-standing junk from rc.local into rc, so
. that rc.local truly is LOCAL.
- Fix named invocation to use the correct boot file location.
1995-03-16 16:58:01 +00:00
wollman
b6beceae27 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
se
965da3c27a Reading NCR registers is not secure at all times, so prevent
an ordinary user from doing this. (Problem pointed out by
Guido van Rooij).
1995-03-16 15:10:11 +00:00
se
d5b7bdded1 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
phk
7a470dd511 Well, it seems like the vn driver is pretty hosed still, so don't use it :( 1995-03-16 05:58:28 +00:00
phk
85404d96e4 Code to use vndevice instead of floppy to build floppy images. 1995-03-16 05:40:02 +00:00
paul
dad6e0d5c2 Added my little project to stop ps truncating output to pipes. 1995-03-16 05:07:09 +00:00
phk
f6aa7e24de Added cons30, cons43 and cons60 terminal types (==cons25 with more lines).
Theres a mono entry for them all, and cons50 already existed.
1995-03-16 01:37:41 +00:00
joerg
5eafab60fa Included the (now use{able,ful}) catman program as an (commented out)
example.
1995-03-15 22:58:19 +00:00
joerg
92db8b5a0c Wolfram's replacement for the oldish ugly catman(1) program. The new
one is much more intelligent, not only that it would accept multiple
man page locations, it also behaves like ``make'' in that it will only
deal with cat pages that are out of date (by default).

Wolfram also wrote a man page for it.

Submitted by:	wosch@cs.tu-berlin.de (Wolfram Schneider)
1995-03-15 22:47:38 +00:00
dufault
28a0824062 Plug lurking bug when a device returns ASC:ASCQ 0xff:0xff 1995-03-15 22:42:25 +00:00
wpaul
9f506b229f According to stdlib.h, malloc and realloc return void * but error_table.y
declares them to return char *. For some reason, this causes no problems
with the old compiler tools, but doing a 'make world' with gcc 2.6.3 in a
seperate DESTDIR got me this error:

yacc -d /usr/src/usr.bin/compile_et/error_table.y
cc -O2 -I. -I/usr/src/usr.bin/compile_et/../../lib/libcom_err   -I/mnt/usr/include -c y.tab.c -o error_table.o
In file included from /usr/src/usr.bin/compile_et/et_lex.lex.l:11,
                 from /usr/src/usr.bin/compile_et/error_table.y:233:
/mnt/usr/include/stdlib.h💯 conflicting types for `malloc'
/usr/src/usr.bin/compile_et/error_table.y:80: previous declaration of `malloc'
/mnt/usr/include/stdlib.h:104: conflicting types for `realloc'
/usr/src/usr.bin/compile_et/error_table.y:80: previous declaration of `realloc'
*** Error code 1

Stop.

Declaring malloc and realloc to return void * fixes this. It could be that
the new gcc is a bit more picky about these things.
1995-03-15 19:05:28 +00:00
se
0a35f1faf5 Conditionalise debug message.
Submitted by:	Peter Dufault <dufault@hda.com>
1995-03-15 18:15:32 +00:00
bde
42f54543e6 Fix support for extended partitions (forgot to release the buffer). 1995-03-15 16:25:08 +00:00
dufault
45a99b7dba Change it so it doesn't say "probe0" for SCSI probe "device". 1995-03-15 14:44:01 +00:00
dufault
0c96fcbafe Document scsi options 1995-03-15 14:27:01 +00:00
dufault
70dcd74c76 Add scsi/scsi_sense.c 1995-03-15 14:23:18 +00:00