Commit Graph

13369 Commits

Author SHA1 Message Date
gibbs
52d94c6588 aic7xxx.seq:
Fix support for the aic7850 by looking only at the relavent bits of the
    QINCNT.  The 7850 puts random garbage in the high bits and all my attempts
    to determine the cause of this failed.  This approach does seem to work
    around the problem.

    Don't trust SCSIPERR to tell us when there is a parity error.  On
    some revs of the 7870 and the 7880, this bit follows the parity of
    the current byte.  Instead of using a SEQINT to tell the kernel,
    re-enable the standard parity error interrupt since it seems to pause
    the sequencer right at the time of the error which is the effect we were
    looking for anyway.

aic7xxx_reg.h:
    Remove PARITY_ERROR seqeuncer interrupt type, its no longer used.

    Define QCOUNTMASK as the SRAM location for the mask to use on the
    QINCNT register.  QCOUNTMASK is determined by the number of SCBs
    supported by the device we're working on.

aic7xxx_asm.c
    Properly check the return value of fopen, and define the arg list
    in getopt correctly.
    Submitted by: Pete Bentley <pete@demon.net>
1996-03-31 03:02:37 +00:00
bde
9c6e00937f Fixed typo.
Reported by:	andreas@knobel.gun.de
1996-03-31 02:29:13 +00:00
jkh
42cbc103e2 Also add an id for the donors section and reference it in a strategic
place.
1996-03-30 19:46:37 +00:00
jkh
cebde05f09 Add a new donor's section to give credit to those who have donated
equipment or funding to the project.  This is still embryonic and
will no doubt grow as I track down more of our donors.
1996-03-30 19:40:28 +00:00
ache
42d182a2a9 Put signal number into logfile 1996-03-30 18:27:45 +00:00
jkh
a7b560c878 Add the jp.106 Japanese keymap to list of possibilities. I also see
a jp.106x keymap there, but Satoshi hasn't asked for it and I don't know
what it even is, so...
1996-03-30 16:19:40 +00:00
peter
2659e4abf8 Correct the handling of NOCLDSTOP when using sigvec()
Make the SA_NODEFER handling more correct, previously if you called
sigaction to set a handler and had SA_NODEFER set, and manually masked
the signal itself in sa_mask, and when you read the settings back later,
you'd find SA_NODEFER incorrectly cleared.

Pointed out by: bde
1996-03-30 15:15:30 +00:00
peter
293cac4565 Add a SV_NODEFER and SV_RESETHAND #define, after Bruce pointed out that
a program that was saving and restoring a signal via sigvec() was not
doing the complete job if either of these bits had been set via sigaction.
1996-03-30 15:10:18 +00:00
peter
f8622a8bd6 re-add the ps_signodefer. The interaction between SA_NODEFER and the
sa_mask was "non intuitive" and broke another of bde's test cases.
1996-03-30 15:08:14 +00:00
peter
72d37bed2c Because of the way that ptrace() now calls procfs routines to read/write
the process's memory, it was possible for the procfs_domem() call to
return a residual leftover, but with no errno.  Since this is no good for
ptrace which ignored the the residual, remap a leftover amount into an
errno rather than fooling the caller into thinking it was successful when
in fact it was not.

Submitted by: bde (a very long time ago :-)
1996-03-30 15:02:58 +00:00
peter
cd652cf1fa When doing a 'make depend', dont blow away the existing .depend until
the generation of a new one is complete.
1996-03-30 14:57:02 +00:00
ache
591fef2789 Add missing cons60* entries 1996-03-30 12:22:30 +00:00
wollman
b862967122 There is no need to zero out the TSC when configuring a counter,
says Mike Haertel.
1996-03-29 17:48:21 +00:00
ache
92cff4dcbb Fix UnrawModem:
restore initial (not second level) state
not call it for DEV_SYNC
issue input flush after restoring
1996-03-29 15:24:04 +00:00
bde
b80fd56bd8 Count PCI irqs in up to 4 ISAish counters named `pci irqnn' instead of
in the clk0 counter.

Reviewed by:	se
1996-03-29 15:04:14 +00:00
bde
e88d323eb2 Count PCI irqs in up to 4 ISAish counters named `pci irqnn' instead of
in the clk0 counter.

Reviewed by:	s
1996-03-29 15:01:51 +00:00
bde
f92ab04306 Renamed Proc-cache to Dir-cache for the same reasons as in vmstat.
Tweaked screen positions to match.
1996-03-29 14:48:25 +00:00
bde
b277faacff Fixed the type of sv_sendsig. The `code' arg to signal handlers is now
u_long.
1996-03-29 14:29:50 +00:00
bde
bf6fcb191e Parenthesized macros.
Fixed munged tabs.
1996-03-29 14:14:07 +00:00
bde
338e708cf9 Added necessary quotes (${CPP} might have spaces in it). Removed
unnecessary quotes.
1996-03-29 14:08:30 +00:00
bde
9d82199389 Moved the include of <sys/types.h> to before the include of <dirent.h>
so that mkisofs will compile when namespace pollution is removed from
<stdio.h>. (<dirent.h> recently became dependent on <sys/types.h>.)
1996-03-29 14:00:25 +00:00
bde
9e53680c28 Added newlines and punctuation.
Removed defunct options.  It will be easy to keep track of bogus options
by looking at CFLAGS when all real options are moved out of CFLAGS.
1996-03-29 13:51:30 +00:00
bde
af3ddac770 Removed references to nonexistent files. 1996-03-29 13:39:48 +00:00
bde
a6d3515d00 Removed never-used files. 1996-03-29 13:22:04 +00:00
bde
21c110b53c stat() before open() because opening of special files may be harmful. 1996-03-29 12:55:54 +00:00
bde
a0131ad117 Fixed reference counting related to relookup(). relookup() must
be called with the directory referenced, and this reference will
be dropped iff relookup() fails, so the value returned must not be
ignored.

Reviewed by:	davidg
1996-03-29 12:30:30 +00:00
bde
6043e95113 Fixed devfs group and permissions of some more disk devices.
Added devfs cd control device.
1996-03-29 11:57:52 +00:00
bde
b8b4cb9e81 Fixed devfs group of some more disk devices.
Added devfs lpt control device (only the standard one, not the ones that
aren't supported by MAKEDEV).

Removed some stupid comments.
1996-03-29 11:54:56 +00:00
bde
084c1ca106 Fixed group of some more disk devices.
Fixed devfs function names.
1996-03-29 11:45:12 +00:00
bde
c66296b1b0 Fixed missing quote in a devfs string. 1996-03-29 11:39:08 +00:00
fenner
fe678071c2 Eliminate panic("rtfree") caused by double-freeing the route
when rt == rt->rt_gwroute .  rt == rt->gwroute shouldn't happen
in the first place, but that's another problem.

(try "route add -host <hostonmynet> <hostonmynet>; ping <hostonmynet>;
route delete <hostonmynet>")
1996-03-29 08:02:30 +00:00
dg
bcaf3321ab Change v_usecount & v_writecount from a short to an int. As shorts they
can and will overflow on large machines - especially on machines with
filesystems with lots of files (like netnews servers), and the result
is a "free vnode isn't" panic or worse.
This fixes one of the causes of these panics that I've been experiancing on
wcarchive.
1996-03-29 06:39:39 +00:00
dg
4d625bffc5 Revert to previous calculation of vm_object_cache_max: it simply works
better in most real-world cases.
1996-03-29 06:28:48 +00:00
scrappy
6bebd36987 Fixed missing variable 'name' for DEVFS code 1996-03-29 04:35:09 +00:00
wollman
787f72eb7d This commit was generated by cvs2svn to compensate for changes in r14895,
which included commits to RCS files with non-trunk default branches.
1996-03-28 21:20:22 +00:00
wollman
808918a21b A sample program for /dev/perfmon 1996-03-28 21:20:22 +00:00
wollman
d2c78b3909 Add /usr/share/examples/perfmon. 1996-03-28 21:17:42 +00:00
wollman
4f10aa1ba0 Sync up the Pentium implementation with the documentation.
Previously, the sense of the E flag was reversed on
Pentiums.
1996-03-28 21:00:29 +00:00
wollman
a2c6be4b6d Document the change in how the START and STOP ioctls operate
(counters can be started and stopped in numerical order brather
than all at once).
1996-03-28 20:57:11 +00:00
joerg
d566ed5bd5 Add bootparams.5.
Obtained from: NetBSD
1996-03-28 20:49:31 +00:00
wollman
0c6a9cd275 >Blush<. Use the correct opcode for the WRMSR instruction. 1996-03-28 20:39:45 +00:00
wollman
0e478acfb7 Nit: according to the Harvard code, it is necessary to clear the timestamp
counter before loading the performance-monitor control register.  I'm
not sure I believe this, but we'll follow their lead for the moment.
As a result of this commit, the performance-monitoring test program that
I wrote now works (the program will find its way to share/examples).
1996-03-28 20:39:20 +00:00
wollman
a607edf559 Teach the disassembler about the 0f,3x family of instructions
(RDMSR, RDTSC, WRMSR, and RDPMC).
1996-03-28 20:35:03 +00:00
jkh
cb41a0ae0e A bug fix and a couple of new modes for the meteor driver.
Submitted-By: Jim Lowe <james@miller.cs.uwm.edu>
1996-03-28 20:28:14 +00:00
swallace
36d7c0f69e Implement ioctl's IBCS2_TCFLSH and IBCS2_TCXONC. Improve termios conversion.
Implement xenix_eaccess() system call.

Obtained from: NetBSD
1996-03-28 19:53:21 +00:00
scrappy
abe7f073d9 Back out change of log from being in /var/run to back in /dev 1996-03-28 18:29:14 +00:00
scrappy
d163509006 Fixed a Typo 1996-03-28 16:51:12 +00:00
bde
edc7662d0a Undid last revision. It duplicated part of second last revision. 1996-03-28 15:40:17 +00:00
bde
82241f73c0 Removed an unused devfs variable again.
Added $Id$.
1996-03-28 15:25:43 +00:00
bde
9c3ddb1006 Undid the last 2 commits. Rev.1.43 reversed the changes in rev.1.42 and
rev.1.44 was a subset of them.
1996-03-28 15:03:41 +00:00