Commit Graph

5677 Commits

Author SHA1 Message Date
Jordan K. Hubbard
9f574f9a90 Bring in a number of changes from NetBSD's make, fixing quite a few
problems in the process:

1. Quoting should work properly now.  In particular, Chet's reported bash
   make problem has gone away.
2. A lot of memory that just wasn't being free'd after use is now freed.
   This should cause make to take up a LOT less memory when dealing with
   archive targets.
3. Give proper credit to Adam de Boor in a number of files.
Obtained from: NetBSD (and Adam de Boor)
1995-01-23 21:03:17 +00:00
Jordan K. Hubbard
8d81c12227 Whomever put the depend rule in screwed it up. Fix it. 1995-01-23 20:53:38 +00:00
Jordan K. Hubbard
1df516f280 Eliminate a bogus stray tab. 1995-01-23 20:50:56 +00:00
Garrett Wollman
51e7d42c56 Don't print protocol-cloned routes by default (enabled by -a flag).
Print non-zero expiration timers.
Use err(3) for error reporting.
1995-01-23 20:19:16 +00:00
Joerg Wunsch
e3fa32b485 Implementing the "lp" command.
This command is required to exist in terms of compatibility with the
Posix 1003.2 specification.  It actually invokes the lpr service with
the proper options.
1995-01-23 19:22:43 +00:00
David Greenman
fb1322e408 Decrease MCLBYTES from 4k back to 2k. It isn't likely that we'll be doing
page flipping anytime soon and 4k just wastes memory. Performance via the
looback interface will decrease slightly by this change. Idealy, we need
buffers that can have variable sizes, but this requires a rewrite of far
too much code at the moment.
1995-01-23 19:21:49 +00:00
Joerg Wunsch
bba63893e5 Add "lp" to list of subdirs. 1995-01-23 19:17:22 +00:00
David Greenman
61be67ba43 Much better fix/support for the 83c795 based cards (the new SMC EtherEZ)
by steve@simon.chi.il.us (Steven E. Piette). Minor changes by me.
1995-01-23 19:06:08 +00:00
Garrett Wollman
e79b19bc05 Make Jordan happy:
1) Link against object directory version of libcom_err.so.
2) Don't try to install ss_err.h if we haven't made it yet.  It's not
   on the critical path for `make world' at this point.
1995-01-23 18:56:40 +00:00
David Greenman
0a2d61c61c Kill redundant declarations of d_open_t and d_close_t. 1995-01-23 18:46:13 +00:00
Jordan K. Hubbard
7b2bb0fb79 Set PREFIX in the build target. Suggested by John Fieber. 1995-01-23 18:22:36 +00:00
Poul-Henning Kamp
b1b8617459 if_ze was not updated when the arp_ifinit stuff was done. now it is. 1995-01-23 18:02:32 +00:00
David Greenman
297a37f334 Applied fix from Andreas Schulz with a different comment by me. Fixes a
bug where TCP connections are closed prematurely.

Submitted by:	Andreas Schulz
1995-01-23 17:58:27 +00:00
David Greenman
3ec66d6c39 Added back the missing last few bytes of the file. 1995-01-23 17:53:21 +00:00
Ugen J.S. Antsilevich
e42327af6f Add dset to Makefile. 1995-01-23 15:45:41 +00:00
Ugen J.S. Antsilevich
006baf01ee src/sbin/dset
*blush* this is the commit i meant to do before..
Utility to save device configuration.
1995-01-23 15:42:59 +00:00
Paul Richards
8e6feb0e55 A forms interface builder. Basically, it reads a forms spec file and
spits out a frm.tab.h file with all the definitions needed by the
libforms interface.
1995-01-23 14:43:38 +00:00
Garrett Wollman
f35e67894f Make modload more informative about errors encountered while running
`ld' by calling execl() directly rather than using system().
1995-01-23 04:08:00 +00:00
Poul-Henning Kamp
9e2429f597 Moved the typedefs of d_<foo>_t into sys/sys/conf.h and used them in
the definition of struct [cb]devsw.  Guess Bruce never got around to
complete this (?)

Poul-Henning
1995-01-23 02:52:28 +00:00
Jordan K. Hubbard
6b21ba4ff4 Update the Korean admin's address. 1995-01-23 02:37:04 +00:00
Poul-Henning Kamp
2bb96d8923 Nobody seems to need "mem_no" anymore, so I zapped it. 1995-01-23 02:36:22 +00:00
Poul-Henning Kamp
1aaca524e0 Fixed $Id$ 1995-01-23 02:31:53 +00:00
Garrett Wollman
bbb7c7109b Change caching strategy somewhat:
1) Don't clone routes to multicast destinations; there is nothing useful
   to be gained in this case.
2) Reduce default expiration timer to one hour.  Busy sites will still
   likely want to reduce this, but for ordinary users this is a reasonable
   value to use.
1995-01-23 02:02:50 +00:00
Garrett Wollman
18e1f1f110 route.c: keep track of where cloned routes come from, and make sure to
delete them when the ``parent'' goes away

route.h: add glue to track this to rtentry structure.  WARNING WILL ROBINSON!
This will be yet another incompatible change in your route-using binaries.
I apologize, but this was the only way to do it.  I took this opportunity
to increase the size of the metrics to what I believe will be the final
length for 2.1, so that when the T/TCP stuff is done, this won't happen
again.
1995-01-23 02:00:35 +00:00
David Greenman
717d9cdd57 First round of changes to clean up the RCSID mess in libc:
1) Changed LIB_SCCS and SYSLIB_SCCS to LIB_RCS and SYSLIB_RCS.
2) Changed sccsid[] variables to rcsid[]
3) Moved all RCSID strings into .text
4) Converted all SCCSID's to RCS $Id$'s
5) Added missing $Id$'s after copyright.
1995-01-23 01:30:24 +00:00
David Greenman
b3c361e217 Changed LIB_SCCS and SYSLIB_SCCS #defines to LIB_RCS and SYSLIB_RCS. 1995-01-23 01:22:08 +00:00
Jordan K. Hubbard
cc877a0fe1 Add support for Olof Johansson's WD7000 driver.
Submitted by:   Olof Johansson <offe@ludd.luth.se>
1995-01-23 00:25:44 +00:00
Jordan K. Hubbard
3691d2b97c Add support for Olof Johansson's WD7000 driver.
Submitted by:	Olof Johansson <offe@ludd.luth.se>
Obtained from:
1995-01-23 00:25:03 +00:00
Garrett Wollman
93eb556775 Document the requirements of dynamic loading on mounting order. Cross-ref
to vfsload(3).
1995-01-22 22:54:56 +00:00
Andrey A. Chernov
bae50898b7 Infopages cleanup 1995-01-22 22:45:07 +00:00
Andrey A. Chernov
75e2b1e589 Cleanup in examples,groff_font,locale directories 1995-01-22 22:37:45 +00:00
David Greenman
1504cd6172 (Very) minor improvement from NetBSD/J.T.Conklin. 1995-01-22 22:03:45 +00:00
Andrey A. Chernov
95f51c5b57 Add doc subdir 1995-01-22 21:56:38 +00:00
Andrey A. Chernov
ae46450f21 Add missing infopages 1995-01-22 21:54:49 +00:00
David Greenman
530eb0c1c4 Added leaner and meaner swab() function by J.T. Conklin. 1995-01-22 21:36:15 +00:00
Gary Palmer
74d7962900 Oops. Fix up the checksum routine - my last commit broke it slightly. 1995-01-22 20:40:48 +00:00
Bruce Evans
edf1160963 Build ref.bib.i in the object directory. 1995-01-22 16:49:22 +00:00
Justin T. Gibbs
bd524f1b07 Initialize SIMODE1, SCSIID, and SXFRCTL1 in ahc_init instead of at each
reconnection/selection with a target.
1995-01-22 00:48:39 +00:00
Justin T. Gibbs
d7be8cb6e9 Change the string returned in the aic7870 motherboard probe case. Change
#define to a more appropriate name.
1995-01-22 00:47:50 +00:00
Justin T. Gibbs
c135d93bbf aic7xxx.c:
Print out the length of the compiled sequencer program.

aic7xxx.seq:
	More optimizations.  Replace generic bcopy routine with bcopy_3
and bcopy_4 (ie unroll the loops) since these are the only two cases used.
Initialize SIMODE1 and SXFRCTL1 from the kernel in ahc_init instead of
at each selection/reselection since this is expensive and only needs to
be done once.  Condense function returns into previous instruction if possible.
Reorder some sections to kill superflous jumps.  These optimizations kill
the ~150k/s penalty adding support for Twin/Wide cards was costing since
the last place in the commaon path of execution where we had to do ugly,
convoluted testing for the type of card in the sequencer has gone away.
Next stop tagged queuing and target mode.
1995-01-22 00:46:53 +00:00
Garrett Wollman
1253de3840 Fix from Rod so that std_rqs.c can get rebuilt properly when
doing a make world.
1995-01-21 23:30:31 +00:00
Garrett Wollman
a6066145ff *** empty log message *** 1995-01-21 23:01:33 +00:00
Garrett Wollman
41be2d70c9 `make world' fixes from Pat Barron, Mark Murray.
Closes PR #156.
1995-01-21 23:01:19 +00:00
Bruce Evans
1a0518966d Don't use mi_switch() to terminate cpu_exit(). Calling it just happened to
work (mi_switch() counted the last timeslice again but this didn't affect
the exiting process' rusage because the rusage has already been finalized).

Remove stale comment.
1995-01-21 15:34:03 +00:00
Bruce Evans
cee6d3700d Remove unused definitions of vm statistics counters. Most of the
counting is now done in C.  There are still about 100 unused
definitions for other things.
1995-01-21 15:22:28 +00:00
Bruce Evans
e6891db8c5 Don't count context switches here, they are already counted in mi_switch(). 1995-01-21 15:20:23 +00:00
Bruce Evans
d7e3a89f1f Don't count the parent's previous timeslice in the child's resource usage
(it was counted twice).

Set the start time more accurately.
1995-01-21 15:08:57 +00:00
Bruce Evans
54c2af254d #Include <sys/types.h> so that <sys/resource.h> can be #included without
explicitly #including <sys/types.h>.  Some gnu software (?gdb) depends on
this and broke when I fixed <stdio.h> to not include <sys/types.h>.

Bruce
1995-01-21 14:58:25 +00:00
Bruce Evans
dd3d164f9e Update comments about MISSING and GNU versions. 1995-01-21 14:47:33 +00:00
Bruce Evans
46d8d93500 Don't default to -g in ${CFLAGS}. Developers can still use `make g=-g ...'
for debugging.  The default ${CFLAGS} still clobbers the system default
of -O2 to -O.
1995-01-21 14:41:45 +00:00