Commit Graph

4374 Commits

Author SHA1 Message Date
bde
0b892afd56 Don't build an unused array of kernel names when HAVE_GETBOOTFILE is
defined.

Don't use the newfangled C features to waste time building the array
at runtime when HAVE_GETBOOTFILE is not defined.
1994-11-14 07:51:11 +00:00
bde
d1be7de765 Fix logic in previous commit. 1994-11-14 07:13:12 +00:00
bde
bace7f3e04 Remove the bogus include of <sys/dkbad.h>. 1994-11-14 07:01:58 +00:00
bde
c603fd4473 Install shared libraries in ${SHLIBDIR} instead of in ${LIBDIR}.
Add missing ${DESTDIR}'s.
1994-11-14 06:45:23 +00:00
bde
8cb56044aa Install shared libraries in ${DESTDIR}${SHLIBDIR} instead of in
$(DESTDIR)/$(LIBDIR) (I need SHLIBDIR.  The / was a bug and the
$(...) style was inconsistent.)

Install ordinary libraries in ${DESTDIR}${LIBDIR} instead of in
$(DESTDIR)/$(LIBDIR).

Change remaining $(...) to ${...}.
1994-11-14 06:44:45 +00:00
bde
4feb253d94 This change was actually made in the previous revision:
Define SHLIBDIR?= ${LIBDIR} and install shared libraries in
${DESTDIR}${SHLIBDIR} instead of in ${DESTDIR}${LIBDIR}.
SHLIBDIR may be defined in /etc/make.conf to override the
default of /usr/lib (I use /lib).  Other changes are required
for non-default shared library directories to actually work
(ld* and crtso have too many hard-coded paths).

Bruce
1994-11-14 06:28:20 +00:00
bde
fa6f7683fa Clean up some foreign makefiles a bit, attempting to handle .sh files
more like binaries.  This is hard to do using a general rules because
the natural `.sh:' rule has a null suffix and null suffixes are broken.
(With 1.1.5's make they sometimes work and sometimes cause core dumps.
2.0's make has a botched fixed and they never work.)
1994-11-14 05:57:36 +00:00
bde
ced9d65f75 Include <sys/types.h> early. This will be required when <stdio.h> and/or
<signal.h> are fixed to not include it.

Bruce
1994-11-14 05:16:46 +00:00
bde
fb7244bdb6 Define `RANTOUCH?= ${RANLIB} -t' and use it instead of ${RANLIB} -t.
RANTOUCH may be defined in /etc/make.conf as
`${ECHO} skipping ${RANLIB} -t' to help stop `make install' from
changing the timestamps on unchanged libraries, thus making the
uninstalled binaries appear to be out of date...  Other changes
are required to stop install from clobbering the timestamps.
1994-11-14 04:55:39 +00:00
bde
3c05bec7c6 Define LIBEDIT, LIBGCC, LIBKVM, LIBSCRYPT and LIBY.
Comment about missing libraries for LIBDES, LIBKDB, LIBKRB, LIBMP, LIBPC
and LIBPLOT.

Don't define LIBDBM since it was replaced by db in libc.

Remove duplication.  ${DESTDIR}/usr/lib/... gives /usr/lib/... even when
DESTDIR is not defined.
1994-11-14 04:28:44 +00:00
bde
784a582a54 Replace strtol() by strtoul() so that "negative" addresses and masks don't
get truncated to LONG_MAX.  Don't lobotomize the merged library source.

Make all private data static.

Use int_parms for the i/o "address" since the "address" is really a number
and is represented as an int.

Add command `flags' to allow changing device flags.

Fix scrolling of device listing.  Only scrolling of the current devtab
was controlled.  Reprint the header after scrolling.

Rename commands and change strings to match their config(8) keywords:

	io -> port
	IOaddr -> port
	mem -> iomem (abbreviation is io :-()
	MemAddr -> iomem
	case changes

Don't use NULL for ASCII NUL.

Call strtoul() with base 0 for both numbers and addresses so that input
is consistent and hex and octal can be used for numbers.

Fix entry of irq number.  Check the range at no extra cost.  It wasn't
possible to enter irq -1.

Format device listing better.  Large numbers (such as 0xffffffff for the
GENERIC lpt0 port) messed up the formatting.

Show the unit number in the device listing.  Comment about the fields
that aren't shown.
1994-11-14 03:22:28 +00:00
dg
30750e0d50 Set laundry flag when transitioning an inactive page from clean to dirty.
This fixes a performance bug where pages would sometimes not be paged
out when they could be.

Submitted by:	John Dyson
1994-11-14 02:57:40 +00:00
dg
00b907b373 Fixed bug where a read-behind to a negative offset would occur if the
fault was at offset 0 in the object. This resulted in more overhead but
was othewise benign. Added incore() check in vnode_pager_has_page()
to work around a problem with LFS...other than slightly higher overhead,
this change has no affect on UFS.
1994-11-13 22:48:55 +00:00
nate
f37c028f98 Fixed a mis-spelling. 1994-11-13 21:19:18 +00:00
nate
5df12e75f8 Added the DEC ethernet cards to the list of supported ethernet drivers. 1994-11-13 21:17:38 +00:00
nate
b79b58af2f Changed output message in interrupt-driven lp device from
'TCP/IP interface' to 'TCP/IP capable interface' to avoid confusion.
1994-11-13 21:14:30 +00:00
phk
fa88b1974f Add a new "distribute" target. This is a variant of install, which will
put the stuff into the right "distribution".  As default things end up
in "bindist".

Normal (ie: most) makefiles know naught of this.

More commits will follow, which will direct various parts of the tree
into the distribution we want them in.

Some of the grief of being release-engineer is supposed to go away with this.
1994-11-13 21:05:28 +00:00
phk
1c74ec5ce8 Added routines to read the canonical UNIX configuration file. This will
later be applied to a number of programs (inetd for instance) to clean
out the bogus code doing the same thing, modulus all the bugs.

If you need to read a '#'-is-a-comment-file, please use these routines.

I realize that the shlib# should be bumped (for the non-US world:
increased by something), but will defer this until something significant
happens.
1994-11-13 20:47:44 +00:00
dg
99b074a804 Fixed bugs in accounting of swap space that resulted in the pager thinking
it was out of space when it really wasn't.

Submitted by:	John Dyson
1994-11-13 15:36:48 +00:00
dg
501292a647 Implemented swap locking via P_SWAPPING flag. It was possible for a process
to be chosen for swap-in while it was being swapped-out. This was BAD.

Submitted by:	John Dyson
1994-11-13 12:47:07 +00:00
dg
9283a99c2f Added P_SWAPPING flag to implement a lock for swap in. It was possible for
a process to be chosen for swap-in while it was being swapped-out. This was
BAD.

Submitted by:	John Dyson
1994-11-13 12:46:08 +00:00
dg
0bc6707192 Added support for SIOCSIFMTU ioctl. Fixed bug that caused panic at boot time
related to interrupts being enabled before the device attach. The interrupt
should be mapped *after* the device attach.
1994-11-13 12:39:38 +00:00
gibbs
6b68f862c1 Add ep0 line to kernel config files. 1994-11-13 10:17:07 +00:00
gibbs
4a2be83ec1 Andres Vega Garcia's improvements to the ep driver. This driver is a merging
of the 1.1.5 driver, a recent version of the NetBSD driver, Andres'
transmission start threshold code, and all other relavent changes to the driver
since it was brought into 2.0.  The multicast support from NetBSD has not be
folded in yet.  I've tested it under high loads for two weeks and it is now
robust enough to be included in the GENERIC kernel.
Reviewed by: gibbs
Submitted by:	vega@sophia.inria.fr (Andres Vega Garcia)
1994-11-13 10:12:37 +00:00
nate
28e0b212de Add Matt Thomas' le0 DEPCA driver to the GENERIC kernel. This works
but I can't test to see if it walks on other ethernet drivers.  Can the
install folks add this driver to the install script?
1994-11-13 09:42:07 +00:00
nate
549cf99870 Added VLB to the list of PC busses supported since this question comes up
often on USENET.

Added comments regarding the new 'extended IDE' controllers, which work with
FreeBSD but do not use the extended features.

Minor formatting changes.
1994-11-13 09:19:04 +00:00
paul
8132c0788a Fix some bugs with forms that have only text fields.
Add an extern form to forms.h for apps to pick up.
1994-11-13 07:43:43 +00:00
jkh
05e791006e There were some bogons with redirection to /dev/ttyv1 lurking here.
Fix them.
1994-11-13 07:27:36 +00:00
dg
548476f31f Nuked ed2 - it was added for the common 16bit card case where the
irq is 10. This is auto-sensed/configured now in the 'ed' driver.
1994-11-13 07:20:03 +00:00
dg
812c3c9275 In cases where it is possible, use the card's configured irq rather than
the one compiled into the kernel. Left in some commented-out shared memory
performance test code.
1994-11-13 07:17:46 +00:00
paul
70648651b9 The start of a forms editor library. Currently implements text and
input fields. It reads a template file passed to init_forms(char *)
and creates a curses based form editor. See the examples directory
for a basic demo.
1994-11-13 06:45:44 +00:00
jkh
b920c29170 Adjust the size of the input box. It looks a bit funkier now,
but at least the code is smaller!
1994-11-13 06:32:40 +00:00
jkh
997ed1e99d Fix merge conflicts. 1994-11-13 06:11:02 +00:00
jkh
92ee99deb0 This commit was generated by cvs2svn to compensate for changes in r4422,
which included commits to RCS files with non-trunk default branches.
1994-11-13 05:57:35 +00:00
jkh
56f191e34f Michael Reifenberger's libg++ port
Submitted by:	mr
1994-11-13 05:57:35 +00:00
jkh
57230199f6 Michael Reifenberger's libg++ port
Submitted by:	mr
1994-11-13 05:57:35 +00:00
jkh
8ab215cb8b This commit was generated by cvs2svn to compensate for changes in r4420,
which included commits to RCS files with non-trunk default branches.
1994-11-13 05:54:27 +00:00
jkh
1a97c0026b Michael Reifenberger's libg++ 2.6.1 port.
Submitted by:	mr
1994-11-13 05:54:27 +00:00
jkh
6f8adb8f9c I buggered the last commit. Make sysinstall work again (^$&*!! missing
comma!).
1994-11-13 04:20:23 +00:00
jkh
711c9e156e Support ufs installations. 1994-11-13 03:48:55 +00:00
jkh
e1be81e561 Whoops! Update the size of the main menu to 7 items. I'm sleepy. 1994-11-13 02:06:50 +00:00
jkh
8c466f2d04 I *almost* had it right. Skip over the rest of the command if it's
abbreviated.
1994-11-13 01:55:33 +00:00
jkh
e3675774f1 Disable the building of the evil floppy images. We blew through the
1.2MB barrier again.  I tell ya, Poul, it's a losing game!  You shave
50 bytes off, the next change takes 100 back, and this is just ALPHA!
The 1.2MB weenies will _just have to buy new drives_!
1994-11-13 01:46:22 +00:00
jkh
c76e98fb6a Add my first-cut at a very short troubleshooting document. We can add
more stuff here as people report it.
1994-11-13 01:21:11 +00:00
jkh
c12137bc8e Change the name of the TROUBLE-2.0 file to TROUBLESHOOTING; it just makes
more sense.
1994-11-13 01:20:37 +00:00
jkh
8d668f0871 Now I know what this message is really supposed to say.. :-) 1994-11-13 01:14:38 +00:00
jkh
dcf775c141 Make the command set actually work the way I'd intended - you can abbrevate
commands now, as long as whatever you abbreviate them to remains unique.
1994-11-13 00:57:06 +00:00
jkh
49c319c0de Whoops, make the comment match the new reality while we're at it. 1994-11-13 00:43:29 +00:00
jkh
43d90a36fa mem's 2nd arg was incorrectly defined as an integer, not address parameter.
I found this out the hard way when I went to do:

	mem ed0 0xe8000

And found out that I had to enter the second parameter in decimal.. :-)
1994-11-13 00:42:01 +00:00
lars
c46a20d90e Delete duplicate pppd entry. Also move pppstats in the right spot lexically. 1994-11-12 22:24:17 +00:00