Commit Graph

10972 Commits

Author SHA1 Message Date
Bruce Evans
84478e7f42 Fixed setting of speed B0 - don't output a bogus divisor of 0 and a
random prescaler, just hang up.  This may fix hangup problems with
mgetty.
1995-11-26 17:13:23 +00:00
Joerg Wunsch
8807593b7e Make the default tape device match dump(8). 1995-11-26 16:57:37 +00:00
Satoshi Asami
a33f5158b1 Add Donald Burr <d_burr@ix.netcom.com> for his contribution of the
workman port.
1995-11-26 13:44:48 +00:00
Satoshi Asami
a72b1b79b2 Make the {FETCH,BUILD,RUN}_DEPEND targets work with non-executable files
too.  Basically, if the name starts with a "/", it's tested with "test -e";
otherwise, it's tested with "witch -s".

Reviewed by:	the ports list (well at least nobody complained)
1995-11-26 12:35:49 +00:00
Bruce Evans
89e36521ab Fixed beforeinstall rule. .CURDIR was spelled .SRCDIR.
Changed beforeinstall rule to use `install -C' instead of `cmp -s'
and `install -c'.  `install -C' has exactly the right semantics
for installing headers and should be used elsewhere.
1995-11-26 09:51:42 +00:00
Jordan K. Hubbard
c2e6431816 Bring forward libkadm change from 2.1 1995-11-26 07:31:13 +00:00
Jordan K. Hubbard
3b34e61a0a My reorganization of chapter 9.
Reviewed by:	jfieber
1995-11-25 20:00:49 +00:00
Peter Wemm
4620010dfc Add -DNOCLEAN option which totally and utterly disables any form of
cleaning during a make.  This may give you more rope to hang yourself if
you are caught with some subtle dependency on installed binaries in your
build, but if you are doing daily 'make -DNOCLEAN world' it's not too bad
at all.  It could take as little as 30 minutes to do an entire sync-up of
your binaries if everything's up to date, especially if you are using
'INSTALL=install -C' in /etc/make.conf (highly recomended!).

Also, add a "reinstall" target. You can do a 'make DESTDIR=/mnt reinstall'
where /mnt is the nfs root of a machine and you get the install parts of
the make world run on it.

I saw this on -hackers quite some time ago and included it in my Makefile
and have been using it on and off for a while. Alas, I cannot find the
actual message with the author's name...
1995-11-25 01:28:07 +00:00
Peter Wemm
3c64c6ee8d Part two of a repository operation to sort out the libmp/libgmp builds.
After this commit, you should be able to build libmp and libgmp independently
and without being forced to do a make depend first..
1995-11-25 00:14:03 +00:00
Peter Wemm
30a2d5501c Connect fsdb to /sbin makefile... 1995-11-24 23:17:58 +00:00
Peter Wemm
e10719ee6a Adjust relative paths in Makefile to ../sbin/fsck and ../../sys/ufs/ffs 1995-11-24 23:12:00 +00:00
Peter Wemm
a92a00527e Disconnect fsdb in preperation for move to /sbin 1995-11-24 23:00:02 +00:00
Bruce Evans
9c68e470a2 Oops, the previous change was missing the declaration of `struct
buf_queue_head'.  It isn't forward declared in <sys/types.h> like
`struct buf'.
1995-11-24 15:59:11 +00:00
Bruce Evans
fec104de77 Completed function declarations and/or added prototypes. 1995-11-24 15:15:30 +00:00
Bruce Evans
b8a89c9ada Added bogusly placed extern prototypes for functions that should probably
be static.
1995-11-24 15:08:07 +00:00
Bruce Evans
d818a9cc1f Fixed a comment. 1995-11-24 14:56:00 +00:00
Bruce Evans
88c2c2b3d2 Declared tqdisksort(). <sys/disklabel.h> is the wrong place, but
<sys.disk.h> isn't used, so the declaration there isn't seen.
1995-11-24 14:50:39 +00:00
Bruce Evans
058284fceb Completed function declarations and/or added prototypes and/or #includes
to get the prototypes.

Changed some `int's to `boolean_t's.  boolean_t's are ints so they are
hard to distinguish from ints.

Converted function headers to old-style.  ddb is written in K&R1 C
except where we broke it.
1995-11-24 14:13:42 +00:00
Bruce Evans
4753168fae Completed function declarations and/or added prototypes.
Removed `extern' from prototypes.
Sorted prototypes.
Uniformized idempotency ifdefs.
1995-11-24 13:53:05 +00:00
Bruce Evans
7f0e0625f6 Staticized. Moved some ero-initialized values to the bss.
Added prototypes.
1995-11-24 13:27:24 +00:00
Bruce Evans
68857518ce Cleaned up prototypes:
- don't #include other headers just to get struct names.
- don't use __BEGIN_DECLS/__END_DECLS for system prototypes.  It is for
  user prototypes.
- don't use extern.
- don't use lines longer than 80 columns.
- use alphabetical order.
- use tabs.

Uniformized idempotency ifdefs.
1995-11-24 12:25:13 +00:00
Bruce Evans
aa0bd366d5 Fixed a bogus name (ifn_en) that was introduced when a type mismatch
was fixed.
1995-11-24 12:07:33 +00:00
Bruce Evans
530e1829ef Added #include <sys/queue.h>. This will be required when I move
the (inline) implementations of insque() and remque() from
<machine/cpufunc.h> to <sys/queue.h>.
1995-11-24 12:01:08 +00:00
Bruce Evans
e316debe42 Undid bogus cleanups. 0 was mistyped as NULL. 1995-11-24 11:43:55 +00:00
Joerg Wunsch
68b8d35346 Add a short man page for cfree(3), in order to hint people about its life in libcompat. 1995-11-24 08:36:51 +00:00
Jordan K. Hubbard
f2e2018809 Various tweaks to things I noticed while reading these docs. 1995-11-24 07:55:27 +00:00
Andrey A. Chernov
07e8877db1 Merge with current. Back out all trailing spaces changes, they
hits again and again.
1995-11-23 20:19:56 +00:00
Andrey A. Chernov
ec1450fb63 This commit was generated by cvs2svn to compensate for changes in r12461,
which included commits to RCS files with non-trunk default branches.
1995-11-23 19:28:56 +00:00
Andrey A. Chernov
39a9eb721a Import of 1.9.5, one my fix included to mainstream 1995-11-23 19:28:56 +00:00
John Dyson
dc4a0cee58 Update the wd.c driver to use the new TAILQ scheme for device
buffer queue.  Also, create a new subroutine 'tqdisksort' that
is an improved version of the original disksort that also uses
TAILQs.
1995-11-23 07:24:41 +00:00
Stefan Eßer
09a67ffa0e Increase width of Network column from 11 to 13 for the AF_INET case.
This seems to have been missed, when the recent IPX changes went in ...
1995-11-22 22:21:04 +00:00
Bruce Evans
1f3dad5a8d Completed function declarations and added prototypes.
Removed some unnecessary #includes.

Fixed warnings about nested externs.
1995-11-22 07:43:53 +00:00
Bruce Evans
55054f3540 Completed function declarations, added prototypes and removed redundant
declarations.
1995-11-21 15:51:39 +00:00
Bruce Evans
f30e535f00 Completed function declarations, added prototypes and removed redundant
declarations.
1995-11-21 15:14:28 +00:00
Bruce Evans
dc288b6fc5 Completed function declarations, added prototypes and removed redundant
declarations.
1995-11-21 14:56:02 +00:00
Bruce Evans
8be8b2a157 Made pci.c compile again. It unfortunately depends on the isa interrupt
interface.  Adding prototypes just made the dependency explicit.
1995-11-21 13:59:56 +00:00
Bruce Evans
512fef80a9 Completed function declarations and/or added prototypes. 1995-11-21 12:55:26 +00:00
Satoshi Asami
9357b8ba06 Update Japanese mirror site list and put it in proper alphabetical
location.

While I'm here, correct a minor typo in HK's server.
1995-11-21 10:56:12 +00:00
Bruce Evans
6ad175be4d Restored static variable `nsio_tty' which is used only by pstat(8). Made
it `const' to inhibit compiler warnings.

Added #include of <pccard/driver.h> to get prototypes.  <pccard/slot.h>
is still necessary for its side effect of exporting non-slot things.
1995-11-21 09:15:04 +00:00
Bruce Evans
63136e04c6 New file for pccard driver interface declarations. 1995-11-21 08:49:21 +00:00
Bruce Evans
d9c15605e3 Fixed replication error so that this compiles again.
Removed bogus comment and useless braces.
1995-11-21 08:35:49 +00:00
Poul-Henning Kamp
c9c0fe135d Make the LKM version compile again.
Pointed out by: Michael Smith <msmith@atrad.adelaide.edu.au>
1995-11-21 08:27:00 +00:00
Mark Murray
f92b5f0f32 After some more investigation I found that I can build a release from scratch
by just adding the following patch. I think this is much cleaner than my
previous patch that changed release/Makefile allthough I still think we can
add the -DNOMAN in some places. :-)

John
--
Submitted by:John.Hay@csir.co.za
1995-11-21 06:35:37 +00:00
Bill Paul
abc60cd9fc Amend my fix a bit. My way failed to take leap years into account. The
simplest thing is to just calculate the days using curtime - boottime / 86400.
The modification for this is less obtrusive anyway.

Suggested by: Bill Fenner <fenner@parc.xerox.com>
1995-11-21 05:43:27 +00:00
Peter Wemm
10459e8c10 Link up John Hay's ar(4) man page..
This shouldn't conflict with ar(1) because of the search order...
1995-11-21 04:02:37 +00:00
Peter Wemm
fbe98235bb Man page for the Arnet driver.. 1995-11-21 03:07:26 +00:00
Peter Wemm
e7c234a1a1 Add and document the hooks for John Hay's Arnet sync driver... 1995-11-21 02:50:10 +00:00
Peter Wemm
cc9fce5ad7 This driver supports the Arnet SYNC/570i ISA cards that is based on the
HD64570 chip. Both the 2 and 4 port cards is supported and auto detected.

Line speeds of up to 2Mbps is possible. At this speed about 85% of the
bandwidth is usable with 486DX processors.

The standard FreeBSD sppp code is used for the link level layer. The
default protocol used is PPP. The Cisco HDLC protocol can be used by
adding "link2" to the ifconfig line in /etc/sysconfig or where ever
ifconfig is run.

At the moment only the V.35 and X.21 interfaces is supported. The others
may need tweaks to the clock selection code.

Submitted by: John Hay <jhay@mikom.csir.co.za>
1995-11-21 02:32:04 +00:00
Peter Wemm
8fb90141c8 If a lcp configure request is received in the lcp opened state and it
is acknowledged, it should go to the lcp ack sent state.

Don't reply on lcp echo requests when not in the lcp opened state.

If the interface is set to CISCO mode, it should still be marked
running when ifconfiged.

Fixed a few indentations that had gone wrong somewhere.

Submitted-by: John.Hay@csir.co.za
1995-11-21 01:23:13 +00:00
Peter Wemm
d57885c30d If sendmail is collecting a message *not* via SMTP, then this patch will
turn off the read data block timeouts.  This was inspired by the same fix
in sendmail-8.7, but the code in this area is somewhat different. (8.7
is much more sensible).  This will stop the infamous
"timeout waiting for input during message body read" on long running jobs,
eg: /etc/daily | mail root.
1995-11-20 23:32:21 +00:00