Paul Richards [Sun, 31 Oct 1993 03:43:07 +0000 (03:43 +0000)]
Removed .depend target because it didn't do anything usefull. The new
bsd.lib.mk now skip depends if there's no SRCS defined. That's ok for
libgcc because it always gets remade.
Paul Richards [Sun, 31 Oct 1993 03:33:46 +0000 (03:33 +0000)]
Added NetBSD's bsd.dep.mk
Wiljo Heinen [Sun, 31 Oct 1993 03:31:51 +0000 (03:31 +0000)]
Modified to use the new mk files. No .cc.o etc rules neccesary here.
Wiljo Heinen [Sun, 31 Oct 1993 02:32:26 +0000 (02:32 +0000)]
Already removed Makefile.dep, now removed the include of it.
Wiljo Heinen [Sun, 31 Oct 1993 02:27:20 +0000 (02:27 +0000)]
Removed Makefile.dep as depend target now works.
Wiljo Heinen [Sun, 31 Oct 1993 02:23:48 +0000 (02:23 +0000)]
With new mk files the only rule needed is .y.o via .cc
Wiljo Heinen [Sun, 31 Oct 1993 01:45:30 +0000 (01:45 +0000)]
Re-enabled rules for .cc.o, .C.o, and .cxx.o. Re-enabled and fixed
depend rule for .C, .cc, and .cxx files. Now doesn't use the -+
option to mkdep, and handles -nostdinc++.
Wiljo Heinen [Sun, 31 Oct 1993 01:43:36 +0000 (01:43 +0000)]
By using gcc -M instead of cpp -M mkdep now handles C++.
Jordan K. Hubbard [Sun, 31 Oct 1993 00:21:46 +0000 (00:21 +0000)]
Added FAT_CURSOR and STAR_SAVER settings.
Jordan K. Hubbard [Sun, 31 Oct 1993 00:20:35 +0000 (00:20 +0000)]
Add example entries for syscons screen savers and cursor shape.
Jordan K. Hubbard [Sun, 31 Oct 1993 00:19:01 +0000 (00:19 +0000)]
Now that STAR_SAVER and SNAKE_SAVER are kernel options, add code
to make sure that bad things don't happen if both are (incorrectly)
defined at once.
Jordan K. Hubbard [Sun, 31 Oct 1993 00:09:02 +0000 (00:09 +0000)]
Fixed bug where syscons.c wouldn't compile if DDB was enabled.
Removed FAT_CURSOR and STAR_SAVER as compiled in defaults - these should
be kernel options!
Paul Richards [Sat, 30 Oct 1993 17:24:36 +0000 (17:24 +0000)]
Added depend target which works.
Just copied depend rule from bsd.lib.mk but changed SRCS to libgcc1.c
and libgcc2.c
Rod Grimes [Sat, 30 Oct 1993 07:09:39 +0000 (07:09 +0000)]
Add links for stdarg.3 -> va_arg, va_end, va_start per Garrett Wollman
Rod Grimes [Sat, 30 Oct 1993 06:37:09 +0000 (06:37 +0000)]
Add missing M_DONTWAIT to m_copym call per Garrett Wollman
Jordan K. Hubbard [Sat, 30 Oct 1993 03:56:38 +0000 (03:56 +0000)]
New improved quote handling changes from Mike Lutz & Bob Harper,
fix sendmail .cf file creation problems with Allman's cf creation
kit
Jordan K. Hubbard [Fri, 29 Oct 1993 22:59:51 +0000 (22:59 +0000)]
From: Geoff Rehmet <g89r4222@braae.ru.ac.za>
The version of rdump supplied with FreeBSD allows the remote
dump device to be spacified as <user>@<host>:<device>, while
rrestore only allows the form <host>:<device>.
The diff which follows allows the <user>@<host>:<device> form
to be used with rrestore.
Andreas Schulz [Fri, 29 Oct 1993 19:06:20 +0000 (19:06 +0000)]
Deleted the ifconfig lines with we0, ne0, ec0: the drivers don't exist
anymore. Added an ifconfig line with ie0.
David Greenman [Fri, 29 Oct 1993 09:06:56 +0000 (09:06 +0000)]
Whoops, the algorithm I last used was messed up - I left off parans, and
should have used PGSHIFT instead of PAGE_SHIFT.
David Greenman [Fri, 29 Oct 1993 08:58:34 +0000 (08:58 +0000)]
Change filesystem buffer cache size calculation to be less for 4MB
machines (now 20% of all memory after the first 3MB). This is necessary
in order for 4MB machine to be able to rebuild the entire source tree
and not run out of physical memory because of fixed memory requirements
of processes and kernel VM.
Rod Grimes [Fri, 29 Oct 1993 07:49:55 +0000 (07:49 +0000)]
Fix target includes for installing rpc headers, just cd to src/libc and
run the before install, worked great
Rod Grimes [Fri, 29 Oct 1993 06:28:01 +0000 (06:28 +0000)]
Update Chris Demetriou's email address
Rod Grimes [Fri, 29 Oct 1993 05:02:17 +0000 (05:02 +0000)]
Update email address for Gary Clark II.
Jordan K. Hubbard [Fri, 29 Oct 1993 03:46:15 +0000 (03:46 +0000)]
Made doc a little more explicit on card configuration issues.
Jordan K. Hubbard [Fri, 29 Oct 1993 03:44:12 +0000 (03:44 +0000)]
Update to latest Linux sound driver 2.0
Wiljo Heinen [Thu, 28 Oct 1993 14:40:42 +0000 (14:40 +0000)]
Removed definition "LIB= rpc". We want libc.a to contain librpc.a, not
the oppposite.
Rod Grimes [Thu, 28 Oct 1993 09:59:27 +0000 (09:59 +0000)]
Add zero and io to the rm -f line for std devices so they get removed before
an attempt is made to mknod them.
Rod Grimes [Thu, 28 Oct 1993 06:15:14 +0000 (06:15 +0000)]
Put back the $Id$ strings
Rod Grimes [Thu, 28 Oct 1993 06:11:38 +0000 (06:11 +0000)]
Put back the $Id$ string
Jordan K. Hubbard [Thu, 28 Oct 1993 05:27:36 +0000 (05:27 +0000)]
This is syscons version 1.1
Jordan K. Hubbard [Thu, 28 Oct 1993 05:09:43 +0000 (05:09 +0000)]
As per request by Warner Losh, fix tempnam() to return a unique
name each time its called, as it does on Ultrix, SunOS, HPUX, etc.
Rod Grimes [Thu, 28 Oct 1993 02:38:36 +0000 (02:38 +0000)]
Fix for 1542C support, it turns out that the 0x8 extended bios flag is only
set when extended translation is turned on, thus we need to do the mailbox
unlock command no matter what value is in the extended bios flag byte as
the other extensions (ie, > 2 drive support) cause the same problems.
The code has been changed to ALWAYS unlock the mailbox interface on ALL
1542C class boards.
Paul Richards [Wed, 27 Oct 1993 22:35:19 +0000 (22:35 +0000)]
Fixed installation of rpc manual pages.
Andreas Schulz [Wed, 27 Oct 1993 21:56:41 +0000 (21:56 +0000)]
Added -fwritable-strings to the CFLAGS, fixed some minor compiler
warnings.
Andreas Schulz [Wed, 27 Oct 1993 21:01:35 +0000 (21:01 +0000)]
Added entry for pc3 with monochrome monitor.
Fixed entries for cons25/cons50 that has a continuation backslash too much
at the end. ( dean@deanstoy.wa.com )
Paul Richards [Wed, 27 Oct 1993 05:47:55 +0000 (05:47 +0000)]
Removed librpc from subdirs.
Paul Richards [Wed, 27 Oct 1993 05:41:14 +0000 (05:41 +0000)]
Added rpc library to libc.
Paul Richards [Wed, 27 Oct 1993 04:06:13 +0000 (04:06 +0000)]
Used NetBSD's Makefile for building libgcc. It build the library from
the original libgcc1.c and libgcc2.c without unpacking them.
That's how it should have been done in the first place.
Nate Willams [Tue, 26 Oct 1993 23:04:38 +0000 (23:04 +0000)]
Added a patch that Rod asked me to integrate in that I forgot.
This patch is required for certain IDE driver to work correctly
Nate Willams [Tue, 26 Oct 1993 22:29:41 +0000 (22:29 +0000)]
Added config file for new 'alternative' IDE driver.
Nate Willams [Tue, 26 Oct 1993 22:26:39 +0000 (22:26 +0000)]
Bruce Evans wd driver installed as an alternative wd driver. This will be
removed ASAP and moved into it's proper position as wd.c when it is debugged.
Nate Willams [Tue, 26 Oct 1993 22:25:20 +0000 (22:25 +0000)]
Added character 21 to conf.c table for future ps/2 mouse driver. This
finishes the install of the device short of adding the driver itself to
i386/isa/psm.c
Nate Willams [Tue, 26 Oct 1993 21:59:44 +0000 (21:59 +0000)]
Fixed the silly bug that caused BSDI's init to complain due to the paramters to
init not being setup correctly.
NetBSD:
date: 1993/07/10 03:25:03; author: cgd; state: Exp; lines: +4 -2
handle the initflags problem in a simple (if twisted) way.
handle the initflags problem in a simple (if twisted) way.
Nate Willams [Tue, 26 Oct 1993 21:27:07 +0000 (21:27 +0000)]
Bad kludge to work around the alternative wd driver problems
Nate Willams [Tue, 26 Oct 1993 21:26:19 +0000 (21:26 +0000)]
Added alternative wd driver (called wx due to device name limitations)
This will be removed when a single driver that works on all hardware can
be verified
Nate Willams [Tue, 26 Oct 1993 21:24:34 +0000 (21:24 +0000)]
Added ps/2 mouse driver file to finish off what Jordan started before
The driver will have to come after it's probe routine has been written.
David Greenman [Tue, 26 Oct 1993 09:04:13 +0000 (09:04 +0000)]
Yanked out the 8 'addb %al,%al' (0xc000)'s out of the start of the
program. The idea was that these are 'alignment' crap, but the image
is 16byte-aligned without these. Location 0 still doesn't have a 0,
but who cares, binaries wil be built with page zero unmapped in the
near future.
David Greenman [Tue, 26 Oct 1993 06:24:20 +0000 (06:24 +0000)]
Added support for QMAGIC format executable output. This causes the loader
to output the same QMAGIC format as BSDI does. This is triggered by
a new '-q' flag ('-Xlinker -q' in gcc). The default can be changed from
ZMAGIC to QMAGIC by defining DEFAULT_MAGIC=QMAGIC when building ld.
Rod Grimes [Mon, 25 Oct 1993 21:09:32 +0000 (21:09 +0000)]
It makes little since to rebuild the whatis database before ALL of the
manual pages have been installed. I removed the makewhatis command from
the afterinstall target and am adding one to /usr/src/Makefile after every
things has been installed.
Rod Grimes [Mon, 25 Oct 1993 20:58:17 +0000 (20:58 +0000)]
Build gnu/libg++ during target libraries, alphabetize library build order.
Rod Grimes [Mon, 25 Oct 1993 20:27:29 +0000 (20:27 +0000)]
Arghh, there are two versions of the file, mkdep.sh and mkdep.gcc.sh, the
later is the one that gets installed. Fixed the sed command so that
it looks for .o<space> and removed that. It nolonger changes the file
name a.out.h to aut.h.
Rod Grimes [Mon, 25 Oct 1993 20:13:16 +0000 (20:13 +0000)]
Reworked the search for suid sgid programs to be more like the original and
only to run find on local file systems. It now works and no longer gets
the error from sort
Rod Grimes [Mon, 25 Oct 1993 20:07:29 +0000 (20:07 +0000)]
Fix sed command so that it does not change a.out.h to aut.h, look for .o<space>
when doing the substitute
Rod Grimes [Mon, 25 Oct 1993 19:43:04 +0000 (19:43 +0000)]
Remove #define NOTYET 1, and #ifdef NOTYET's as it was very confusing to
find that NOTYET had been defined.
Rod Grimes [Mon, 25 Oct 1993 19:28:07 +0000 (19:28 +0000)]
>From: <wollman@uvm-gen.emba.uvm.edu>
Date: Mon, 25 Oct 93 14:32:17 -0400
Now explains the EACCES error for file sytems mounted with
execution disabled.
Also fixes a punctuation error.
David Greenman [Mon, 25 Oct 1993 17:56:56 +0000 (17:56 +0000)]
ifdef notyet nfs advisory locking as it is destabilizing the system.
Return EOPNOTSUPP for now (which is what it used to do).
David Greenman [Mon, 25 Oct 1993 17:26:01 +0000 (17:26 +0000)]
Fix bug where if the kernel writes to a process image area the
change was being written back to the vnode (image file). While
I was at it, I added support for QMAGIC exec format and NetBSD's
screwy ZMAGIC (QMAGIC with the 'magic' in network byte order).
Also, security whole where data could be executed was plugged.
We can now run NetBSD and BSDI executables! ...I preserved support
for Bill's screwball mode for now.
David Greenman [Mon, 25 Oct 1993 08:39:13 +0000 (08:39 +0000)]
Fixed multiple off-by-one bugs which caused the open file printing to
be all messed up. Ripped out all the #ifdef/ndef NEWVM junk as it is
totally useless and makes the code difficult to read (the old VM code
is LONG gone). Made other code format cleanups (added newlines, fixed
some braces).
Rod Grimes [Mon, 25 Oct 1993 06:10:42 +0000 (06:10 +0000)]
Redirect standard error onto standard out when call /etc/security so
that the errors from /etc/security are in the mail message from
/etc/security and not the /etc/daily mail message. Now just to fix
the bug in /etc/security
Rod Grimes [Mon, 25 Oct 1993 03:39:55 +0000 (03:39 +0000)]
Quick and dirty patch from Jordan to make symbolic links work. This patch
just flushes them from the i node cache as soon as we are done with the
link.
David Greenman [Mon, 25 Oct 1993 03:19:43 +0000 (03:19 +0000)]
Fix panic's caused by Paul Kranenburg's ufs_lockf patch by using
Mark Tinguely's fix instead. Old code left in with #ifdef PK_LOCKF_FIX
until this new patch can be tested more thoroughly (i.e. remove for
FreeBSD 1.1).
Rod Grimes [Mon, 25 Oct 1993 03:12:32 +0000 (03:12 +0000)]
Restore the $Id$ strings so that they work correctly.
Rod Grimes [Mon, 25 Oct 1993 03:11:30 +0000 (03:11 +0000)]
Add entries for getdomainname and setdomainname so that the system calls
get added to the c library and can be used by bin/domainname.
Add manual page and link for above.
The manaul page for uname.2 was not getting installed as it was not
listed int the Makefile.inc.
Rod Grimes [Mon, 25 Oct 1993 02:39:26 +0000 (02:39 +0000)]
Fix for -a and -o not working as second argument on command line.
From Andrew Moore. Added tests to TEST.csh to check for that these
work now and in the future.
David Greenman [Mon, 25 Oct 1993 02:02:51 +0000 (02:02 +0000)]
Reverted back to previous version because Bruce's patch is buggy.
Jordan K. Hubbard [Sun, 24 Oct 1993 20:29:19 +0000 (20:29 +0000)]
Added bug notes for PAS users.
Jordan K. Hubbard [Sun, 24 Oct 1993 19:38:06 +0000 (19:38 +0000)]
From: Amancio Hasty Jr <hasty@netcom.com>
Make sure calls to gus_voice_irq() are protected from interrupts.
Paul Richards [Sun, 24 Oct 1993 07:10:25 +0000 (07:10 +0000)]
Propagated syscall changes for domainname calls.
Paul Richards [Sun, 24 Oct 1993 06:38:43 +0000 (06:38 +0000)]
Added domainname to bin/Makefile.
Paul Richards [Sun, 24 Oct 1993 06:31:48 +0000 (06:31 +0000)]
This commit was generated by cvs2svn to track changes on a CVS vendor
branch.
Paul Richards [Sun, 24 Oct 1993 06:31:48 +0000 (06:31 +0000)]
Add domainname command to set yp domain.
Paul Richards [Sun, 24 Oct 1993 06:23:11 +0000 (06:23 +0000)]
Added set/getdomainname system calls.
Paul Richards [Sun, 24 Oct 1993 04:42:32 +0000 (04:42 +0000)]
Removed #define ISDEBUG from top of file, should be config option
to get debugging code compiled in.
Moved bpfilter.h out of ifdef'd code so it can be seen.
Rod Grimes [Sun, 24 Oct 1993 04:30:08 +0000 (04:30 +0000)]
Change ISOFSMNT_NORRIP to just MNT_NORRIP to reflect the change in
mount.h.
Remove the #define ISOFS that was used to enable ISOFSMNT_NORRIP since
this is now always defined under the new name MNT_NORRIP
Rod Grimes [Sun, 24 Oct 1993 04:29:08 +0000 (04:29 +0000)]
Change ISOFSMNT_NORRIP to just MNT_NORRIP to reflect the change in
mount.h.
Rod Grimes [Sun, 24 Oct 1993 04:28:11 +0000 (04:28 +0000)]
Chage ISOFSMNT_NORRIP to just be MNT_NORRIP and remove #ifdef ISOFS protection
from it, the flag is reserved and should always be defined.
Paul Richards [Sun, 24 Oct 1993 04:27:00 +0000 (04:27 +0000)]
Moved allocation of memory into is_attach so that malloc gets
called once when card is attached. Solved problem with driver
getting hosed when a reset takes place.
Removed init_block array -- now part of malloced memory. No more
static declarations left.
Added code so that debug ioctl actually does something.
ifconfig is0 debug will now switch on debugging code.
Other general cleanups.
Jordan K. Hubbard [Sat, 23 Oct 1993 22:55:43 +0000 (22:55 +0000)]
Needed to bump symtab space even more (to 102452).
Jordan K. Hubbard [Sat, 23 Oct 1993 22:24:35 +0000 (22:24 +0000)]
Moved sound drivers from major 21 to major 30.
Jordan K. Hubbard [Sat, 23 Oct 1993 22:21:00 +0000 (22:21 +0000)]
Enable mpu401 driver.
Jordan K. Hubbard [Sat, 23 Oct 1993 22:20:47 +0000 (22:20 +0000)]
Enabled all sound drivers by default.
Jordan K. Hubbard [Sat, 23 Oct 1993 22:13:42 +0000 (22:13 +0000)]
Fixed up to at least compile (can't test) properly for FreeBSD
Jordan K. Hubbard [Sat, 23 Oct 1993 22:13:08 +0000 (22:13 +0000)]
Moved sound driver from major 21 to major 30
Jordan K. Hubbard [Sat, 23 Oct 1993 22:12:50 +0000 (22:12 +0000)]
Added notes for MPU-401
Jordan K. Hubbard [Sat, 23 Oct 1993 21:22:45 +0000 (21:22 +0000)]
Add documentation on configuring the Linux sound driver.
Jordan K. Hubbard [Sat, 23 Oct 1993 21:21:52 +0000 (21:21 +0000)]
Removed comments from LINT file, left small example for SoundBlaster
in its place and moved commentary into /sys/i386/doc/sound.doc
Jordan K. Hubbard [Sat, 23 Oct 1993 21:11:49 +0000 (21:11 +0000)]
Made kernel printf's more closely follow standard BSD convention.
Jordan K. Hubbard [Sat, 23 Oct 1993 20:58:06 +0000 (20:58 +0000)]
Catch missing reassign to machine/soundcard.h
Rod Grimes [Sat, 23 Oct 1993 20:31:17 +0000 (20:31 +0000)]
Put the sound stuff in alpabetic order.
David Greenman [Sat, 23 Oct 1993 16:34:45 +0000 (16:34 +0000)]
Fix from Yuval Yurom:
there is a bug in unp_detach that can cause a "panic: closef < 0"
(comment in the patch):
* Normally the receive buffer is flushed later,
* in sofree, but if our receive buffer holds references
* to descriptors that are now garbage, we will dispose
* of those descriptor references after the garbage collector
* gets them (resulting in a "panic: closef: count < 0").
David Greenman [Sat, 23 Oct 1993 16:23:49 +0000 (16:23 +0000)]
socket writes of negative values can cause bad things to happen in sosend
- fix by testing for negative value and returning EINVAL. This bug is
often excercised with the talk program.
if the MSG_PEEK flag was set and an oobmark condition is true, the
condition wasn't being properly handled.
David Greenman [Sat, 23 Oct 1993 16:02:54 +0000 (16:02 +0000)]
Verify that rootfs is non-zero before using it - otherwise it is possible
to dereference a null pointer in sync().
fix a bug where a race condition with two parallel renames can cause
a "panic: vrele: null vp".
Jordan K. Hubbard [Sat, 23 Oct 1993 10:58:51 +0000 (10:58 +0000)]
New snd*) target for making driver entries for new sound driver.
Jordan K. Hubbard [Sat, 23 Oct 1993 10:55:52 +0000 (10:55 +0000)]
This is the Linux generic soundcard driver, version 1.0c. Supports
SBlaster/Adlib/ProAudio Spectrum/Gravis/etc cards. This is a BETA test
driver, please test it and get back to me!
Jordan K. Hubbard [Sat, 23 Oct 1993 10:50:21 +0000 (10:50 +0000)]
Soundcard driver include file (/usr/include/machine/soundcard.h)
Jordan K. Hubbard [Sat, 23 Oct 1993 10:49:24 +0000 (10:49 +0000)]
New soundcard driver at major device 21
Jordan K. Hubbard [Sat, 23 Oct 1993 10:49:01 +0000 (10:49 +0000)]
Add config + files information for new Linux soundcard driver
Nate Willams [Sat, 23 Oct 1993 08:29:50 +0000 (08:29 +0000)]
Fixed 'mkdep -p' to work
Nate Willams [Sat, 23 Oct 1993 08:28:17 +0000 (08:28 +0000)]
Removed un-necessary dependencies for assym.s
Nate Willams [Sat, 23 Oct 1993 06:46:24 +0000 (06:46 +0000)]
Reverted back to older version of ./genassym, instead of ./genassym.o
since make depend wasn't picking up any new dependencies. However, due
to a bug in the old code, the original dependencies weren't being used, so
this version is better than the original and the lastest version.
(And is more readable as well)