Commit Graph

2460 Commits

Author SHA1 Message Date
dg
78a002271c Got rid of some old, unused junk. 1994-09-01 03:16:40 +00:00
dg
64678399d3 Got rid of redundant declaration, and changed IFF_LLC0 to IFF_LINK0. 1994-09-01 03:08:27 +00:00
dg
e7dd2e7a69 Added ze driver (brought over from 1.1.5). 1994-09-01 02:21:20 +00:00
se
bb46911c5b Submitted by: Stefan Esser <se@ZPR.Uni-Koeln.DE>
Added "device pci" and "device ncr" lines for a generic kernel with
support for the NCR 53c810 PCI SCSI host adapter (with no interrupts
configured, ie. working with 100Hz timer interrupts only).
1994-09-01 02:19:28 +00:00
se
e3667f152e Submitted by: Stefan Esser <se@ZPR.Uni-Koeln.DE>
Added entry for 'de' device in anticipation of Matt Thomas'
PCI Ethernet driver (required by the PCI autoconfig code).
1994-09-01 02:12:23 +00:00
se
c920f621ff Submitted by: Wolfgang Stanglmeier <wolf@dentaro.GUN.de>
Merged in changes required for NetBSD support (by mycroft@gnu.ai.mit.edu)
and support for multiple NCR chips.
1994-09-01 02:01:45 +00:00
se
6f4f06c23c This commit was generated by cvs2svn to compensate for changes in r2432,
which included commits to RCS files with non-trunk default branches.
1994-09-01 01:45:19 +00:00
se
6ea291b5ca Submitted by: Wolfgang Stanglmeier <wolf@dentaro.GUN.de> + Stefan Esser <se>
Directory for PCI autoconfigure and device driver code.
1994-09-01 01:45:19 +00:00
se
2c2543e63e Submitted by: Wolfgang Stanglmeier <wolf@dentaro.GUN.de> + Stefan Esser <se>
Directory for PCI autoconfigure and device driver code.
1994-09-01 01:45:19 +00:00
se
bd27dbfd36 Reviewed by:
Submitted by:
Added lines for 'pci' and 'ncr' devices (found under i386/pci).
1994-08-31 23:40:38 +00:00
se
b51d04ad13 Reviewed by: Stefan Esser <se>
Submitted by:	Wolfgang Stanglmeier <wolf@dentaro.GUN.de>
Added PCI support (call of pci_config(), if NPCI > 0).
1994-08-31 23:36:56 +00:00
se
26048972fc Reviewed by: Stefan Esser <se>
Debugger() takes an (char*) argument, changed macro definition accordingly.
1994-08-31 23:32:32 +00:00
se
bd59f4fdab Reviewed by: Stefan Esser <se>
Calculation of 'cd->cmdscount' now as in 'sd.c' (required for ncr scsi).
CDOUTSTANDING defined as '1' (as the comment says), was '2' in fact ...
Debugger takes an (char*) argument, changed macro definition accordingly.
1994-08-31 22:50:08 +00:00
dg
91977ea9d1 Fixed stupid bug which prevented any command line options from being
understood.

Submitted by:	Uwe Arndt (arndt@mailhost.uni-koblenz.de)
1994-08-31 17:20:12 +00:00
dg
a80566aad6 Fixed bug that surfaced with last commit for NOBOUNCE -> BOUNCE_BUFFERS by
adding appropriate #ifdefs and changing some variables to externs (as they
should have always been).
1994-08-31 15:55:29 +00:00
bde
6eb79dae2d Build ntp_adjtime.o and ntp_gettime.o so that xntpd compiles.
Don't add to POBJS or SOBJS.  bsd.lib.mk does it.  Some objects were
duplicated.

Don't add to CLEANFILES.  bsd.lib.mk does it.  Some objects were
quadruplicated.

Define variables that are only used once close to where they are
used.

The ifdefs for avoiding building of profiled/shared objects when
NOPROFILE/NOPIC are set were not actually committed.  The ifdefs
belong in bsd.lib.mk anyway.
1994-08-31 15:18:06 +00:00
csgr
70af780508 Fix comparison of int against unsigned when checking error return
from recvfrom()
(This bug is also present in FreeBSD 1.1.5.1.)
Bug Reported by : Thomas.Koenig@ciw.uni-karlsruhe.de
Reviewed by:	geoff.
1994-08-31 12:38:18 +00:00
dg
82189d4894 Conditionalized support for syscons as the console so that it can be
made optional in the kernel config file.

Submitted by:	John Hay
1994-08-31 07:44:22 +00:00
dg
a9a9ceeae2 Rather than exclude bounce buffers support with NOBOUNCE, include it
with BOUNCE_BUFFERS. This is more intuitive, and is better for future
multiplatform support. Added BOUNCE_BUFFERS option to the GENERIC and
LINT kernel config files.
1994-08-31 06:17:49 +00:00
dg
e149c00463 Do uname -rs instead of uname -a when generating /etc/motd. 1994-08-31 05:31:42 +00:00
dg
9335489bec Quiet down compiler warnings. 1994-08-31 04:45:24 +00:00
paul
357c65d4fe Changed g++ to c++
Reviewed by:
Submitted by:
1994-08-31 03:57:32 +00:00
wollman
4275234ba7 Undo some of Bruce's ``clean-up''. Don't be so damned verbose. 1994-08-30 21:46:05 +00:00
dg
cb1b0be279 Changed STRC -> P_TRACED. 1994-08-30 20:18:52 +00:00
dg
58307fe360 Whoops...clean up after me cleaning up after Bruce. 1994-08-30 20:11:40 +00:00
dg
945e895904 Cleaned up after Bruce: there were still some things that included
com.h/lpa.h. Removed all vestiges of com/lpa out of conf.c and also
fixed up the end of cdevsw/bdevsw to have "no" routines instead of
a NULL pointer (suggested by someone a few weeks back).
1994-08-30 19:36:35 +00:00
dg
724a6d0049 Moved gpl'd fpemul into 2.0 cvs tree. Changed it's location to
sys/gnu/i386/fpemul/.
1994-08-30 19:01:44 +00:00
dg
16e35aa368 Fixed bug caused by change of rlimit variables to quad_t's. The bug was in
using min() to calculate the minimum of rss_cur,rss_max - since these
are now quad_t's and min() takes u_ints...the comparison later for exceeding
the rss limit was always true - resulting in rather serious page thrashing.
Now using new qmin() function for this purpose.

Fixed another bug where PG_BUSY pages would sometimes be paged out (bad!).
This was caused by the PG_BUSY flag not being included in a comparison.
1994-08-30 18:27:44 +00:00
dg
33e88fdce9 Added qmin and qmax functions to deal with quad_t's. 1994-08-30 18:19:47 +00:00
dg
f81bd8035b Changed to reclaim memory from other buffers to eliminate memory
thrashing.

Submitted by:	John Dyson
1994-08-30 18:19:11 +00:00
bde
4e783802c8 Don't define LOCORE (as nothing) in sources. It is now defined
consistently (as 1) in Makefile.i386 for all assembler sources.
1994-08-30 17:19:10 +00:00
bde
baa690397f Add conf.c, machdep.c, exception,s, support.s and swtch.s so that config
will do most of the work for handling them.  Only one extra flag and one
bogus dependency was used for machdep.c and there was never anything
special about the others.

Add locore.s, but commented out.  It's still special.

Remove com.c and lpa.c.
1994-08-30 17:18:34 +00:00
bde
20ffc3e5ab Remove exception.o, swtch.o, support.o, conf.o and machdep.o from
SYSTEM_OBS.  They are now normal objects.

Remove stale dependencies for the above now-normal objects and for
locore.o and generate dependencies using mkdep.  Config doesn't
generate lists of assembler source files so the lists to be mkdep'ed
have to be given explictly.  Only the standard *.s files are given,
so the dependencies for gnu/fpemul/*.s are incomplete.  *.S files
would be handled right if config put them in CFILES.

Don't define NPX.  It was replaced by NNPX > 0 years ago.

Define LOAD_ADDRESS in COPTS so that compiling machdep.c isn't a special
case.

Moving around the dependencies exposed a bug in make.  It doesn't
know that assym.s and ./assym.s are the same.  Add a rule tell it.
1994-08-30 17:17:49 +00:00
adam
fd9144aae7 added hook for post-build script
Reviewed by:
Submitted by:
1994-08-30 16:39:27 +00:00
bde
199077a743 Use cc -E instead of cpp for the preprocessor by default. cc -E is
correct for C sources that are compiled by cc, while cpp (/usr/bin/cpp)
is bogus since it invokes /usr/libexec/cpp with different flags.
1.1.5 uses plain cc.  This should be equivalent after -M is added, but
cc -M foo.s is completely broken (it invokes the assembler) while
cc -E -M foo.s just does nothing instead of generating a foo.o: foo.s
dependency.

IF $MKDEP_CPP is set, use it as the cpp instead of cc -E.  Assembler
sources that are preprocessed using cpp directly should be mkdep'ed
with MKDEP_CPP=cpp.  Such sources shouldn't exist but we still have
lots.  foo.S should be compiled by cc -traditional (cc will invoke the
preprocessor) and foo.s should be compiled by cc (cc won't invoke the
preprocessor).
1994-08-30 16:36:49 +00:00
ache
066424d7d9 Change RAW_PART back to 3, too early step right now, disklabels need more
work
Change hardcoded 3 value in several places to RAW_PART define
1994-08-30 14:31:38 +00:00
ache
09c71a96da Change WDRAW back to 3, too early step right now, disklabels needs more
work
Change hardcoded 'd' in printfs to 'a' + WDPART
1994-08-30 14:26:13 +00:00
jkh
5abd616a3e Remove xntpd for now until it works.
Submitted by:	jkh
1994-08-30 10:06:53 +00:00
bde
5def359657 Conditionalize support for my debugger. This normally saves 304 bytes. 1994-08-30 01:38:04 +00:00
jkh
54330c2cb2 Make decl/define for Debugger() match reality.
Submitted by:	jkh
1994-08-30 00:12:11 +00:00
ache
2e446d1495 Fake floppy partition RAW_PART=2 now 1994-08-29 21:47:11 +00:00
ache
1f5f925f37 RAW_PART=2 1994-08-29 21:37:49 +00:00
ache
c9598ae00e Now WDRAW=2 1994-08-29 21:35:16 +00:00
ache
49d6dcaa6d Use RAW_PART=2 to trick diskerr 1994-08-29 21:32:31 +00:00
ache
c5f7892f99 Raw partition is 2 now 1994-08-29 21:25:11 +00:00
ache
9e88d4363b Raw partition is 2 now 1994-08-29 21:19:27 +00:00
jkh
4e29f11c60 Use LDDESTDIR and DPADD more consistently with what Bruce suggests..
Submitted by:	jkh
1994-08-29 18:42:12 +00:00
dg
5bf16575e5 Changed output formatting to correctly represent the precision - it's
not cool to truncate trailing zeros..
1994-08-29 17:45:43 +00:00
dg
1095f127fc Use gnumalloc to help reduce memory consumption. 1994-08-29 17:38:28 +00:00
ache
8aa2891ca7 Ignore SIGQUITs, cause getty dumps core on garbadge from modem line 1994-08-29 17:28:58 +00:00