Commit Graph

13990 Commits

Author SHA1 Message Date
wosch
5c15c67589 `mv'' -> `mv -f''
``rm'' -> ``rm -f''
so mv/rm may not ask for confirmation if you are not root
1996-05-07 23:19:49 +00:00
nate
db1e756357 Simplify probe. Removed the DELAY() as it's not needed. 1996-05-07 22:33:19 +00:00
nate
96b60d6540 Removed one of the un-documented CTRL pokes, and replace it with a one
second delay.  My ps/2 mouse is now found reliably on my ThinkPad (it
didn't before) and still works on my NEC Versa.

Submitted by:	Richard Wiwatowski <rjwiwat@adelaide.on.net>
1996-05-07 21:59:44 +00:00
nate
2bcbe8d562 Make sure you include <sys/devconf.h> if you have devconf code. :( 1996-05-07 21:56:46 +00:00
nate
22fb7ee05e Added code to avoid keyboard 'hangs' during the probe.
Submitted by:	Richard Wiwatowski <rjwiwat@adelaide.on.net>
1996-05-07 21:48:55 +00:00
nate
20a5d92ae7 Added Richard Wiwatowski <rjwiwat@adelaide.on.net> for his work on the
psm mouse driver.
1996-05-07 21:35:19 +00:00
nate
2b31f09e5a Added devconf() support.
Obtained from: Richard Wiwatowski <rjwiwat@adelaide.on.net>
1996-05-07 21:32:29 +00:00
nate
7ecf2bf50b Re-wrote psm_poll_status() to use the ioport supplied in the kernel
config file instead of hard-coding it in the driver.  No functional
differences.

This is based on the code Richard Wiwatowski <rjwiwat@adelaide.on.net>
sent to the mailing list.
1996-05-07 21:11:13 +00:00
wpaul
e5e6153408 phkmalloc doesn't like the call to xdr_free() in ypxfr_get_master().
Nuke it.
1996-05-07 21:08:20 +00:00
wpaul
d0214ac69f In use_yp(), call _yp_check() to make ultra, super-duper sure that NIS
is available before trying to go hunting for a domain name. This fixes
the following problem: you have +::::::::: in /etc/master.passwd but
NIS isn't running (no ypbind, no domain name set) -- passwd and chpass
will still try to change an NIS password instead of the local one.
1996-05-07 21:05:12 +00:00
wpaul
a31b8792ce Grrrr... yet another variation on Murphy's Law: the best way to find
bugs in your code is to put it in the -stable branch. (Corollary: the
day you discover the bug is the day the Internet decides to route your
telnet session to the repository box via Zimbabwe.)

Remove one bogus free(result) (from _havemaster()) that slipped by me.

Flagged by: phkmalloc
Pointed out to me by: Stefan Esser
1996-05-07 20:51:52 +00:00
nate
a0b6bdf394 Last typo fixed (network came up for a few minutes). 1996-05-07 20:39:34 +00:00
nate
48d719d649 Augh, more typos.
(I hate *Sprint*, since the network is down it's hard to test things well.)
1996-05-07 20:08:21 +00:00
nate
6d090859db Whoops, brain-o's with the previous commit. Fix up quite a few typos. 1996-05-07 19:40:47 +00:00
ache
f74bc42924 Localize time 1996-05-07 19:10:32 +00:00
ache
10fcef43af Localize time 1996-05-07 19:05:10 +00:00
nate
53d656f6d7 - KNF'ify
- Prepend PSM_ to some defines to avoid any possible name-space problems
- Use some already defined constants instead of magic #'s where appropriate.

[ No functional changes (yet) ]
1996-05-07 19:01:31 +00:00
ache
010eba80d4 Replace non-POSIX speed setting by POSIX one 1996-05-07 16:42:26 +00:00
wpaul
15d248379b Dohw! Turn on yp_mkdb in the Makefile. 1996-05-07 16:17:45 +00:00
gpalmer
72aafa3661 Add $Id$ 1996-05-07 03:16:43 +00:00
phk
e2d1770e88 Several locations in sys/netinet/ip_fw.c are lacking or incorrectly
use spl() functions.

Reviewed by:	phk
Submitted by:	Alex Nash <alex@zen.nash.org>
1996-05-06 20:31:04 +00:00
wollman
c907c2b76b Add three new route flags to help determine what sort of address
the destination represents.  For IP:

- Iff it is a host route, RTF_LOCAL and RTF_BROADCAST indicate local
  (belongs to this host) and broadcast addresses, respectively.

- For all routes, RTF_MULTICAST is set if the destination is multicast.

The RTF_BROADCAST flag is used by ip_output() to eliminate a call to
in_broadcast() in a common case; this gives about 1% in our packet-generation
experiments.  All three flags might be used (although they aren't now)
to determine whether a packet can be forwarded; a given host route can
represent a forwardable address if:

	(rt->rt_flags & (RTF_HOST | RTF_LOCAL | RTF_BROADCAST | RTF_MULTICAST))
	== RTF_HOST

Obviously, one still has to do all the work if a host route is not present,
but this code allows one to cache the results of such a lookup if rtalloc1()
is called without masking RTF_PRCLONING.
1996-05-06 17:42:13 +00:00
phk
7721f117d9 An old typo MCLBYTES/CLBYTES became more obvious bogus now.
Submitted by:		wollman
1996-05-06 17:18:12 +00:00
pst
ba2fd6d8b8 Update qcamdriver to 1.1-release distribution.
- move the cdevsw structure back up front (sigh)
- use __linux__ instead of LINUX
1996-05-06 16:47:28 +00:00
gclarkii
c226429abe We DON'T ship bash by default, why is it the default shell?
We also don't ship tcsh or ksh by default.
Correct these two things to make sh the default and increase csh and sh
to be higher priority.
1996-05-06 06:15:19 +00:00
joerg
a834c0c375 Pull a bunch of fixes from the 4.4BSD-Lite2 branch. It's really
surprising how many trivial errors there have been... :-)

Some more cleanup is needed, but i'd like to separate the Lite2 changes
from other work, that's why this goes into a different commit.

People with serial printers should see whether i have broken the stty-
style printcap options (i hope not).

Inspired by: Sergey Shkonda <serg@bcs1.bcs.zaporizhzhe.ua>
1996-05-05 22:40:51 +00:00
jkh
c2b754ad79 Bring in some changes to make the FTP installation warn you if it can't
find the requested release on a given site.
1996-05-05 21:54:23 +00:00
joerg
c6b7a3db07 Fix my botched 4.4Lite2 import, and revert these files to their HEAD
versions.
1996-05-05 19:28:34 +00:00
joerg
826aeb2d68 Finally commit the changes that make getty(8) no longer depend on the
COMPAT_43 cruft.  This is supposedly the last core utility that has
been using it!  (So now, one should be able to remove this option from
the config files.  Be aware that the last officially released xterm
however still requires it.)

The getty has been running now for several weeks on my modem line, so
i feel safe about it.

Obtained from:	mostly from the NetBSD vendor-branch
1996-05-05 19:01:13 +00:00
peter
5aad1bbf28 Avoid potential trademark conflict 1996-05-05 17:55:54 +00:00
peter
87bc074d95 Change the logic of the interrupt/poll loop. It no longer loops until
it empties all of the 256 byte incoming fifo, as it can spend more time
processing one port than intended, especially if data is streaming in
at 115.2K.  The port fifo will be emptied and dumped into the tty system
and left until next time.  I've been running this for quite some time on
one of my systems here.
Also, if the tty layer is blocked or full it lets the hardware assert the
flow control rather than loosing the data.
1996-05-05 17:35:19 +00:00
peter
12530a6f0d Change the compiled-in polling parameters to a sysctl setting. 1996-05-05 17:09:04 +00:00
joerg
4b2d5416bc This commit was generated by cvs2svn to compensate for changes in r15637,
which included commits to RCS files with non-trunk default branches.
1996-05-05 14:04:33 +00:00
joerg
5e622515e4 Vendor-branch import of the 4.4BSD-Lite2 code for lpr. There are
several bugfixes in it that are worth considering.

Don't be alarmed about the import conflicts...

Obtained from: 4.4BSD-Lite2
1996-05-05 14:04:33 +00:00
joerg
e085ed5991 uninitialized auto variable shmseg is used in ...
Closes PR #kern/1174

Submitted by:	enami@ba2.so-net.or.jp
1996-05-05 13:53:48 +00:00
peter
da187887bd Sync libc_r with libc changes.. 1996-05-05 08:22:20 +00:00
peter
386dc28448 Add support to enable libc to be compiled in ELF format. (#ifdef __ELF__)
In a nutshell, this macroizes the local/global symbol scoping rules
that are different in a.out and ELF.  It also makes the i386 assembler
stubs conform to i386 PIC calling conventions - the a.out ld.so didn't
object, but the ELF one needs it as it implements PIC jumps via PLT's as
well as calls.  The a.out rtld only worked because it was accidently
snooping the grandparent calling function's return address off the stack..

This also affects the libc_r code a little, because of cpp macro nesting.
1996-05-05 07:56:21 +00:00
peter
48bc449a97 rm the files first before uudecoding, because the modes in the begin
line doesnt permit writes by the owner.. (oops!)
1996-05-05 07:40:46 +00:00
peter
7ac26c1829 Oops, add stallion utils to i386 part of Makefile 1996-05-05 07:36:18 +00:00
pst
8ffb24ae85 Add DDB_UNATTENDED to opt_ddb.h where it belongs. 1996-05-05 02:26:57 +00:00
peter
dcb9dcd084 Add Greg Ungerer <gerg@stallion.oz.au> for his Stallion serial card driver. 1996-05-04 17:26:55 +00:00
jkh
3962b7a86b Update the comments at the top of these things to fit reality. Sup hasn't
been a package which you need to add on for awhile now. :-)  Also mention
hooks in /etc/make.conf for `make update' fans.
1996-05-04 14:08:49 +00:00
jkh
fa41bb05b0 Correct an editing bogon I introduced earlier. 1996-05-04 10:25:03 +00:00
peter
fafa40f6a3 Add /usr/libdata/stallion for holding the download firmware images.
These binary files most definately do not come under /usr/share's
"architecture independent text files" rule... even though these same
images would be used on other processors with pci architectures.
1996-05-04 09:15:11 +00:00
peter
29ba5565e1 Add $Id$ 1996-05-04 08:53:27 +00:00
peter
40f6351308 Some trivial updates to the information in here, A good deal of this
is out of date, as it deals with patching the driver into the kernel.
1996-05-04 08:51:42 +00:00
peter
fe82fe2d16 Add $Id$
Compile for FreeBSD-2.2
Fix some compile warnings about function declarations
-current's VM include files have changed lately, this needed to be updated.
Use correct major number.
1996-05-04 08:49:40 +00:00
peter
4b92b63226 Add $Id$
Compile for FreeBSD-2.2 (it compiles for 2.0.5, 2.1 and 2.2)
Use -current include file locations
Use -current pciintr calling conventions
1996-05-04 08:44:42 +00:00
peter
1cbea61424 Add $Id$ 1996-05-04 08:42:14 +00:00
peter
a8916334b8 Add stl and stli drivers for the Stallion cards. 1996-05-04 08:41:28 +00:00