Commit Graph

4569 Commits

Author SHA1 Message Date
bde
f1b917b022 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
a0b97b8906 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
91436a2279 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
e226c88111 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
5bb14446b2 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
9f3046f5bc 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
3f1b0f5075 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
4447d9f5c1 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
49181dd5a7 Fixed a mis-spelling. 1994-11-13 21:19:18 +00:00
nate
6c54ae2eeb Added the DEC ethernet cards to the list of supported ethernet drivers. 1994-11-13 21:17:38 +00:00
nate
e637a98a76 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
94e55d40f9 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
48bf3d3d0e 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
cf1d2fea84 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
01e4955a84 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
e89f049b6a 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
05ff8934e3 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
14a63f17d4 Add ep0 line to kernel config files. 1994-11-13 10:17:07 +00:00
gibbs
0edcf3a920 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
cb198fadcd 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
0a3cc4474d 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
5fde216ffb 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
df17864f4f There were some bogons with redirection to /dev/ttyv1 lurking here.
Fix them.
1994-11-13 07:27:36 +00:00
dg
aa7ecd21c7 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
7c27b70251 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
ec3127d29c 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
f427ece6c5 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
35ae95d68a Fix merge conflicts. 1994-11-13 06:11:02 +00:00
jkh
e69c9ccd1b 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
c21193cc8a 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
7cd72e0da9 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
7b9ea7d743 I buggered the last commit. Make sysinstall work again (^$&*!! missing
comma!).
1994-11-13 04:20:23 +00:00
jkh
715f0a01b5 Support ufs installations. 1994-11-13 03:48:55 +00:00
jkh
cde83c584f Whoops! Update the size of the main menu to 7 items. I'm sleepy. 1994-11-13 02:06:50 +00:00
jkh
bdf6418231 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
f7f5dd5ed6 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
38eaf912e1 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
0137006d39 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
67de5d8eaa Now I know what this message is really supposed to say.. :-) 1994-11-13 01:14:38 +00:00
jkh
6d7f44acc0 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
01aaa7bddb Whoops, make the comment match the new reality while we're at it. 1994-11-13 00:43:29 +00:00
jkh
74c4e6d5fb 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
01ed7fba28 Delete duplicate pppd entry. Also move pppstats in the right spot lexically. 1994-11-12 22:24:17 +00:00
jkh
e5cb677090 Install the soon-to-be-written troubleshooting file. 1994-11-12 20:40:14 +00:00
jkh
20dc4a7a1f Erm, on second thought, if it's named `mkextract.sh' then everyone
will think that it builds the extract.sh in THIS directory, which it
most certainly doesn't.  Rename it to be a bit longer, but more explanatory.
1994-11-12 20:39:15 +00:00
jkh
96fe75d118 Add the mkextract.sh script I use for the XFree86 distribution, just so
I have a master copy someplace.
1994-11-12 20:37:41 +00:00
jkh
e23dd47184 Add dmesg. 1994-11-12 20:36:28 +00:00
jkh
0669d98a63 Add hooks for a short trouble shooting document. 1994-11-12 20:34:18 +00:00