Commit Graph

16881 Commits

Author SHA1 Message Date
John Dyson
db2c0faa4c Vastly improved contigmalloc routine. It does not solve the
problem of allocating contiguous buffer memory in general, but
make it much more likely to work at boot-up time.  The best
chance for an LKM-type load of a sound driver is immediately
after the mount of the root filesystem.

This appears to work for a 64K allocation on an 8MB system.
1996-11-05 04:19:08 +00:00
Sujal Patel
e89054370f Add audio mixer ioctls.
Only writing to the mixer is implemented.
1996-11-05 02:04:37 +00:00
Wolfram Schneider
f078c9c9bc export PATH variable 1996-11-04 23:57:40 +00:00
Wolfram Schneider
f2cebac5c9 add PATH variable, use it 1996-11-04 23:54:01 +00:00
Wolfram Schneider
ea4da3a878 export PATH variable 1996-11-04 23:50:58 +00:00
Guido van Rooij
b3ac88f13f New vx driver for:
3COM 3C590 Etherlink III PCI,
        3COM 3C595 Fast Etherlink PCI,
        3COM 3C592 Etherlink III EISA,
        3COM 3C590 Fast Etherlink EISA,
        3COM 3C900 Etherlink XL PCI and
        3COM 3C905 Fast Etherlink XL PCI.

This driver is based on OpenBSD's driver. I modified it to run under FreeBSd
and made it actually work usefully.
Afterwards, nao@tom-yam.or.jp (HAMADA Naoki) added EISA support as well as
early support for 3C900 Etherlink XL PCI and 3C905 Fast Etherlink XL PCI.
He also split up the driver in a bus independant and bus dependant parts.

Especially the 3c59X support should be pretty stable now.

Submitted by:	partly nao@tom-yam.or.jp (HAMADA Naoki)
Obtained from:partly OpenBSD
1996-11-04 22:17:20 +00:00
Jeffrey Hsu
b20d9ed2e7 Add YYLEX and YYEMPTY macros to make byacc look more like bison.
Obtained from:  Cygnus source tree, with permission.
		Original commit by Jim Wilson, wilson@cygnus.com.
1996-11-04 21:54:52 +00:00
Wolfram Schneider
2a5a34dfa4 add FreeBSD 2.1.6 and 3.0 for .Fx macro 1996-11-04 21:02:51 +00:00
Søren Schmidt
10661203e7 Fix the hanging keyboard problem under Xaccel. Apprently we are loosing
an interrupt somewhere. The solution here is to check for keyboard
input each time the screen update timer ticks. Not pretty, but works.
1996-11-04 21:01:08 +00:00
Torsten Blum
ff4167733f Comment out the XIDLE extension stuff, it breaks make world on systems
with Xinside's CDE installed
1996-11-04 20:58:58 +00:00
Jeffrey Hsu
78769fbc6a struct mfsnode bloated in size by 12 bytes, so reduce spare padding by 3 longs.
We now only have 4 spare bytes before hitting the dreaded 32 byte threshold.
1996-11-04 20:53:02 +00:00
Jordan K. Hubbard
d57b472224 Placate Joerg some more by making screen savers get a reasonable default
timeout.
2.2-RELEASE candidate, like all the work here in release/sysinstall.
1996-11-04 17:42:22 +00:00
Bruce Evans
fd25850c96 Don't clobber max_ncyls, ending up guessing thetotal number of cylinders as
the number in the 4th slot.

Fixes PR 1893.

Should be in 2.1.5 and 2.2.
1996-11-04 17:40:43 +00:00
Bruce Evans
2ceaae21e9 Fixed backgrounding of ping, which was broken by the ^T changes in rev.1.3. 1996-11-04 17:25:03 +00:00
John Hay
d58e2ca341 Change my address to be more universal.
Add a note about our support for the SDL RISCom/N2 and N2pci cards.
2.2 candidate.
1996-11-04 17:21:20 +00:00
Wolfram Schneider
bb0d295728 manpages for rmgroup(8) and addgroup(8) 1996-11-04 17:21:11 +00:00
Bruce Evans
5020b5df96 Fixed recently-introduced bugs:
- `slstat' with no args dumped core.
- `slstat unit' always failed with a "sysctl linkspecific" error.
- the usage message was nonstandard.

Fixed old bugs:
- missing prototypes, Wformat errors, and other lint.
1996-11-04 17:14:43 +00:00
Bruce Evans
878152249a The interface number hasn't been a _single_ digit since prehistoric times. 1996-11-04 17:13:46 +00:00
Bruce Evans
b1f6a5fb5d Document that the `old' count is returned for the ENOMEM case. 1996-11-04 17:03:34 +00:00
Steve Price
e2a59009ba Change -I$(.CURDIR) to -I. in CFLAGS. As Bruce pointed out
$(...) is bad style and without -I. this program would not
compile unless ${.OBJDIR} == ${.CURDIR}.

Submitted by: bde
1996-11-04 16:14:16 +00:00
Bruce Evans
206e5b7e27 Fixed some races and misleading comments in ufs_rename().
1. When a directory is renamed to an existing (empty) directory,
it is possible for the target vnode to become the source vnode
underneath you (because another process may complete the same
rename).  It was assumed that this can't happen, and the bogus
errno EINVAL was returned.  This was fairly harmless.

Fix: return ENOENT instead, as if the source directory was renamed
a little earlier.

2. The same metamorphosis is possible for non-directories.  It was
assumed that this can't happen, and the code for handling "just
removing a link name" happened to be used.  This would have worked
except for fatal bugs in the link name removal - the link name was
assumed to still be there, and a null pointer was followed.

Fix: check the result of relookup().  This fixes PR 1930.

Notes:

(a) POSIX seems to say that removing link names shall have no effect.
BSD (4.4Lite2 at least) does something reasonable instead.

(b) The relookup() may find a file unrelated to the original.
Removing this isn't correct.  Consider 3 existing files A, B and
C, and concurrent renames: AB = rename(A, B), another AB, and
CA = rename("c", "a").  If rename() is atomic, then only the
following results are possible:

	AB, AB (fails), CA: A = original C, B = original A, C = gone
	AB, CA, AB:         A = gone,       B = original C, C = gone
	CA, AB, AB (fails): A = gone,       B = original C, C = gone

but ufs_rename() can give:

	A,AB,CA,B (sorta):  A = gone,       B = original A, C = gone

This usually doesn't matter, since getting into a race is usually
an error.
---

These fixes should be in 2.1.6 and 2.2.
1996-11-04 16:05:51 +00:00
Jordan K. Hubbard
5def50038a Use macros for package names so it's easier to update them in one
place (sysinstall.h) when packages change rev.

Change the way that the routing daemon is configured entirely, to
placate Joerg.  Also auto-load gated if it's specified, while we're at it.
1996-11-04 12:56:33 +00:00
Steve Price
f542f7ff84 Get rid of bogus #ifdef's. 1996-11-04 04:36:31 +00:00
Steve Price
485f6985a7 Upgrade to dc version 1.0 which comes bundled with
bc version 1.03.
1996-11-04 04:24:33 +00:00
Steve Price
defb499d08 Cleanup -Wall warnings added with upgrade to version 1.03. 1996-11-04 03:59:35 +00:00
Steve Price
7e0d34dec8 Upgrade to version 1.03. 1996-11-04 03:55:26 +00:00
Andrey A. Chernov
e1384c5e2d Install message catalog links according to standard naming convention
Message catalogs not works without this change

2.2 candidate
1996-11-04 02:52:33 +00:00
Andrey A. Chernov
f5fd1fa61e Fix PATH_MSGCAT
2.2 candidate
1996-11-04 02:28:31 +00:00
Jordan K. Hubbard
3c669c7ea7 Make it clearer that DNS has succeeded for your host choice. 1996-11-04 02:12:49 +00:00
Wolfram Schneider
28f8a0fe26 fix usage string 1996-11-04 00:53:12 +00:00
Masafumi Max NAKANE
e2e7a09936 In one place, bsd.port.mk was not enclosed in <tt></tt>.
Submitted by:	simokawa@sat.t.u-tokyo.ac.jp
1996-11-04 00:27:07 +00:00
Peter Wemm
9b26ad21cc Fill in some of the missing blanks for the tknvi and perl5 compile options.
Both options can be compiled if the appropriate ports are present.  These
are examples only and are commented out.
1996-11-03 21:32:37 +00:00
Peter Wemm
0e3dfa92bd The tcl/perl interpreter compile options were not really optional.
This is needed for building the boot crunch for 2.2 (It still needs a hook
so the release code can tell it when to build it without tcl etc).
1996-11-03 19:15:45 +00:00
Paul Traina
e601885835 This commit was generated by cvs2svn to compensate for changes in r19370,
which included commits to RCS files with non-trunk default branches.
1996-11-03 17:03:03 +00:00
Paul Traina
7929041ebe Import GDB in its full glory (all 25mb). We'll put it on a diet once it's
fully registered.

(This is the second try, the first import ignored .info files but not .info-*
 files, for some reason.  I'm going to make this consistent.)

Reviewed by:	core
Approved for:	2.2
1996-11-03 17:03:03 +00:00
Mark Murray
90c68a6718 Compile telnet from eBones instead of secure.
2.2 candidate.
1996-11-03 17:01:25 +00:00
Mark Murray
50ab54df69 Compile telnetd from eBones instead of secure.
2.2 candidate.
1996-11-03 17:00:12 +00:00
Mark Murray
58dee85f34 Compile libtelnet from eBones, not secure.
2.2 candidate.
1996-11-03 16:59:04 +00:00
Steve Price
2cde372bc2 Ok, instead of covering up the problem, let's fix it.
Reinstate the ability to use directories as input files
and make dc print an error message when trying to
lookup/set the value of an invalid register.

Suggested by: bde
1996-11-03 16:18:58 +00:00
Joerg Wunsch
07404e964a Print out permissions that could not be re-established using 0%o
instead of decimal.  Also, don't use the `l' modifier for something
that has just been cast to `int' anyway.

Remove various bogus pathnames to look up rsh(1) at.  Our rsh is in
/usr/bin, but never in /usr/usb, nor would it ever be called remsh...
Also, if it hasn't been found there, use execlp() to look it up.  the
latter is required for `weird' environments like a fixit floppy where
the regular /usr/bin hiearrchy is not avaiable.  tar should probably
do it similar to dump/restore, and use rcmd(3) instead of forking an
external process.
1996-11-03 14:47:52 +00:00
Masafumi Max NAKANE
6eb38cb1e5 Fixed a minor grammatical error. 1996-11-03 14:46:16 +00:00
Joerg Wunsch
e58aa098b4 /dev/vn0b is supposed to be a block device, so don't test(1) whether
it's a plain file.

Submitted by:	brian@awfulhak.demon.co.uk (Brian Somers)
1996-11-03 14:41:58 +00:00
Joerg Wunsch
5bb883669b Make `make release' fail if crunchgen failed. 1996-11-03 14:39:18 +00:00
Adam David
5a0722857d typo 1996-11-03 12:25:21 +00:00
Poul-Henning Kamp
50affa0e18 Set REVISION=3.0 and RELDATE=199701 1996-11-03 12:04:05 +00:00
Joerg Wunsch
ba99b43e2c `make release' was checking out the new source code into $CVSROOT
which i figure is probably not what was intended. :-)
1996-11-03 08:52:31 +00:00
David E. O'Brien
7384599321 Set tabstops to 4 in vi like in emacs. 1996-11-03 07:51:59 +00:00
John Dyson
5c2a644a47 Fix a problem with running down processes that have left wired
mappings with mlock.  This problem only occurred because of the
quick unmap code not respecting the wired-ness of pages in the
process.  In the future, we need to eliminate the dependency
intrinsic to the design of the code that wired pages actually
be mapped.  It is kind-of bogus not to have wired pages mapped,
but it is also a weakness for the code to fall flat because
of a missing page.

This show fix a problem that Tor Egge has been having, and also
should be included into 2.2-RELEASE.
1996-11-03 03:40:47 +00:00
Steve Price
16f50bdc0a Don't allow filenames specified on the commandline
to be directories.
1996-11-03 03:31:33 +00:00
Steve Price
8a87dec9bf Add a .POSIX directive. When the first non-comment
line of a Makefile contains this directive, make(1)
will enter a POSIX 1003.2 compliant mode.

Submitted by: Joerg Wunsch <joerg@freebsd.org>
1996-11-03 03:29:57 +00:00